Modifier and Type | Class | 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 |
PackageDeclaration |
A package declaration.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AnnotationDeclaration |
An annotation type declaration.
@interface X { ... |
class |
AnnotationMemberDeclaration |
The "int id();" in
@interface X { int id(); } |
class |
BodyDeclaration<T extends BodyDeclaration<?>> |
Any declaration that can appear between the { and } of a class, interface, or enum.
|
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 |
FieldDeclaration |
The declaration of a field in a class.
|
class |
InitializerDeclaration |
A (possibly static) initializer body.
|
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Name |
A name that may consist of multiple identifiers.
|
class |
VariableDeclarationExpr |
A declaration of variables.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ModuleDeclaration |
A Java 9 Jigsaw module declaration.
|
Modifier and Type | Class | 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 |
TypeParameter |
A type parameter.
|
class |
UnionType |
Represents a set of types.
|
class |
VoidType |
The return type of a
MethodDeclaration
when it returns void. |
class |
WildcardType |
A wildcard type argument.
|
Modifier and Type | Method | Description |
---|---|---|
protected <T extends Node & NodeWithAnnotations<T>> |
Generator.annotateGenerated(T node) |
|
protected <T extends Node & NodeWithAnnotations<T>> |
Generator.annotateSuppressWarnings(T node) |
Copyright © 2007–2019. All rights reserved.