GrMethod (final PsiField field, @Nullable final GrMethod template) { PsiMethod existing = field.getContainingClass().findMethodBySignature(template, false); return existing == null || existing instanceof GrAccessorMethod ? template : null; }