Modifier and Type | Method and Description |
---|---|
static Modifier |
Modifier.abstractModifier() |
Modifier |
Modifier.clone() |
static Modifier |
Modifier.finalModifier() |
static Modifier |
Modifier.nativeModifier() |
static Modifier |
Modifier.privateModifier() |
static Modifier |
Modifier.protectedModifier() |
static Modifier |
Modifier.publicModifier() |
Modifier |
Modifier.setKeyword(Modifier.Keyword keyword) |
static Modifier |
Modifier.staticModifier() |
static Modifier |
Modifier.strictfpModifier() |
static Modifier |
Modifier.synchronizedModifier() |
static Modifier |
Modifier.transientModifier() |
static Modifier |
Modifier.transitiveModifier() |
static Modifier |
Modifier.volatileModifier() |
Modifier and Type | Method and Description |
---|---|
static NodeList<Modifier> |
Modifier.createModifierList(Modifier.Keyword... modifiers)
Utility method that instantiaties "Modifier"s for the keywords,
and puts them in a NodeList.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
AnnotationMemberDeclaration |
AnnotationMemberDeclaration.setModifiers(NodeList<Modifier> modifiers) |
ConstructorDeclaration |
ConstructorDeclaration.setModifiers(NodeList<Modifier> modifiers) |
MethodDeclaration |
MethodDeclaration.setModifiers(NodeList<Modifier> modifiers) |
T |
CallableDeclaration.setModifiers(NodeList<Modifier> modifiers) |
Parameter |
Parameter.setModifiers(NodeList<Modifier> modifiers) |
T |
TypeDeclaration.setModifiers(NodeList<Modifier> modifiers) |
FieldDeclaration |
FieldDeclaration.setModifiers(NodeList<Modifier> modifiers) |
Constructor and Description |
---|
AnnotationDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members) |
AnnotationDeclaration(NodeList<Modifier> modifiers,
String name) |
AnnotationDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
AnnotationMemberDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
SimpleName name,
Expression defaultValue) |
AnnotationMemberDeclaration(NodeList<Modifier> modifiers,
Type type,
String name,
Expression defaultValue) |
AnnotationMemberDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
SimpleName name,
Expression defaultValue)
This constructor is used by the parser and is considered private.
|
CallableDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.
|
ClassOrInterfaceDeclaration(NodeList<Modifier> modifiers,
boolean isInterface,
String name) |
ClassOrInterfaceDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
boolean isInterface,
SimpleName name,
NodeList<TypeParameter> typeParameters,
NodeList<ClassOrInterfaceType> extendedTypes,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<BodyDeclaration<?>> members) |
ClassOrInterfaceDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
boolean isInterface,
SimpleName name,
NodeList<TypeParameter> typeParameters,
NodeList<ClassOrInterfaceType> extendedTypes,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
ConstructorDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body) |
ConstructorDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body,
ReceiverParameter receiverParameter) |
ConstructorDeclaration(NodeList<Modifier> modifiers,
String name) |
ConstructorDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body,
ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.
|
EnumDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<EnumConstantDeclaration> entries,
NodeList<BodyDeclaration<?>> members) |
EnumDeclaration(NodeList<Modifier> modifiers,
String name) |
EnumDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<EnumConstantDeclaration> entries,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
FieldDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables) |
FieldDeclaration(NodeList<Modifier> modifiers,
NodeList<VariableDeclarator> variables) |
FieldDeclaration(NodeList<Modifier> modifiers,
Type type,
String name)
Creates a
FieldDeclaration . |
FieldDeclaration(NodeList<Modifier> modifiers,
VariableDeclarator variable) |
FieldDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
MethodDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
boolean isDefault,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body)
Deprecated.
this constructor allows you to set "isDefault", but this is no longer a field of this node, but simply one of the modifiers. Use setDefault(boolean) or add DEFAULT to the modifiers set.
|
MethodDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body) |
MethodDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body,
ReceiverParameter receiverParameter) |
MethodDeclaration(NodeList<Modifier> modifiers,
String name,
Type type,
NodeList<Parameter> parameters) |
MethodDeclaration(NodeList<Modifier> modifiers,
Type type,
String name) |
MethodDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body,
ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.
|
Parameter(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
NodeList<AnnotationExpr> varArgsAnnotations,
SimpleName name) |
Parameter(NodeList<Modifier> modifiers,
Type type,
SimpleName name) |
Parameter(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
NodeList<AnnotationExpr> varArgsAnnotations,
SimpleName name)
This constructor is used by the parser and is considered private.
|
TypeDeclaration(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members) |
TypeDeclaration(NodeList<Modifier> modifiers,
String name) |
TypeDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
NodeList<Modifier> |
VariableDeclarationExpr.getModifiers()
Return the modifiers of this variable declaration.
|
Modifier and Type | Method and Description |
---|---|
VariableDeclarationExpr |
VariableDeclarationExpr.setModifiers(NodeList<Modifier> modifiers) |
Constructor and Description |
---|
VariableDeclarationExpr(Type type,
String variableName,
Modifier... modifiers) |
VariableDeclarationExpr(VariableDeclarator var,
Modifier... modifiers) |
Constructor and Description |
---|
VariableDeclarationExpr(NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(NodeList<Modifier> modifiers,
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.
|
Modifier and Type | Method and Description |
---|---|
NodeList<Modifier> |
ModuleRequiresDirective.getModifiers() |
Modifier and Type | Method and Description |
---|---|
ModuleRequiresDirective |
ModuleRequiresDirective.setModifiers(NodeList<Modifier> modifiers) |
Constructor and Description |
---|
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<Modifier> |
NodeWithModifiers.getModifiers()
Return the modifiers of this variable declaration.
|
Modifier and Type | Method and Description |
---|---|
N |
NodeWithModifiers.setModifiers(NodeList<Modifier> modifiers) |
Constructor and Description |
---|
CatchClause(NodeList<Modifier> exceptModifier,
NodeList<AnnotationExpr> exceptAnnotations,
ClassOrInterfaceType exceptType,
SimpleName exceptName,
BlockStmt body) |
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitorAdapter.visit(Modifier n,
A arg) |
void |
VoidVisitorWithDefaults.visit(Modifier n,
A arg) |
R |
GenericVisitor.visit(Modifier n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(Modifier n,
A arg) |
void |
VoidVisitor.visit(Modifier n,
A arg) |
R |
GenericVisitorWithDefaults.visit(Modifier n,
A arg) |
Visitable |
ModifierVisitor.visit(Modifier n,
A arg) |
void |
VoidVisitorAdapter.visit(Modifier n,
A arg) |
Visitable |
CloneVisitor.visit(Modifier n,
Object arg) |
Boolean |
EqualsVisitor.visit(Modifier n,
Visitable arg) |
Boolean |
ObjectIdentityEqualsVisitor.visit(Modifier n,
Visitable arg) |
Boolean |
NoCommentEqualsVisitor.visit(Modifier n,
Visitable arg) |
Integer |
ObjectIdentityHashCodeVisitor.visit(Modifier n,
Void arg) |
Integer |
NoCommentHashCodeVisitor.visit(Modifier n,
Void arg) |
Integer |
HashCodeVisitor.visit(Modifier n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(Modifier n,
Void arg) |
Copyright © 2007–2019. All rights reserved.