Interface NodeWithSimpleName<N extends Node>
- All Known Subinterfaces:
NodeWithMembers<N>
- All Known Implementing Classes:
AnnotationDeclaration
,AnnotationMemberDeclaration
,CallableDeclaration
,ClassOrInterfaceDeclaration
,ClassOrInterfaceType
,CompactConstructorDeclaration
,ConstructorDeclaration
,EnumConstantDeclaration
,EnumDeclaration
,FieldAccessExpr
,MemberValuePair
,MethodCallExpr
,MethodDeclaration
,NameExpr
,Parameter
,PatternExpr
,RecordDeclaration
,TypeDeclaration
,TypeParameter
,VariableDeclarator
public interface NodeWithSimpleName<N extends Node>
A node with a name.
The main reason for this interface is to permit users to manipulate homogeneously all nodes with a getName method.
-
Method Details
-
getName
SimpleName getName() -
setName
-
setName
-
getNameAsString
-
getNameAsExpression
-