Modifier and Type | Method and Description |
---|---|
NodeList<N> |
NodeList.addAfter(N node,
N afterThisNode)
Inserts the node after afterThisNode.
|
NodeList<N> |
NodeList.addBefore(N node,
N beforeThisNode)
Inserts the node before beforeThisNode.
|
NodeList<N> |
NodeList.addFirst(N node)
Inserts the node before all other nodes.
|
NodeList<N> |
NodeList.addLast(N node)
Inserts the node after all other nodes.
|
static NodeList<Modifier> |
Modifier.createModifierList(Modifier.Keyword... modifiers)
Utility method that instantiaties "Modifier"s for the keywords,
and puts them in a NodeList.
|
NodeList<AnnotationExpr> |
ArrayCreationLevel.getAnnotations() |
NodeList<AnnotationExpr> |
PackageDeclaration.getAnnotations()
Retrieves the list of annotations declared before the package
declaration.
|
NodeList<ImportDeclaration> |
CompilationUnit.getImports()
Retrieves the list of imports declared in this compilation unit or
null if there is no import. |
NodeList<TypeDeclaration<?>> |
CompilationUnit.getTypes()
Return the list of top level types declared in this compilation unit.
If there are no types declared, none is returned. |
static <X extends Node> |
NodeList.nodeList(Collection<X> nodes) |
static <X extends Node> |
NodeList.nodeList(NodeList<X> nodes) |
static <X extends Node> |
NodeList.nodeList(X... nodes) |
NodeList<N> |
NodeList.setParentNode(Node parentNode)
Sets the parentNode
|
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
NodeList.toNodeList() |
static <T extends Node> |
NodeList.toNodeList() |
Modifier and Type | Method and Description |
---|---|
void |
NodeList.addAll(NodeList<N> otherList) |
static <X extends Node> |
NodeList.nodeList(NodeList<X> nodes) |
ArrayCreationLevel |
ArrayCreationLevel.setAnnotations(NodeList<AnnotationExpr> annotations) |
PackageDeclaration |
PackageDeclaration.setAnnotations(NodeList<AnnotationExpr> annotations) |
protected void |
Node.setAsParentNodeOf(NodeList<? extends Node> list) |
CompilationUnit |
CompilationUnit.setImports(NodeList<ImportDeclaration> imports)
Sets the list of imports of this compilation unit.
|
CompilationUnit |
CompilationUnit.setTypes(NodeList<TypeDeclaration<?>> types)
Sets the list of types declared in this compilation unit.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeList.ifNonEmpty(Consumer<? super NodeList<N>> consumer) |
Constructor and Description |
---|
ArrayCreationLevel(Expression dimension,
NodeList<AnnotationExpr> annotations) |
ArrayCreationLevel(TokenRange tokenRange,
Expression dimension,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
CompilationUnit(PackageDeclaration packageDeclaration,
NodeList<ImportDeclaration> imports,
NodeList<TypeDeclaration<?>> types,
ModuleDeclaration module) |
CompilationUnit(PackageDeclaration packageDeclaration,
NodeList<ImportDeclaration> imports,
NodeList<TypeDeclaration<?>> types,
ModuleDeclaration module) |
CompilationUnit(TokenRange tokenRange,
PackageDeclaration packageDeclaration,
NodeList<ImportDeclaration> imports,
NodeList<TypeDeclaration<?>> types,
ModuleDeclaration module)
This constructor is used by the parser and is considered private.
|
CompilationUnit(TokenRange tokenRange,
PackageDeclaration packageDeclaration,
NodeList<ImportDeclaration> imports,
NodeList<TypeDeclaration<?>> types,
ModuleDeclaration module)
This constructor is used by the parser and is considered private.
|
PackageDeclaration(NodeList<AnnotationExpr> annotations,
Name name) |
PackageDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Name name)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
NodeList<AnnotationExpr> |
BodyDeclaration.getAnnotations() |
NodeList<AnnotationExpr> |
Parameter.getAnnotations() |
NodeList<AnnotationExpr> |
ReceiverParameter.getAnnotations() |
NodeList<Expression> |
EnumConstantDeclaration.getArguments() |
NodeList<BodyDeclaration<?>> |
EnumConstantDeclaration.getClassBody() |
NodeList<EnumConstantDeclaration> |
EnumDeclaration.getEntries() |
NodeList<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getExtendedTypes() |
NodeList<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getImplementedTypes() |
NodeList<ClassOrInterfaceType> |
EnumDeclaration.getImplementedTypes() |
NodeList<BodyDeclaration<?>> |
TypeDeclaration.getMembers() |
NodeList<Modifier> |
AnnotationMemberDeclaration.getModifiers()
Return the modifiers of this member declaration.
|
NodeList<Modifier> |
CallableDeclaration.getModifiers()
Return the modifiers of this member declaration.
|
NodeList<Modifier> |
Parameter.getModifiers()
Return the modifiers of this parameter declaration.
|
NodeList<Modifier> |
TypeDeclaration.getModifiers()
Return the modifiers of this type declaration.
|
NodeList<Modifier> |
FieldDeclaration.getModifiers()
Return the modifiers of this member declaration.
|
NodeList<Parameter> |
CallableDeclaration.getParameters() |
NodeList<ReferenceType> |
CallableDeclaration.getThrownExceptions() |
NodeList<TypeParameter> |
ClassOrInterfaceDeclaration.getTypeParameters() |
NodeList<TypeParameter> |
CallableDeclaration.getTypeParameters() |
NodeList<AnnotationExpr> |
Parameter.getVarArgsAnnotations() |
NodeList<VariableDeclarator> |
FieldDeclaration.getVariables() |
Modifier and Type | Method and Description |
---|---|
NodeList<AnnotationExpr> |
VariableDeclarationExpr.getAnnotations() |
NodeList<Expression> |
ObjectCreationExpr.getArguments() |
NodeList<Expression> |
MethodCallExpr.getArguments() |
NodeList<SwitchEntry> |
SwitchExpr.getEntries() |
NodeList<ArrayCreationLevel> |
ArrayCreationExpr.getLevels() |
NodeList<Modifier> |
VariableDeclarationExpr.getModifiers()
Return the modifiers of this variable declaration.
|
NodeList<MemberValuePair> |
NormalAnnotationExpr.getPairs() |
NodeList<Parameter> |
LambdaExpr.getParameters() |
NodeList<Expression> |
ArrayInitializerExpr.getValues() |
NodeList<VariableDeclarator> |
VariableDeclarationExpr.getVariables() |
Modifier and Type | Method and Description |
---|---|
Optional<NodeList<BodyDeclaration<?>>> |
ObjectCreationExpr.getAnonymousClassBody() |
Optional<NodeList<Type>> |
ObjectCreationExpr.getTypeArguments() |
Optional<NodeList<Type>> |
MethodCallExpr.getTypeArguments() |
Optional<NodeList<Type>> |
FieldAccessExpr.getTypeArguments() |
Optional<NodeList<Type>> |
MethodReferenceExpr.getTypeArguments() |
Modifier and Type | Method and Description |
---|---|
VariableDeclarationExpr |
VariableDeclarationExpr.setAnnotations(NodeList<AnnotationExpr> annotations) |
ObjectCreationExpr |
ObjectCreationExpr.setAnonymousClassBody(NodeList<BodyDeclaration<?>> anonymousClassBody)
Sets the anonymousClassBody
Null means no class body Empty NodeList means new ClassName(){ } |
ObjectCreationExpr |
ObjectCreationExpr.setArguments(NodeList<Expression> arguments) |
MethodCallExpr |
MethodCallExpr.setArguments(NodeList<Expression> arguments) |
SwitchExpr |
SwitchExpr.setEntries(NodeList<SwitchEntry> entries) |
ArrayCreationExpr |
ArrayCreationExpr.setLevels(NodeList<ArrayCreationLevel> levels) |
VariableDeclarationExpr |
VariableDeclarationExpr.setModifiers(NodeList<Modifier> modifiers) |
NormalAnnotationExpr |
NormalAnnotationExpr.setPairs(NodeList<MemberValuePair> pairs) |
LambdaExpr |
LambdaExpr.setParameters(NodeList<Parameter> parameters) |
ObjectCreationExpr |
ObjectCreationExpr.setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArguments
|
MethodCallExpr |
MethodCallExpr.setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArguments
|
FieldAccessExpr |
FieldAccessExpr.setTypeArguments(NodeList<Type> typeArguments)
Sets the type arguments
|
MethodReferenceExpr |
MethodReferenceExpr.setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArguments
|
ArrayInitializerExpr |
ArrayInitializerExpr.setValues(NodeList<Expression> values) |
VariableDeclarationExpr |
VariableDeclarationExpr.setVariables(NodeList<VariableDeclarator> variables) |
Constructor and Description |
---|
ArrayCreationExpr(TokenRange tokenRange,
Type elementType,
NodeList<ArrayCreationLevel> levels,
ArrayInitializerExpr initializer)
This constructor is used by the parser and is considered private.
|
ArrayCreationExpr(Type elementType,
NodeList<ArrayCreationLevel> levels,
ArrayInitializerExpr initializer) |
ArrayInitializerExpr(NodeList<Expression> values) |
ArrayInitializerExpr(TokenRange tokenRange,
NodeList<Expression> values)
This constructor is used by the parser and is considered private.
|
FieldAccessExpr(Expression scope,
NodeList<Type> typeArguments,
SimpleName name) |
FieldAccessExpr(TokenRange tokenRange,
Expression scope,
NodeList<Type> typeArguments,
SimpleName name)
This constructor is used by the parser and is considered private.
|
LambdaExpr(NodeList<Parameter> parameters,
BlockStmt body)
Creates a zero or multi-parameter lambda expression with its parameters wrapped in ( ).
|
LambdaExpr(NodeList<Parameter> parameters,
Expression body)
Creates a zero or multi-parameter lambda expression with its parameters wrapped in ( ).
|
LambdaExpr(NodeList<Parameter> parameters,
Statement body,
boolean isEnclosingParameters) |
LambdaExpr(TokenRange tokenRange,
NodeList<Parameter> parameters,
Statement body,
boolean isEnclosingParameters)
This constructor is used by the parser and is considered private.
|
MethodCallExpr(Expression scope,
NodeList<Type> typeArguments,
SimpleName name,
NodeList<Expression> arguments) |
MethodCallExpr(Expression scope,
NodeList<Type> typeArguments,
SimpleName name,
NodeList<Expression> arguments) |
MethodCallExpr(Expression scope,
NodeList<Type> typeArguments,
String name,
NodeList<Expression> arguments) |
MethodCallExpr(Expression scope,
NodeList<Type> typeArguments,
String name,
NodeList<Expression> arguments) |
MethodCallExpr(Expression scope,
SimpleName name,
NodeList<Expression> arguments) |
MethodCallExpr(Expression scope,
String name,
NodeList<Expression> arguments) |
MethodCallExpr(TokenRange tokenRange,
Expression scope,
NodeList<Type> typeArguments,
SimpleName name,
NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.
|
MethodCallExpr(TokenRange tokenRange,
Expression scope,
NodeList<Type> typeArguments,
SimpleName name,
NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.
|
MethodReferenceExpr(Expression scope,
NodeList<Type> typeArguments,
String identifier) |
MethodReferenceExpr(TokenRange tokenRange,
Expression scope,
NodeList<Type> typeArguments,
String identifier)
This constructor is used by the parser and is considered private.
|
NormalAnnotationExpr(Name name,
NodeList<MemberValuePair> pairs) |
NormalAnnotationExpr(TokenRange tokenRange,
Name name,
NodeList<MemberValuePair> pairs)
This constructor is used by the parser and is considered private.
|
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
NodeList<Expression> arguments)
Defines a call to a constructor.
|
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody) |
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody) |
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody) |
ObjectCreationExpr(TokenRange tokenRange,
Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody)
This constructor is used by the parser and is considered private.
|
ObjectCreationExpr(TokenRange tokenRange,
Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody)
This constructor is used by the parser and is considered private.
|
ObjectCreationExpr(TokenRange tokenRange,
Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody)
This constructor is used by the parser and is considered private.
|
SwitchExpr(Expression selector,
NodeList<SwitchEntry> entries) |
SwitchExpr(TokenRange tokenRange,
Expression selector,
NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private.
|
VariableDeclarationExpr(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(NodeList<Modifier> modifiers,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(NodeList<Modifier> modifiers,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
VariableDeclarationExpr(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
VariableDeclarationExpr(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
NodeList<AnnotationExpr> |
ModuleDeclaration.getAnnotations() |
NodeList<ModuleDirective> |
ModuleDeclaration.getDirectives() |
NodeList<Modifier> |
ModuleRequiresDirective.getModifiers() |
NodeList<Name> |
ModuleExportsDirective.getModuleNames() |
NodeList<Name> |
ModuleOpensDirective.getModuleNames() |
NodeList<Name> |
ModuleProvidesDirective.getWith() |
Modifier and Type | Method and Description |
---|---|
ModuleDeclaration |
ModuleDeclaration.setAnnotations(NodeList<AnnotationExpr> annotations) |
ModuleDeclaration |
ModuleDeclaration.setDirectives(NodeList<ModuleDirective> directives) |
ModuleRequiresDirective |
ModuleRequiresDirective.setModifiers(NodeList<Modifier> modifiers) |
ModuleExportsDirective |
ModuleExportsDirective.setModuleNames(NodeList<Name> moduleNames) |
ModuleOpensDirective |
ModuleOpensDirective.setModuleNames(NodeList<Name> moduleNames) |
ModuleProvidesDirective |
ModuleProvidesDirective.setWith(NodeList<Name> with) |
Constructor and Description |
---|
ModuleDeclaration(NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives) |
ModuleDeclaration(NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives) |
ModuleDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives)
This constructor is used by the parser and is considered private.
|
ModuleDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives)
This constructor is used by the parser and is considered private.
|
ModuleExportsDirective(Name name,
NodeList<Name> moduleNames) |
ModuleExportsDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleOpensDirective(Name name,
NodeList<Name> moduleNames) |
ModuleOpensDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleProvidesDirective(Name name,
NodeList<Name> with) |
ModuleProvidesDirective(TokenRange tokenRange,
Name name,
NodeList<Name> with)
This constructor is used by the parser and is considered private.
|
ModuleRequiresDirective(NodeList<Modifier> modifiers,
Name name) |
ModuleRequiresDirective(TokenRange tokenRange,
NodeList<Modifier> modifiers,
Name name)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
NodeList<AnnotationExpr> |
NodeWithAnnotations.getAnnotations() |
NodeList<Expression> |
NodeWithArguments.getArguments() |
NodeList<SwitchEntry> |
SwitchNode.getEntries() |
NodeList<ClassOrInterfaceType> |
NodeWithExtends.getExtendedTypes() |
NodeList<ClassOrInterfaceType> |
NodeWithImplements.getImplementedTypes() |
NodeList<BodyDeclaration<?>> |
NodeWithMembers.getMembers() |
NodeList<Modifier> |
NodeWithModifiers.getModifiers()
Return the modifiers of this variable declaration.
|
NodeList<Parameter> |
NodeWithParameters.getParameters() |
NodeList<Statement> |
NodeWithStatements.getStatements() |
NodeList<ReferenceType> |
NodeWithThrownExceptions.getThrownExceptions() |
NodeList<TypeParameter> |
NodeWithTypeParameters.getTypeParameters() |
NodeList<VariableDeclarator> |
NodeWithVariables.getVariables() |
Modifier and Type | Method and Description |
---|---|
Optional<NodeList<Type>> |
NodeWithTypeArguments.getTypeArguments() |
Modifier and Type | Method and Description |
---|---|
default N |
NodeWithStatements.copyStatements(NodeList<Statement> nodeList) |
N |
NodeWithAnnotations.setAnnotations(NodeList<AnnotationExpr> annotations) |
N |
NodeWithArguments.setArguments(NodeList<Expression> arguments) |
SwitchNode |
SwitchNode.setEntries(NodeList<SwitchEntry> entries) |
N |
NodeWithExtends.setExtendedTypes(NodeList<ClassOrInterfaceType> extendsList) |
N |
NodeWithImplements.setImplementedTypes(NodeList<ClassOrInterfaceType> implementsList) |
N |
NodeWithMembers.setMembers(NodeList<BodyDeclaration<?>> members) |
N |
NodeWithModifiers.setModifiers(NodeList<Modifier> modifiers) |
N |
NodeWithParameters.setParameters(NodeList<Parameter> parameters) |
N |
NodeWithStatements.setStatements(NodeList<Statement> statements) |
N |
NodeWithThrownExceptions.setThrownExceptions(NodeList<ReferenceType> thrownExceptions) |
N |
NodeWithTypeArguments.setTypeArguments(NodeList<Type> typeArguments)
Allows you to set the generic arguments
|
N |
NodeWithTypeParameters.setTypeParameters(NodeList<TypeParameter> typeParameters) |
N |
NodeWithVariables.setVariables(NodeList<VariableDeclarator> variables) |
Modifier and Type | Method and Description |
---|---|
NodeList<? extends Node> |
ObservableProperty.getValueAsMultipleReference(Node node) |
Modifier and Type | Method and Description |
---|---|
void |
PropagatingAstObserver.concreteListChange(NodeList observedNode,
AstObserver.ListChangeType type,
int index,
Node nodeAddedOrRemoved) |
void |
PropagatingAstObserver.concreteListReplacement(NodeList observedNode,
int index,
Node oldValue,
Node newValue) |
void |
AstObserver.listChange(NodeList observedNode,
AstObserver.ListChangeType type,
int index,
Node nodeAddedOrRemoved)
A list is changed
|
void |
AstObserverAdapter.listChange(NodeList observedNode,
AstObserver.ListChangeType type,
int index,
Node nodeAddedOrRemoved) |
void |
PropagatingAstObserver.listChange(NodeList observedNode,
AstObserver.ListChangeType type,
int index,
Node nodeAddedOrRemoved) |
void |
AstObserver.listReplacement(NodeList observedNode,
int index,
Node oldNode,
Node newNode) |
void |
AstObserverAdapter.listReplacement(NodeList observedNode,
int index,
Node oldNode,
Node newNode) |
void |
PropagatingAstObserver.listReplacement(NodeList observedNode,
int index,
Node oldNode,
Node newNode) |
Modifier and Type | Method and Description |
---|---|
NodeList<Expression> |
ExplicitConstructorInvocationStmt.getArguments() |
NodeList<CatchClause> |
TryStmt.getCatchClauses() |
NodeList<SwitchEntry> |
SwitchStmt.getEntries() |
NodeList<Expression> |
ForStmt.getInitialization() |
NodeList<Expression> |
SwitchEntry.getLabels() |
NodeList<Expression> |
TryStmt.getResources() |
NodeList<Statement> |
BlockStmt.getStatements() |
NodeList<Statement> |
SwitchEntry.getStatements() |
NodeList<Expression> |
ForStmt.getUpdate() |
Modifier and Type | Method and Description |
---|---|
Optional<NodeList<Type>> |
ExplicitConstructorInvocationStmt.getTypeArguments() |
Modifier and Type | Method and Description |
---|---|
ExplicitConstructorInvocationStmt |
ExplicitConstructorInvocationStmt.setArguments(NodeList<Expression> arguments) |
TryStmt |
TryStmt.setCatchClauses(NodeList<CatchClause> catchClauses) |
SwitchStmt |
SwitchStmt.setEntries(NodeList<SwitchEntry> entries) |
ForStmt |
ForStmt.setInitialization(NodeList<Expression> initialization) |
SwitchEntry |
SwitchEntry.setLabels(NodeList<Expression> labels)
Sets the label
|
TryStmt |
TryStmt.setResources(NodeList<Expression> resources) |
BlockStmt |
BlockStmt.setStatements(NodeList<Statement> statements) |
SwitchEntry |
SwitchEntry.setStatements(NodeList<Statement> statements) |
ExplicitConstructorInvocationStmt |
ExplicitConstructorInvocationStmt.setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArguments
|
ForStmt |
ForStmt.setUpdate(NodeList<Expression> update) |
Constructor and Description |
---|
BlockStmt(NodeList<Statement> statements) |
BlockStmt(TokenRange tokenRange,
NodeList<Statement> statements)
This constructor is used by the parser and is considered private.
|
CatchClause(NodeList<Modifier> exceptModifier,
NodeList<AnnotationExpr> exceptAnnotations,
ClassOrInterfaceType exceptType,
SimpleName exceptName,
BlockStmt body) |
CatchClause(NodeList<Modifier> exceptModifier,
NodeList<AnnotationExpr> exceptAnnotations,
ClassOrInterfaceType exceptType,
SimpleName exceptName,
BlockStmt body) |
ExplicitConstructorInvocationStmt(boolean isThis,
Expression expression,
NodeList<Expression> arguments) |
ExplicitConstructorInvocationStmt(NodeList<Type> typeArguments,
boolean isThis,
Expression expression,
NodeList<Expression> arguments) |
ExplicitConstructorInvocationStmt(NodeList<Type> typeArguments,
boolean isThis,
Expression expression,
NodeList<Expression> arguments) |
ExplicitConstructorInvocationStmt(TokenRange tokenRange,
NodeList<Type> typeArguments,
boolean isThis,
Expression expression,
NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.
|
ExplicitConstructorInvocationStmt(TokenRange tokenRange,
NodeList<Type> typeArguments,
boolean isThis,
Expression expression,
NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.
|
ForStmt(NodeList<Expression> initialization,
Expression compare,
NodeList<Expression> update,
Statement body) |
ForStmt(NodeList<Expression> initialization,
Expression compare,
NodeList<Expression> update,
Statement body) |
ForStmt(TokenRange tokenRange,
NodeList<Expression> initialization,
Expression compare,
NodeList<Expression> update,
Statement body)
This constructor is used by the parser and is considered private.
|
ForStmt(TokenRange tokenRange,
NodeList<Expression> initialization,
Expression compare,
NodeList<Expression> update,
Statement body)
This constructor is used by the parser and is considered private.
|
SwitchEntry(NodeList<Expression> labels,
SwitchEntry.Type type,
NodeList<Statement> statements) |
SwitchEntry(NodeList<Expression> labels,
SwitchEntry.Type type,
NodeList<Statement> statements) |
SwitchEntry(TokenRange tokenRange,
NodeList<Expression> labels,
SwitchEntry.Type type,
NodeList<Statement> statements)
This constructor is used by the parser and is considered private.
|
SwitchEntry(TokenRange tokenRange,
NodeList<Expression> labels,
SwitchEntry.Type type,
NodeList<Statement> statements)
This constructor is used by the parser and is considered private.
|
SwitchStmt(Expression selector,
NodeList<SwitchEntry> entries) |
SwitchStmt(TokenRange tokenRange,
Expression selector,
NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private.
|
TryStmt(BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
TryStmt(NodeList<Expression> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
TryStmt(NodeList<Expression> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
TryStmt(TokenRange tokenRange,
NodeList<Expression> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock)
This constructor is used by the parser and is considered private.
|
TryStmt(TokenRange tokenRange,
NodeList<Expression> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
NodeList<AnnotationExpr> |
ArrayType.ArrayBracketPair.getAnnotations() |
NodeList<AnnotationExpr> |
Type.getAnnotations() |
NodeList<ReferenceType> |
IntersectionType.getElements() |
NodeList<ReferenceType> |
UnionType.getElements() |
NodeList<ClassOrInterfaceType> |
TypeParameter.getTypeBound()
Return the list of
ClassOrInterfaceType that this parameter
extends. |
Modifier and Type | Method and Description |
---|---|
Optional<NodeList<Type>> |
ClassOrInterfaceType.getTypeArguments() |
Constructor and Description |
---|
ArrayBracketPair(TokenRange tokenRange,
ArrayType.Origin origin,
NodeList<AnnotationExpr> annotations) |
ArrayType(TokenRange tokenRange,
Type componentType,
ArrayType.Origin origin,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
ArrayType(Type componentType,
ArrayType.Origin origin,
NodeList<AnnotationExpr> annotations) |
ClassOrInterfaceType(ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments) |
ClassOrInterfaceType(ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments,
NodeList<AnnotationExpr> annotations) |
ClassOrInterfaceType(ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments,
NodeList<AnnotationExpr> annotations) |
ClassOrInterfaceType(TokenRange tokenRange,
ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
ClassOrInterfaceType(TokenRange tokenRange,
ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
IntersectionType(NodeList<ReferenceType> elements) |
IntersectionType(TokenRange tokenRange,
NodeList<ReferenceType> elements)
This constructor is used by the parser and is considered private.
|
PrimitiveType(PrimitiveType.Primitive type,
NodeList<AnnotationExpr> annotations) |
PrimitiveType(TokenRange tokenRange,
PrimitiveType.Primitive type,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
ReferenceType(NodeList<AnnotationExpr> annotations) |
ReferenceType(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
Type(NodeList<AnnotationExpr> annotations) |
Type(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
TypeParameter(SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations) |
TypeParameter(SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations) |
TypeParameter(String name,
NodeList<ClassOrInterfaceType> typeBound) |
TypeParameter(TokenRange tokenRange,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
TypeParameter(TokenRange tokenRange,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
UnionType(NodeList<ReferenceType> elements) |
UnionType(TokenRange tokenRange,
NodeList<ReferenceType> elements)
This constructor is used by the parser and is considered private.
|
WildcardType(ReferenceType extendedType,
ReferenceType superType,
NodeList<AnnotationExpr> annotations) |
WildcardType(TokenRange tokenRange,
ReferenceType extendedType,
ReferenceType superType,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
void |
VoidVisitorWithDefaults.defaultAction(NodeList n,
A arg)
This will be called by the NodeList visit method when it is not overridden.
|
R |
GenericVisitorWithDefaults.defaultAction(NodeList n,
A arg)
This will be called by the NodeList visit method when it is not overridden.
|
R |
GenericVisitorAdapter.visit(NodeList n,
A arg) |
void |
VoidVisitorWithDefaults.visit(NodeList n,
A arg) |
R |
GenericVisitor.visit(NodeList n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(NodeList n,
A arg) |
void |
VoidVisitor.visit(NodeList n,
A arg) |
R |
GenericVisitorWithDefaults.visit(NodeList n,
A arg) |
Visitable |
ModifierVisitor.visit(NodeList n,
A arg) |
void |
VoidVisitorAdapter.visit(NodeList n,
A arg) |
Visitable |
CloneVisitor.visit(NodeList n,
Object arg) |
Boolean |
EqualsVisitor.visit(NodeList n,
Visitable arg) |
Boolean |
ObjectIdentityEqualsVisitor.visit(NodeList n,
Visitable arg) |
Boolean |
NoCommentEqualsVisitor.visit(NodeList n,
Visitable arg) |
Integer |
ObjectIdentityHashCodeVisitor.visit(NodeList n,
Void arg) |
Integer |
NoCommentHashCodeVisitor.visit(NodeList n,
Void arg) |
Integer |
HashCodeVisitor.visit(NodeList n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(NodeList n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
PositionUtils.sortByBeginPosition(NodeList<T> nodes) |
Copyright © 2007–2019. All rights reserved.