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 interface
ASTExecutableDeclaration
Groups method and constructor declarations under a common type.interface
ASTTypeDeclaration
Groups 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 class
ASTAnnotationTypeDeclaration
The declaration of an annotation type.class
ASTAnonymousClassDeclaration
An anonymous class declaration.class
ASTClassDeclaration
Represents class and interface declarations.class
ASTCompactConstructorDeclaration
This defines a compact constructor for a RecordDeclaration (JDK 16 feature).class
ASTConstructorDeclaration
class
ASTEmptyDeclaration
An empty declaration (useless).class
ASTEnumConstant
Represents an enum constant declaration within an enum type declaration.class
ASTEnumDeclaration
Represents an enum declaration.class
ASTFieldDeclaration
Represents a field declaration in the body of a type declaration.class
ASTImplicitClassDeclaration
ImplicitClassDeclaration ::= ClassBody ClassBody ::= FieldDeclaration* MethodDeclaration BodyDeclaration*class
ASTInitializer
A class or instance initializer.class
ASTMethodDeclaration
A method declaration, in a class or interface declaration.class
ASTRecordDeclaration
A 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.
-