MethodVisitor (int access, String name, String descriptor, String signature, String[] exceptions) { return new MethodVisitor(api) { @Override public AnnotationVisitor visitAnnotation(String descriptor, boolean visible) { if (descriptor.equals(DIRTY_UI_SIGNATURE)) { shouldProcess[0] = true; methodsToAnnotate.add(name); } return null; } }; }