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 interfaceASTAnyTypeDeclarationGroups class, enum, record, annotation and interface declarations under a common supertype.interfaceASTMethodOrConstructorDeclarationGroups method and constructor declarations under a common type.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.classASTClassOrInterfaceDeclarationRepresents 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.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>ASTAnyTypeDeclaration. 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 default NodeStream<ASTBodyDeclaration>ASTAnyTypeDeclaration. getDeclarations()Retrieves the member declarations (fields, methods, classes, etc.) from the body of this type declaration.NodeStream<ASTBodyDeclaration>ASTRecordDeclaration. getDeclarations()
-