Interface NodeWithName<N extends Node>
-
- All Known Implementing Classes:
AnnotationExpr,ImportDeclaration,MarkerAnnotationExpr,ModuleDeclaration,ModuleExportsDirective,ModuleOpensDirective,ModuleProvidesDirective,ModuleRequiresDirective,ModuleUsesDirective,NormalAnnotationExpr,PackageDeclaration,ReceiverParameter,SingleMemberAnnotationExpr
public interface NodeWithName<N extends Node>A node with a (qualified) name.The main reason for this interface is to permit users to manipulate homogeneously all nodes with a getName method.
- Since:
- 2.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NamegetName()default StringgetNameAsString()NsetName(Name name)default NsetName(String name)
-