Package | Description |
---|---|
com.github.javaparser.ast.body | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.type |
Modifier and Type | Class | Description |
---|---|---|
class |
AnnotationDeclaration |
An annotation type declaration.
@interface X { ... |
class |
AnnotationMemberDeclaration |
The "int id();" in
@interface X { int id(); } |
class |
CallableDeclaration<T extends CallableDeclaration<?>> |
Represents a declaration which is callable eg.
|
class |
ClassOrInterfaceDeclaration |
A definition of a class or interface.
class X { ... |
class |
ConstructorDeclaration |
A constructor declaration:
class X { X() { } } where X(){} is the constructor declaration. |
class |
EnumConstantDeclaration |
One of the values an enum can take.
|
class |
EnumDeclaration |
The declaration of an enum.
enum X { ... |
class |
MethodDeclaration |
A method declaration.
|
class |
Parameter |
The parameters to a method or lambda.
|
class |
TypeDeclaration<T extends TypeDeclaration<?>> |
A base class for all types of type declarations.
|
class |
VariableDeclarator |
The declaration of a variable.
In int x = 14, y = 3; "x = 14" and " y = 3" are
VariableDeclarators. |
Modifier and Type | Class | Description |
---|---|---|
class |
FieldAccessExpr |
Access of a field of an object.
|
class |
MemberValuePair |
A value for a member of an annotation.
|
class |
MethodCallExpr |
A method call on an object.
|
class |
NameExpr |
Whenever a SimpleName is used in an expression, it is wrapped in NameExpr.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ClassOrInterfaceType |
A class or an interface type.
|
class |
TypeParameter |
A type parameter.
|
Copyright © 2007–2019. All rights reserved.