MethodVisitor (int access, String name, String desc, String signature, String[] exceptions) { if ((access & Opcodes.ACC_SYNTHETIC) == 0) { Member method = new Member(reader.getClassName(), name, desc); PsiMethod[] psiMethods = "<init>".equals(name) ? psiClass.getConstructors() : psiClass.findMethodsByName(name, false); assertEquals("Must be single method: " + name, 1, psiMethods.length); PsiMethod psiMethod = psiMethods[0]; boolean noKey = psiMethod.hasAnnotation(EXPECT_NO_PSI_KEY); checkCompoundId(method, psiMethod, noKey); } return null; }