Modifier and Type | Interface and Description |
---|---|
interface |
HasParentNode<T>
An object that has a parent node.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayBracketPair
Deprecated.
will be removed in 3.0
|
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 |
class |
AnnotationMemberDeclaration |
class |
BodyDeclaration<T extends Node> |
class |
ClassOrInterfaceDeclaration |
class |
ConstructorDeclaration |
class |
EmptyMemberDeclaration |
class |
EmptyTypeDeclaration |
class |
EnumConstantDeclaration |
class |
EnumDeclaration |
class |
FieldDeclaration |
class |
InitializerDeclaration |
class |
MethodDeclaration |
class |
Parameter |
class |
TypeDeclaration<T extends Node> |
class |
VariableDeclarator |
class |
VariableDeclaratorId |
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 |
EmptyImportDeclaration
Deprecated.
will be removed in 3.0
|
class |
ImportDeclaration
This class is a base class for classes representing import declarations.
|
class |
NonEmptyImportDeclaration
Common ancestor for all imports, aside EmptyImportDeclaration
|
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 |
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.