public static boolean canBeMethodOf(@Nullable String methodName, @Nullable PsiClass aClass) {
    return methodName != null && aClass != null && aClass.findMethodsByName(methodName, true).length != 0;
  }
public static boolean canBeMethodOf(@Nullable String methodName, @Nullable PsiClass aClass)