Uses of Package
com.github.javaparser.ast.body
-
Classes in com.github.javaparser.ast.body used by com.github.javaparser Class Description BodyDeclaration Any declaration that can appear between the { and } of a class, interface, enum, or record.MethodDeclaration A method declaration.Parameter The parameters to a method or lambda.TypeDeclaration A base class for all types of type declarations. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast Class Description AnnotationDeclaration An annotation type declaration.@interface X { ... }
ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
EnumDeclaration The declaration of an enum.enum X { ... }
RecordDeclaration The record declarationTypeDeclaration A base class for all types of type declarations. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast.body Class Description AnnotationDeclaration An annotation type declaration.@interface X { ... }
AnnotationMemberDeclaration The "int id();" in@interface X { int id(); }
BodyDeclaration Any declaration that can appear between the { and } of a class, interface, enum, or record.CallableDeclaration Represents a declaration which is callable eg. a method or a constructor.CallableDeclaration.Signature A method or constructor signature.ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
CompactConstructorDeclaration The record declaration's constructorConstructorDeclaration A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.EnumConstantDeclaration One of the values an enum can take.EnumDeclaration The declaration of an enum.enum X { ... }
FieldDeclaration The declaration of a field in a class.InitializerDeclaration A (possibly static) initializer body.MethodDeclaration A method declaration.Parameter The parameters to a method or lambda.ReceiverParameter The receiver parameter feature of Java.RecordDeclaration The record declarationTypeDeclaration A base class for all types of type declarations.VariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast.expr Class Description BodyDeclaration Any declaration that can appear between the { and } of a class, interface, enum, or record.Parameter The parameters to a method or lambda.VariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast.nodeTypes Class Description BodyDeclaration Any declaration that can appear between the { and } of a class, interface, enum, or record.ConstructorDeclaration A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.FieldDeclaration The declaration of a field in a class.MethodDeclaration A method declaration.Parameter The parameters to a method or lambda.VariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast.stmt Class Description ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
Parameter The parameters to a method or lambda.RecordDeclaration The record declarationVariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast.validator.language_level_validations.chunks Class Description AnnotationDeclaration An annotation type declaration.@interface X { ... }
AnnotationMemberDeclaration The "int id();" in@interface X { int id(); }
ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
ConstructorDeclaration A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.EnumDeclaration The declaration of an enum.enum X { ... }
FieldDeclaration The declaration of a field in a class.MethodDeclaration A method declaration.RecordDeclaration The record declaration -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.ast.visitor Class Description AnnotationDeclaration An annotation type declaration.@interface X { ... }
AnnotationMemberDeclaration The "int id();" in@interface X { int id(); }
ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
CompactConstructorDeclaration The record declaration's constructorConstructorDeclaration A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.EnumConstantDeclaration One of the values an enum can take.EnumDeclaration The declaration of an enum.enum X { ... }
FieldDeclaration The declaration of a field in a class.InitializerDeclaration A (possibly static) initializer body.MethodDeclaration A method declaration.Parameter The parameters to a method or lambda.ReceiverParameter The receiver parameter feature of Java.RecordDeclaration The record declarationVariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.printer Class Description AnnotationDeclaration An annotation type declaration.@interface X { ... }
AnnotationMemberDeclaration The "int id();" in@interface X { int id(); }
BodyDeclaration Any declaration that can appear between the { and } of a class, interface, enum, or record.ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
CompactConstructorDeclaration The record declaration's constructorConstructorDeclaration A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.EnumConstantDeclaration One of the values an enum can take.EnumDeclaration The declaration of an enum.enum X { ... }
FieldDeclaration The declaration of a field in a class.InitializerDeclaration A (possibly static) initializer body.MethodDeclaration A method declaration.Parameter The parameters to a method or lambda.ReceiverParameter The receiver parameter feature of Java.RecordDeclaration The record declarationVariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Classes in com.github.javaparser.ast.body used by com.github.javaparser.resolution Class Description ClassOrInterfaceDeclaration A definition of a class or interface.class X { ... }
interface X { ... }
ConstructorDeclaration A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.EnumDeclaration The declaration of an enum.enum X { ... }
MethodDeclaration A method declaration.Parameter The parameters to a method or lambda.TypeDeclaration A base class for all types of type declarations.VariableDeclarator The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators.