void () { for (PatternValue parameter : myParameterPatterns) { int var = myIsStatic ? 0 : 1; for (int l = 0; l < parameter.parameterIndex; l++) var += myArgTypes[l].getSize(); Label checked = new Label(); addPatternTest(parameter.patternIndex, checked, var); String message = MessageFormat.format("Argument {0} for @{1} parameter of {2}.{3} does not match pattern {4}", parameter.parameterIndex, parameter.annotation, myClassName, myMethodName, parameter.pattern); addPatternAssertion(message, false); mv.visitLabel(checked); } if (myMethodPattern != null) { myCheckReturnLabel = new Label(); } }