# Uses of Class
org.eclipse.jdt.core.dom.SimpleName

Packages that use SimpleName
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.
org.eclipse.jdt.core.manipulation
Application programming interface for the JDT core manipulation plug-in class.

## Uses of SimpleName in org.eclipse.jdt.core.dom

Methods in org.eclipse.jdt.core.dom that return SimpleName
Modifier and Type
Method
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`
AbstractTypeDeclaration.`getName()`
Returns the name of the type declared in this type declaration.
`SimpleName`
AnnotationTypeMemberDeclaration.`getName()`
Returns the name of the annotation type member declared in this declaration.
`SimpleName`
EnumConstantDeclaration.`getName()`
Returns the name of the constant declared in this enum declaration.
`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`
ImplicitTypeDeclaration.`getName()`
`SimpleName`
MemberRef.`getName()`
Returns the name of the referenced member.
`SimpleName`
MemberValuePair.`getName()`
Returns the member name.
`SimpleName`
MethodDeclaration.`getName()`
Returns the name of the method declared in this method declaration.
`SimpleName`
MethodInvocation.`getName()`
Returns the name of the method invoked in this expression.
`SimpleName`
MethodRef.`getName()`
Returns the name of the referenced method or constructor.
`SimpleName`
MethodRefParameter.`getName()`
Returns the parameter name, or `null` if there is none.
`SimpleName`
NameQualifiedType.`getName()`
Returns the name part of this name-qualified type.
`SimpleName`
QualifiedName.`getName()`
Returns the name part of this qualified name.
`SimpleName`
QualifiedType.`getName()`
Returns the name part of this qualified type.
`SimpleName`
SuperFieldAccess.`getName()`
Returns the name of the field accessed in this "super" field access expression.
`SimpleName`
SuperMethodInvocation.`getName()`
Returns the name of the method invoked in this expression.
`SimpleName`
SuperMethodReference.`getName()`
Returns the name of the method referenced in this expression.
`SimpleName`
TypeMethodReference.`getName()`
Returns the name of the method referenced in this expression.
`SimpleName`
TypeParameter.`getName()`
Returns the name of the type variable declared in this type parameter.
`SimpleName`
VariableDeclaration.`getName()`
Returns the name of the variable declared in this variable declaration.
`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.
Methods in org.eclipse.jdt.core.dom with parameters of type SimpleName
Modifier and Type
Method
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`
AbstractTypeDeclaration.`setName(SimpleName typeName)`
Sets the name of the type declared in this type declaration to the given name.
`void`
AnnotationTypeMemberDeclaration.`setName(SimpleName memberName)`
Sets the name of the annotation type member declared in this 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`
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`
MemberRef.`setName(SimpleName name)`
Sets the name of the referenced member to the given name.
`void`
MemberValuePair.`setName(SimpleName name)`
Sets the member name.
`void`
MethodDeclaration.`setName(SimpleName methodName)`
Sets the name of the method declared in this method declaration to the given name.
`void`
MethodInvocation.`setName(SimpleName name)`
Sets the name of the method invoked in this expression to the given name.
`void`
MethodRef.`setName(SimpleName name)`
Sets the name of the referenced method or constructor to the given name.
`void`
MethodRefParameter.`setName(SimpleName name)`
Sets or clears the parameter name.
`void`
NameQualifiedType.`setName(SimpleName name)`
Sets the name part of this name-qualified type to the given simple name.
`void`
QualifiedName.`setName(SimpleName name)`
Sets the name part of this qualified name to the given simple name.
`void`
QualifiedType.`setName(SimpleName name)`
Sets the name part of this qualified type to the given simple name.
`void`
SuperFieldAccess.`setName(SimpleName fieldName)`
Sets the name of the field accessed in this "super" field access expression.
`void`
SuperMethodInvocation.`setName(SimpleName name)`
Sets the name of the method invoked in this expression to the given name.
`void`
SuperMethodReference.`setName(SimpleName name)`
Sets the name of the method referenced in this expression to the given name.
`void`
TypeMethodReference.`setName(SimpleName name)`
Sets the name of the method referenced in this expression 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`
VariableDeclaration.`setName(SimpleName variableName)`
Sets the name of the variable declared in this variable declaration to the given 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.

## Uses of SimpleName in org.eclipse.jdt.core.manipulation

Methods in org.eclipse.jdt.core.manipulation with parameters of type SimpleName
Modifier and Type
Method
Description
`boolean`
ImportReferencesCollector.`visit(SimpleName node)`
Method parameters in org.eclipse.jdt.core.manipulation with type arguments of type SimpleName
Modifier and Type
Method
Description
`static void`
ImportReferencesCollector.`collect(ASTNode node, IJavaProject project, org.eclipse.jface.text.Region rangeLimit, boolean skipMethodBodies, Collection<SimpleName> resultingTypeImports, Collection<SimpleName> resultingStaticImports)`
Collect import statements from an AST node.
`static void`
ImportReferencesCollector.`collect(ASTNode node, IJavaProject project, org.eclipse.jface.text.Region rangeLimit, Collection<SimpleName> resultingTypeImports, Collection<SimpleName> resultingStaticImports)`
Collect import statements from an AST node.