Uses of Class
org.eclipse.jdt.core.dom.SimpleName
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
Application programming interface for the JDT core manipulation plug-in class.
-
Uses of SimpleName in org.eclipse.jdt.core.dom
Modifier and TypeMethodDescriptionBreakStatement.getLabel()
Returns the label of this break statement, ornull
if there is none.ContinueStatement.getLabel()
Returns the label of this continue statement, ornull
if there is none.LabeledStatement.getLabel()
Returns the label of this labeled statement.AbstractTypeDeclaration.getName()
Returns the name of the type declared in this type declaration.AnnotationTypeMemberDeclaration.getName()
Returns the name of the annotation type member declared in this declaration.EnumConstantDeclaration.getName()
Returns the name of the constant declared in this enum declaration.ExpressionMethodReference.getName()
Returns the name of the method referenced in this expression.FieldAccess.getName()
Returns the name of the field accessed in this field access expression.ImplicitTypeDeclaration.getName()
MemberRef.getName()
Returns the name of the referenced member.MemberValuePair.getName()
Returns the member name.MethodDeclaration.getName()
Returns the name of the method declared in this method declaration.MethodInvocation.getName()
Returns the name of the method invoked in this expression.MethodRef.getName()
Returns the name of the referenced method or constructor.MethodRefParameter.getName()
Returns the parameter name, ornull
if there is none.NameQualifiedType.getName()
Returns the name part of this name-qualified type.QualifiedName.getName()
Returns the name part of this qualified name.QualifiedType.getName()
Returns the name part of this qualified type.SuperFieldAccess.getName()
Returns the name of the field accessed in this "super" field access expression.SuperMethodInvocation.getName()
Returns the name of the method invoked in this expression.SuperMethodReference.getName()
Returns the name of the method referenced in this expression.TypeMethodReference.getName()
Returns the name of the method referenced in this expression.TypeParameter.getName()
Returns the name of the type variable declared in this type parameter.VariableDeclaration.getName()
Returns the name of the variable declared in this variable declaration.MethodDeclaration.getReceiverQualifier()
Returns the qualifying name, if any, for the explicit receiver ornull
if not used (added in JLS8 API).AST.newSimpleName
(String identifier) Creates and returns a new unparented simple name node for the given identifier.Modifier and TypeMethodDescriptionvoid
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.AST.newNameQualifiedType
(Name qualifier, SimpleName name) Creates and returns a new unparented name qualified type node with the given qualifier and name.AST.newQualifiedName
(Name qualifier, SimpleName name) Creates and returns a new unparented qualified name node for the given qualifier and simple name child node.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
Modifier and TypeMethodDescriptionstatic 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.