Interface NodeWithModifiers<N extends Node>
-
- All Known Subinterfaces:
NodeWithAbstractModifier<N>
,NodeWithAccessModifiers<N>
,NodeWithFinalModifier<N>
,NodeWithPrivateModifier<N>
,NodeWithProtectedModifier<N>
,NodeWithPublicModifier<N>
,NodeWithStaticModifier<N>
,NodeWithStrictfpModifier<N>
- All Known Implementing Classes:
AnnotationDeclaration
,AnnotationMemberDeclaration
,CallableDeclaration
,ClassOrInterfaceDeclaration
,ConstructorDeclaration
,EnumDeclaration
,FieldDeclaration
,MethodDeclaration
,ModuleRequiresDirective
,Parameter
,TypeDeclaration
,VariableDeclarationExpr
public interface NodeWithModifiers<N extends Node>
A Node with Modifiers. Note that not all modifiers may be valid for this node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default N
addModifier(Modifier... modifiers)
EnumSet<Modifier>
getModifiers()
Return the modifiers of this variable declaration.default N
removeModifier(Modifier... m)
default N
setModifier(Modifier m, boolean set)
N
setModifiers(EnumSet<Modifier> modifiers)
-