PIM-2258 Add a step to static analysis build to check if the proper interfaces are being used