boolean (ChangeInfo changeInfo) { if (!(changeInfo instanceof JavaChangeInfo info)) return false; PsiMethod method = info.getMethod(); if (!(method instanceof GrMethod)) return false; if (info.isGenerateDelegate()) { return generateDelegate(info); } return processPrimaryMethodInner(info, ((GrMethod)method), null); }