Interface AccessNode
-
- All Superinterfaces:
Node
- All Known Subinterfaces:
ASTAnyTypeDeclaration
,ASTMethodOrConstructorDeclaration
,MethodLikeNode
- All Known Implementing Classes:
AbstractAnyTypeDeclaration
,AbstractJavaAccessNode
,AbstractJavaAccessTypeNode
,AbstractMethodLikeNode
,AbstractMethodOrConstructorDeclaration
,ASTAnnotationMethodDeclaration
,ASTAnnotationTypeDeclaration
,ASTClassOrInterfaceDeclaration
,ASTCompactConstructorDeclaration
,ASTConstructorDeclaration
,ASTEnumDeclaration
,ASTFieldDeclaration
,ASTFormalParameter
,ASTLambdaExpression
,ASTLocalVariableDeclaration
,ASTMethodDeclaration
,ASTRecordDeclaration
,ASTResource
public interface AccessNode extends Node
This interface captures Java access modifiers.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ABSTRACT
static int
DEFAULT
static int
FINAL
static int
NATIVE
static int
NON_SEALED
static int
PRIVATE
static int
PROTECTED
static int
PUBLIC
static int
SEALED
static int
STATIC
static int
STRICTFP
static int
SYNCHRONIZED
static int
TRANSIENT
static int
VOLATILE
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getModifiers()
boolean
isAbstract()
boolean
isDefault()
boolean
isFinal()
boolean
isNative()
boolean
isPackagePrivate()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isStatic()
boolean
isStrictfp()
boolean
isSynchronized()
boolean
isTransient()
boolean
isVolatile()
void
setAbstract(boolean isAbstract)
Deprecated.void
setDefault(boolean isDefault)
Deprecated.void
setFinal(boolean isFinal)
Deprecated.void
setModifiers(int modifiers)
Deprecated.void
setNative(boolean isNative)
Deprecated.void
setPrivate(boolean isPrivate)
Deprecated.void
setProtected(boolean isProtected)
Deprecated.void
setPublic(boolean isPublic)
Deprecated.void
setStatic(boolean isStatic)
Deprecated.void
setStrictfp(boolean isStrictfp)
Deprecated.void
setSynchronized(boolean isSynchronized)
Deprecated.void
setTransient(boolean isTransient)
Deprecated.void
setVolatile(boolean isVolatile)
Deprecated.-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
children, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getChild, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParent, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Field Detail
-
PUBLIC
static final int PUBLIC
- See Also:
- Constant Field Values
-
PROTECTED
static final int PROTECTED
- See Also:
- Constant Field Values
-
PRIVATE
static final int PRIVATE
- See Also:
- Constant Field Values
-
ABSTRACT
static final int ABSTRACT
- See Also:
- Constant Field Values
-
STATIC
static final int STATIC
- See Also:
- Constant Field Values
-
FINAL
static final int FINAL
- See Also:
- Constant Field Values
-
SYNCHRONIZED
static final int SYNCHRONIZED
- See Also:
- Constant Field Values
-
NATIVE
static final int NATIVE
- See Also:
- Constant Field Values
-
TRANSIENT
static final int TRANSIENT
- See Also:
- Constant Field Values
-
VOLATILE
static final int VOLATILE
- See Also:
- Constant Field Values
-
STRICTFP
static final int STRICTFP
- See Also:
- Constant Field Values
-
DEFAULT
static final int DEFAULT
- See Also:
- Constant Field Values
-
SEALED
static final int SEALED
- See Also:
- Constant Field Values
-
NON_SEALED
static final int NON_SEALED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getModifiers
int getModifiers()
-
setModifiers
@Deprecated @InternalApi void setModifiers(int modifiers)
Deprecated.
-
isPublic
boolean isPublic()
-
setPublic
@Deprecated @InternalApi void setPublic(boolean isPublic)
Deprecated.
-
isProtected
boolean isProtected()
-
setProtected
@Deprecated @InternalApi void setProtected(boolean isProtected)
Deprecated.
-
isPrivate
boolean isPrivate()
-
setPrivate
@Deprecated @InternalApi void setPrivate(boolean isPrivate)
Deprecated.
-
isAbstract
boolean isAbstract()
-
setAbstract
@Deprecated @InternalApi void setAbstract(boolean isAbstract)
Deprecated.
-
isStatic
boolean isStatic()
-
setStatic
@Deprecated @InternalApi void setStatic(boolean isStatic)
Deprecated.
-
isFinal
boolean isFinal()
-
setFinal
@Deprecated @InternalApi void setFinal(boolean isFinal)
Deprecated.
-
isSynchronized
boolean isSynchronized()
-
setSynchronized
@Deprecated @InternalApi void setSynchronized(boolean isSynchronized)
Deprecated.
-
isNative
boolean isNative()
-
setNative
@Deprecated @InternalApi void setNative(boolean isNative)
Deprecated.
-
isTransient
boolean isTransient()
-
setTransient
@Deprecated @InternalApi void setTransient(boolean isTransient)
Deprecated.
-
isVolatile
boolean isVolatile()
-
setVolatile
@Deprecated @InternalApi void setVolatile(boolean isVolatile)
Deprecated.
-
isStrictfp
boolean isStrictfp()
-
setStrictfp
@Deprecated @InternalApi void setStrictfp(boolean isStrictfp)
Deprecated.
-
isPackagePrivate
boolean isPackagePrivate()
-
setDefault
@Deprecated @InternalApi void setDefault(boolean isDefault)
Deprecated.
-
isDefault
boolean isDefault()
-
-