Package | Description |
---|---|
com.github.javaparser.ast.body | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.stmt | |
com.github.javaparser.ast.type |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationDeclaration
An annotation type declaration.
@interface X { ... |
class |
AnnotationMemberDeclaration
The "int id();" in
@interface X { int id(); } |
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 |
FieldDeclaration
The declaration of a field in a class.
|
class |
MethodDeclaration
A method declaration.
|
class |
Parameter
The parameters to a method or lambda.
|
class |
VariableDeclarator
The declaration of a variable.
In int x = 14, y = 3; "int x = 14" and "int y = 3" are
VariableDeclarators. |
Modifier and Type | Class and Description |
---|---|
class |
FieldAccessExpr
Access of a field of an object.
|
class |
MethodCallExpr
A method call on an object.
|
class |
NameExpr
Whenever a SimpleName is used in an expression, it is wrapped in NameExpr.
|
class |
ObjectCreationExpr
A constructor call.
|
class |
ThisExpr
An occurrence of the "this" keyword.
|
Modifier and Type | Class and Description |
---|---|
class |
ExplicitConstructorInvocationStmt
A call to super or this in a constructor or initializer.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayType
To indicate that a type is an array, it gets wrapped in an ArrayType for every array level it has.
|
class |
ClassOrInterfaceType
A class or an interface type.
|
class |
IntersectionType
Represents a set of types.
|
class |
PrimitiveType
A primitive type.
|
class |
ReferenceType
Base class for reference types.
|
class |
Type
Base class for types.
|
class |
TypeParameter
A type parameter.
|
class |
UnionType
The union type
|
class |
UnknownType
An unknown parameter type object.
|
class |
VarType
A type called "var" waiting for Java to infer it.
|
class |
VoidType
The return type of a
MethodDeclaration
when it returns void. |
class |
WildcardType
A wildcard type argument.
|
Copyright © 2007–2018. All rights reserved.