Modifier and Type | Class and Description |
---|---|
class |
ArrayCreationLevel
In
new int[1][2]; there are two ArrayCreationLevel objects,
the first one contains the expression "1",
the second the expression "2". |
class |
CompilationUnit
This class represents the entire compilation unit.
|
class |
Node
Abstract class for all nodes of the AST.
|
class |
NodeList<N extends Node>
A list of nodes.
|
class |
PackageDeclaration
This class represents the package declaration.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationDeclaration
JLS
An annotation type declaration:
@interface X { ... |
class |
AnnotationMemberDeclaration
JLS
The "int id();" in
@interface X { int id(); } |
class |
BodyDeclaration<T extends Node>
Any declaration that can appear between the { and } of a class, interface, or enum.
|
class |
ClassOrInterfaceDeclaration
JLS
A definition of a class or interface.
|
class |
ConstructorDeclaration
JLS
A constructor declaration:
class X { X() { } } where X(){} is the constructor declaration. |
class |
EmptyMemberDeclaration
Deprecated.
these ;'s should be ignored
|
class |
EnumConstantDeclaration
JLS
One of the values an enum can take.
|
class |
EnumDeclaration
JLS
The declaration of an enum.
|
class |
FieldDeclaration
JLS
The declaration of a field in a class.
|
class |
InitializerDeclaration
JLS
A (possibly static) initializer block.
|
class |
MethodDeclaration
JLS
A method declaration.
|
class |
Parameter
JLS
The parameters to a method or lambda.
|
class |
TypeDeclaration<T extends Node>
A base class for all types of type declarations.
|
class |
VariableDeclarator
JLS
The declaration of a variable.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockComment
AST node that represent block comments.
|
class |
Comment
Abstract class for all AST nodes that represent comments.
|
class |
JavadocComment |
class |
LineComment
AST node that represent line comments.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationExpr |
class |
ArrayAccessExpr |
class |
ArrayCreationExpr
new int[5][4][][] or new int[][]{{1},{2,3}} . |
class |
ArrayInitializerExpr |
class |
AssignExpr |
class |
BinaryExpr |
class |
BooleanLiteralExpr |
class |
CastExpr |
class |
CharLiteralExpr |
class |
ClassExpr
Defines an expression that accesses the class of a type.
|
class |
ConditionalExpr |
class |
DoubleLiteralExpr |
class |
EnclosedExpr |
class |
Expression |
class |
FieldAccessExpr |
class |
InstanceOfExpr |
class |
IntegerLiteralExpr |
class |
LambdaExpr
Lambda expression.
|
class |
LiteralExpr |
class |
LongLiteralExpr |
class |
MarkerAnnotationExpr |
class |
MemberValuePair |
class |
MethodCallExpr |
class |
MethodReferenceExpr
Method reference expressions introduced in Java 8 specifically designed to simplify lambda Expressions.
|
class |
Name
A name that may consist of multiple identifiers.
|
class |
NameExpr |
class |
NormalAnnotationExpr |
class |
NullLiteralExpr |
class |
ObjectCreationExpr
Defines constructor call expression.
|
class |
SimpleName
A name that consists of a single identifier.
|
class |
SingleMemberAnnotationExpr |
class |
StringLiteralExpr
Java® Language Specification 3.10.5 String Literals
|
class |
SuperExpr |
class |
ThisExpr |
class |
TypeExpr
This class is just instantiated as scopes for MethodReferenceExpr nodes to encapsulate Types.
|
class |
UnaryExpr |
class |
VariableDeclarationExpr |
Modifier and Type | Class and Description |
---|---|
class |
BadImportDeclaration
An import declaration that failed to parse.
|
class |
ImportDeclaration
This class is a base class for classes representing import declarations.
|
class |
SingleStaticImportDeclaration
Example:
import static com.github.javaparser.JavaParser.parse; In the example,
"com.github.javaparser.JavaParser" is the type, and "parse" is the staticMember. |
class |
SingleTypeImportDeclaration
Example:
import com.github.javaparser.JavaParser; |
class |
StaticImportOnDemandDeclaration
Example:
import static com.github.javaparser.JavaParser.*; |
class |
TypeImportOnDemandDeclaration
Examples:
import com.github.javaparser.*; import com.github.javaparser.JavaParser.*; Since a parser
cannot differentiate between a type name and a package name, we can only store a Name. |
Modifier and Type | Class and Description |
---|---|
class |
AssertStmt |
class |
BlockStmt |
class |
BreakStmt |
class |
CatchClause |
class |
ContinueStmt |
class |
DoStmt |
class |
EmptyStmt
Deprecated.
these ;'s should be ignored
|
class |
ExplicitConstructorInvocationStmt |
class |
ExpressionStmt |
class |
ForeachStmt |
class |
ForStmt |
class |
IfStmt |
class |
LabeledStmt |
class |
ReturnStmt |
class |
Statement |
class |
SwitchEntryStmt |
class |
SwitchStmt |
class |
SynchronizedStmt |
class |
ThrowStmt |
class |
TryStmt |
class |
TypeDeclarationStmt |
class |
WhileStmt |
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 |
class |
IntersectionType
Represents a set of types.
|
class |
PrimitiveType |
class |
ReferenceType<T extends ReferenceType> |
class |
Type<T extends Type> |
class |
TypeParameter
This class represents the declaration of a generics argument.
|
class |
UnionType
Represents a set of types.
|
class |
UnknownType
An unknown parameter type object.
|
class |
VoidType |
class |
WildcardType |
Copyright © 2007–2016. All rights reserved.