Modifier and Type | Method | Description |
---|---|---|
SimpleName |
AnnotationMemberDeclaration.getName() |
|
SimpleName |
CallableDeclaration.getName() |
|
SimpleName |
EnumConstantDeclaration.getName() |
|
SimpleName |
Parameter.getName() |
|
SimpleName |
TypeDeclaration.getName() |
|
SimpleName |
VariableDeclarator.getName() |
Modifier and Type | Method | Description |
---|---|---|
AnnotationMemberDeclaration |
AnnotationMemberDeclaration.setName(SimpleName name) |
|
T |
CallableDeclaration.setName(SimpleName name) |
|
ConstructorDeclaration |
ConstructorDeclaration.setName(SimpleName name) |
|
EnumConstantDeclaration |
EnumConstantDeclaration.setName(SimpleName name) |
|
MethodDeclaration |
MethodDeclaration.setName(SimpleName name) |
|
Parameter |
Parameter.setName(SimpleName name) |
|
T |
TypeDeclaration.setName(SimpleName name) |
|
VariableDeclarator |
VariableDeclarator.setName(SimpleName name) |
Constructor | Description |
---|---|
AnnotationDeclaration(TokenRange tokenRange,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members) |
This constructor is used by the parser and is considered private.
|
AnnotationDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members) |
|
AnnotationMemberDeclaration(TokenRange tokenRange,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
SimpleName name,
Expression defaultValue) |
This constructor is used by the parser and is considered private.
|
AnnotationMemberDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
SimpleName name,
Expression defaultValue) |
|
CallableDeclaration(TokenRange tokenRange,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions) |
This constructor is used by the parser and is considered private.
|
CallableDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions) |
|
ClassOrInterfaceDeclaration(TokenRange tokenRange,
EnumSet<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.
|
ClassOrInterfaceDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
boolean isInterface,
SimpleName name,
NodeList<TypeParameter> typeParameters,
NodeList<ClassOrInterfaceType> extendedTypes,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<BodyDeclaration<?>> members) |
|
ConstructorDeclaration(TokenRange tokenRange,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body) |
This constructor is used by the parser and is considered private.
|
ConstructorDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body) |
|
EnumConstantDeclaration(NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> classBody) |
|
EnumConstantDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> classBody) |
This constructor is used by the parser and is considered private.
|
EnumDeclaration(TokenRange tokenRange,
EnumSet<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.
|
EnumDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<EnumConstantDeclaration> entries,
NodeList<BodyDeclaration<?>> members) |
|
MethodDeclaration(TokenRange tokenRange,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body) |
This constructor is used by the parser and is considered private.
|
MethodDeclaration(EnumSet<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(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body) |
|
Parameter(Type type,
SimpleName name) |
|
Parameter(TokenRange tokenRange,
EnumSet<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.
|
Parameter(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
NodeList<AnnotationExpr> varArgsAnnotations,
SimpleName name) |
|
Parameter(EnumSet<Modifier> modifiers,
Type type,
SimpleName name) |
|
TypeDeclaration(TokenRange tokenRange,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members) |
This constructor is used by the parser and is considered private.
|
TypeDeclaration(EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members) |
|
VariableDeclarator(Type type,
SimpleName name) |
|
VariableDeclarator(Type type,
SimpleName name,
Expression initializer) |
Defines the declaration of a variable.
|
VariableDeclarator(TokenRange tokenRange,
Type type,
SimpleName name,
Expression initializer) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
SimpleName |
SimpleName.clone() |
|
SimpleName |
FieldAccessExpr.getField() |
Deprecated.
|
SimpleName |
FieldAccessExpr.getName() |
|
SimpleName |
MemberValuePair.getName() |
|
SimpleName |
MethodCallExpr.getName() |
|
SimpleName |
NameExpr.getName() |
|
SimpleName |
SimpleName.setIdentifier(String identifier) |
Modifier and Type | Method | Description |
---|---|---|
FieldAccessExpr |
FieldAccessExpr.setFieldExpr(SimpleName inner) |
Deprecated.
|
FieldAccessExpr |
FieldAccessExpr.setName(SimpleName name) |
|
MemberValuePair |
MemberValuePair.setName(SimpleName name) |
|
MethodCallExpr |
MethodCallExpr.setName(SimpleName name) |
|
NameExpr |
NameExpr.setName(SimpleName name) |
Constructor | Description |
---|---|
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.
|
MemberValuePair(SimpleName name,
Expression value) |
|
MemberValuePair(TokenRange tokenRange,
SimpleName name,
Expression value) |
This constructor is used by the parser and is considered private.
|
MethodCallExpr(Expression scope,
SimpleName name) |
|
MethodCallExpr(Expression scope,
SimpleName name,
NodeList<Expression> arguments) |
|
MethodCallExpr(Expression scope,
NodeList<Type> typeArguments,
SimpleName 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.
|
NameExpr(SimpleName name) |
|
NameExpr(TokenRange tokenRange,
SimpleName name) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
SimpleName |
NodeWithSimpleName.getName() |
Modifier and Type | Method | Description |
---|---|---|
Optional<SimpleName> |
NodeWithOptionalLabel.getLabel() |
Modifier and Type | Method | Description |
---|---|---|
T |
NodeWithOptionalLabel.setLabel(SimpleName label) |
|
N |
NodeWithSimpleName.setName(SimpleName name) |
Modifier and Type | Method | Description |
---|---|---|
SimpleName |
LabeledStmt.getLabel() |
Modifier and Type | Method | Description |
---|---|---|
Optional<SimpleName> |
BreakStmt.getLabel() |
|
Optional<SimpleName> |
ContinueStmt.getLabel() |
Modifier and Type | Method | Description |
---|---|---|
BreakStmt |
BreakStmt.setLabel(SimpleName label) |
Sets the label
|
ContinueStmt |
ContinueStmt.setLabel(SimpleName label) |
Sets the label
|
LabeledStmt |
LabeledStmt.setLabel(SimpleName label) |
Constructor | Description |
---|---|
BreakStmt(SimpleName label) |
|
BreakStmt(TokenRange tokenRange,
SimpleName label) |
This constructor is used by the parser and is considered private.
|
CatchClause(EnumSet<Modifier> exceptModifier,
NodeList<AnnotationExpr> exceptAnnotations,
ClassOrInterfaceType exceptType,
SimpleName exceptName,
BlockStmt body) |
|
ContinueStmt(SimpleName label) |
|
ContinueStmt(TokenRange tokenRange,
SimpleName label) |
This constructor is used by the parser and is considered private.
|
LabeledStmt(SimpleName label,
Statement statement) |
|
LabeledStmt(TokenRange tokenRange,
SimpleName label,
Statement statement) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
SimpleName |
ClassOrInterfaceType.getName() |
|
SimpleName |
TypeParameter.getName() |
Return the name of the paramenter.
|
Modifier and Type | Method | Description |
---|---|---|
ClassOrInterfaceType |
ClassOrInterfaceType.setName(SimpleName name) |
|
TypeParameter |
TypeParameter.setName(SimpleName name) |
Constructor | Description |
---|---|
ClassOrInterfaceType(ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments) |
|
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.
|
TypeParameter(SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations) |
|
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound) |
Deprecated.
range shouldn't be in utility constructors.
|
TypeParameter(TokenRange tokenRange,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ReservedKeywordValidator.visit(SimpleName n,
ProblemReporter arg) |
Modifier and Type | Method | Description |
---|---|---|
void |
UnderscoreKeywordValidator.visit(SimpleName n,
ProblemReporter arg) |
Modifier and Type | Method | Description |
---|---|---|
Visitable |
CloneVisitor.visit(SimpleName n,
Object arg) |
|
Boolean |
EqualsVisitor.visit(SimpleName n,
Visitable arg) |
|
List<R> |
GenericListVisitorAdapter.visit(SimpleName n,
A arg) |
|
R |
GenericVisitor.visit(SimpleName n,
A arg) |
|
R |
GenericVisitorAdapter.visit(SimpleName n,
A arg) |
|
Integer |
HashCodeVisitor.visit(SimpleName n,
Void arg) |
|
Visitable |
ModifierVisitor.visit(SimpleName n,
A arg) |
|
Boolean |
ObjectIdentityEqualsVisitor.visit(SimpleName n,
Visitable arg) |
|
Integer |
ObjectIdentityHashCodeVisitor.visit(SimpleName n,
Void arg) |
|
void |
VoidVisitor.visit(SimpleName n,
A arg) |
|
void |
VoidVisitorAdapter.visit(SimpleName n,
A arg) |
Modifier and Type | Method | Description |
---|---|---|
void |
PrettyPrintVisitor.visit(SimpleName n,
Void arg) |
Copyright © 2007–2019. All rights reserved.