public static PsiField @NotNull [] getFields(@NotNull PsiClass aClass, boolean includeSynthetic) {
    PsiField[] fields = includeSynthetic || !(aClass instanceof GrTypeDefinition)
                        ? aClass.getFields()
                        : ((GrTypeDefinition)aClass).getCodeFields();
    return filterProperties(fields);
  }
public static PsiField @NotNull [] getFields(@NotNull PsiClass aClass, boolean includeSynthetic)