Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
Modifier and Type | Method and Description |
---|---|
SimpleName |
BreakStatement.getLabel()
Returns the label of this break statement, or
null if
there is none. |
SimpleName |
ContinueStatement.getLabel()
Returns the label of this continue statement, or
null if
there is none. |
SimpleName |
LabeledStatement.getLabel()
Returns the label of this labeled statement.
|
SimpleName |
SuperFieldAccess.getName()
Returns the name of the field accessed in this "super" field access
expression.
|
SimpleName |
NameQualifiedType.getName()
Returns the name part of this name-qualified type.
|
SimpleName |
AbstractTypeDeclaration.getName()
Returns the name of the type declared in this type declaration.
|
SimpleName |
VariableDeclaration.getName()
Returns the name of the variable declared in this variable declaration.
|
SimpleName |
TypeParameter.getName()
Returns the name of the type variable declared in this type parameter.
|
SimpleName |
MethodDeclaration.getName()
Returns the name of the method declared in this method declaration.
|
SimpleName |
EnumConstantDeclaration.getName()
Returns the name of the constant declared in this enum declaration.
|
SimpleName |
MethodRefParameter.getName()
Returns the parameter name, or
null if there is none. |
SimpleName |
TypeMethodReference.getName()
Returns the name of the method referenced in this expression.
|
SimpleName |
SuperMethodInvocation.getName()
Returns the name of the method invoked in this expression.
|
SimpleName |
QualifiedName.getName()
Returns the name part of this qualified name.
|
SimpleName |
AnnotationTypeMemberDeclaration.getName()
Returns the name of the annotation type member declared in this declaration.
|
SimpleName |
QualifiedType.getName()
Returns the name part of this qualified type.
|
SimpleName |
MemberRef.getName()
Returns the name of the referenced member.
|
SimpleName |
MethodRef.getName()
Returns the name of the referenced method or constructor.
|
SimpleName |
SuperMethodReference.getName()
Returns the name of the method referenced in this expression.
|
SimpleName |
MethodInvocation.getName()
Returns the name of the method invoked in this expression.
|
SimpleName |
ExpressionMethodReference.getName()
Returns the name of the method referenced in this expression.
|
SimpleName |
FieldAccess.getName()
Returns the name of the field accessed in this field access expression.
|
SimpleName |
MemberValuePair.getName()
Returns the member name.
|
SimpleName |
MethodDeclaration.getReceiverQualifier()
Returns the qualifying name, if any, for the explicit receiver or
null if not used (added in JLS8 API). |
SimpleName |
AST.newSimpleName(String identifier)
Creates and returns a new unparented simple name node for the given
identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
ASTVisitor.endVisit(SimpleName node)
End of visit the given type-specific AST node.
|
boolean |
ASTMatcher.match(SimpleName node,
Object other)
Returns whether the given node and the other object match.
|
NameQualifiedType |
AST.newNameQualifiedType(Name qualifier,
SimpleName name)
Creates and returns a new unparented name qualified type node with
the given qualifier and name.
|
QualifiedName |
AST.newQualifiedName(Name qualifier,
SimpleName name)
Creates and returns a new unparented qualified name node for the given
qualifier and simple name child node.
|
QualifiedType |
AST.newQualifiedType(Type qualifier,
SimpleName name)
Creates and returns a new unparented qualified type node with
the given qualifier type and name.
|
void |
BreakStatement.setLabel(SimpleName label)
Sets or clears the label of this break statement.
|
void |
ContinueStatement.setLabel(SimpleName label)
Sets or clears the label of this continue statement.
|
void |
LabeledStatement.setLabel(SimpleName label)
Sets the label of this labeled statement.
|
void |
SuperFieldAccess.setName(SimpleName fieldName)
Sets the name of the field accessed in this "super" field access
expression.
|
void |
NameQualifiedType.setName(SimpleName name)
Sets the name part of this name-qualified type to the given simple name.
|
void |
AbstractTypeDeclaration.setName(SimpleName typeName)
Sets the name of the type declared in this type declaration to the
given name.
|
void |
VariableDeclaration.setName(SimpleName variableName)
Sets the name of the variable declared in this variable declaration
to the given name.
|
void |
TypeParameter.setName(SimpleName typeName)
Sets the name of the type variable of this type parameter to the given
name.
|
void |
MethodDeclaration.setName(SimpleName methodName)
Sets the name of the method declared in this method declaration to the
given name.
|
void |
EnumConstantDeclaration.setName(SimpleName constantName)
Sets the name of the constant declared in this enum declaration to the
given name.
|
void |
MethodRefParameter.setName(SimpleName name)
Sets or clears the parameter name.
|
void |
TypeMethodReference.setName(SimpleName name)
Sets the name of the method referenced in this expression to the
given name.
|
void |
SuperMethodInvocation.setName(SimpleName name)
Sets the name of the method invoked in this expression to the
given name.
|
void |
QualifiedName.setName(SimpleName name)
Sets the name part of this qualified name to the given simple name.
|
void |
AnnotationTypeMemberDeclaration.setName(SimpleName memberName)
Sets the name of the annotation type member declared in this declaration to the
given name.
|
void |
QualifiedType.setName(SimpleName name)
Sets the name part of this qualified type to the given simple name.
|
void |
MemberRef.setName(SimpleName name)
Sets the name of the referenced member to the given name.
|
void |
MethodRef.setName(SimpleName name)
Sets the name of the referenced method or constructor to the
given name.
|
void |
SuperMethodReference.setName(SimpleName name)
Sets the name of the method referenced in this expression to the
given name.
|
void |
MethodInvocation.setName(SimpleName name)
Sets the name of the method invoked in this expression to the
given name.
|
void |
ExpressionMethodReference.setName(SimpleName name)
Sets the name of the method referenced in this expression to the
given name.
|
void |
FieldAccess.setName(SimpleName fieldName)
Sets the name of the field accessed in this field access expression.
|
void |
MemberValuePair.setName(SimpleName name)
Sets the member name.
|
void |
MethodDeclaration.setReceiverQualifier(SimpleName receiverQualifier)
Sets the given simple name as the qualifier for the receiver (added in JLS8 API).
|
boolean |
ASTVisitor.visit(SimpleName node)
Visits the given type-specific AST node.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.