Uses of Interface
net.sourceforge.pmd.lang.java.ast.ASTBodyDeclaration
-
Packages that use ASTBodyDeclaration Package Description net.sourceforge.pmd.lang.java.ast Contains the classes and interfaces modelling the Java AST. -
-
Uses of ASTBodyDeclaration in net.sourceforge.pmd.lang.java.ast
Subinterfaces of ASTBodyDeclaration in net.sourceforge.pmd.lang.java.ast Modifier and Type Interface Description interfaceASTExecutableDeclarationGroups method and constructor declarations under a common type.interfaceASTTypeDeclarationGroups class, enum, record, annotation and interface declarations under a common supertype.Classes in net.sourceforge.pmd.lang.java.ast that implement ASTBodyDeclaration Modifier and Type Class Description classASTAnnotationTypeDeclarationThe declaration of an annotation type.classASTAnonymousClassDeclarationAn anonymous class declaration.classASTClassDeclarationRepresents class and interface declarations.classASTCompactConstructorDeclarationThis defines a compact constructor for a RecordDeclaration (JDK 16 feature).classASTConstructorDeclarationclassASTEmptyDeclarationAn empty declaration (useless).classASTEnumConstantRepresents an enum constant declaration within an enum type declaration.classASTEnumDeclarationRepresents an enum declaration.classASTFieldDeclarationRepresents a field declaration in the body of a type declaration.classASTImplicitClassDeclarationImplicitClassDeclaration ::= ClassBody ClassBody ::= FieldDeclaration* MethodDeclaration BodyDeclaration*classASTInitializerA class or instance initializer.classASTMethodDeclarationA method declaration, in a class or interface declaration.classASTRecordDeclarationA record declaration is a special data class type (JDK 16 feature).Methods in net.sourceforge.pmd.lang.java.ast with type parameters of type ASTBodyDeclaration Modifier and Type Method Description default <T extends ASTBodyDeclaration>
NodeStream<T>ASTTypeDeclaration. getDeclarations(Class<? extends T> klass)Returns the declarations of a particular type.Methods in net.sourceforge.pmd.lang.java.ast that return types with arguments of type ASTBodyDeclaration Modifier and Type Method Description NodeStream<ASTBodyDeclaration>ASTRecordDeclaration. getDeclarations()default NodeStream<ASTBodyDeclaration>ASTTypeDeclaration. getDeclarations()Retrieves the member declarations (fields, methods, classes, etc.) from the body of this type declaration.
-