AnnotationDeclaration
, AnnotationMemberDeclaration
, CallableDeclaration
, ClassOrInterfaceDeclaration
, ClassOrInterfaceType
, ConstructorDeclaration
, EnumConstantDeclaration
, EnumDeclaration
, FieldAccessExpr
, MemberValuePair
, MethodCallExpr
, MethodDeclaration
, NameExpr
, Parameter
, TypeDeclaration
, TypeParameter
, VariableDeclarator
public interface NodeWithSimpleName<N extends Node>
The main reason for this interface is to permit users to manipulate homogeneously all nodes with a getName method.
Modifier and Type | Method | Description |
---|---|---|
SimpleName |
getName() |
|
default String |
getNameAsString() |
|
N |
setName(SimpleName name) |
|
default N |
setName(String name) |
SimpleName getName()
N setName(SimpleName name)
default String getNameAsString()
Copyright © 2007–2019. All rights reserved.