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