static method protectsInstruction() extracted from BaseMethodAnalyser to
new class MethodHelper.