public static boolean isFieldDeclaration(@NotNull GrVariableDeclaration declaration) {
    return declaration.getParent() instanceof GrTypeDefinitionBody || isScriptFieldDeclaration(declaration);
  }
public static boolean isFieldDeclaration(@NotNull GrVariableDeclaration declaration)