Interface NodeWithPrivateModifier<N extends Node>
-
- All Superinterfaces:
NodeWithModifiers<N>
- All Known Subinterfaces:
NodeWithAccessModifiers<N>
- All Known Implementing Classes:
AnnotationDeclaration
,CallableDeclaration
,ClassOrInterfaceDeclaration
,ConstructorDeclaration
,EnumDeclaration
,FieldDeclaration
,MethodDeclaration
,TypeDeclaration
public interface NodeWithPrivateModifier<N extends Node> extends NodeWithModifiers<N>
A node that can be private.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isPrivate()
default N
setPrivate(boolean set)
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithModifiers
addModifier, getAccessSpecifier, getModifiers, hasModifier, removeModifier, setModifier, setModifiers, setModifiers
-
-
-
-
Method Detail
-
isPrivate
default boolean isPrivate()
-
setPrivate
default N setPrivate(boolean set)
-
-