@NotNull
  public static Collection<? extends PsiMethod> expandReflectedMethods(@NotNull PsiMethod method) {
    if (method instanceof GrMethod) {
      GrReflectedMethod[] methods = ((GrMethod)method).getReflectedMethods();
      if (methods.length > 0) {
        return new SmartList<>(methods);
      }
    }
    return Collections.singletonList(method);
  }
@NotNull
  public static Collection<? extends PsiMethod> expandReflectedMethods(@NotNull PsiMethod method)