Interface AccessNode
-
- All Superinterfaces:
net.sourceforge.pmd.lang.ast.Node
- All Known Subinterfaces:
ASTAnyTypeDeclaration,ASTMethodOrConstructorDeclaration,MethodLikeNode
- All Known Implementing Classes:
AbstractAnyTypeDeclaration,AbstractJavaAccessNode,AbstractJavaAccessTypeNode,AbstractMethodLikeNode,AbstractMethodOrConstructorDeclaration,ASTAnnotationMethodDeclaration,ASTAnnotationTypeDeclaration,ASTClassOrInterfaceDeclaration,ASTConstructorDeclaration,ASTEnumDeclaration,ASTFieldDeclaration,ASTFormalParameter,ASTLambdaExpression,ASTLocalVariableDeclaration,ASTMethodDeclaration,ASTResource
public interface AccessNode extends net.sourceforge.pmd.lang.ast.NodeThis interface captures Java access modifiers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetModifiers()booleanisAbstract()booleanisDefault()booleanisFinal()booleanisNative()booleanisPackagePrivate()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()booleanisStrictfp()booleanisSynchronized()booleanisTransient()booleanisVolatile()voidsetAbstract(boolean isAbstract)voidsetDefault(boolean isDefault)voidsetFinal(boolean isFinal)voidsetModifiers(int modifiers)voidsetNative(boolean isNative)voidsetPrivate(boolean isPrivate)voidsetProtected(boolean isProtected)voidsetPublic(boolean isPublic)voidsetStatic(boolean isStatic)voidsetStrictfp(boolean isStrictfp)voidsetSynchronized(boolean isSynchronized)voidsetTransient(boolean isTransient)voidsetVolatile(boolean isVolatile)-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, 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
-
-
Method Detail
-
getModifiers
int getModifiers()
-
setModifiers
void setModifiers(int modifiers)
-
isPublic
boolean isPublic()
-
setPublic
void setPublic(boolean isPublic)
-
isProtected
boolean isProtected()
-
setProtected
void setProtected(boolean isProtected)
-
isPrivate
boolean isPrivate()
-
setPrivate
void setPrivate(boolean isPrivate)
-
isAbstract
boolean isAbstract()
-
setAbstract
void setAbstract(boolean isAbstract)
-
isStatic
boolean isStatic()
-
setStatic
void setStatic(boolean isStatic)
-
isFinal
boolean isFinal()
-
setFinal
void setFinal(boolean isFinal)
-
isSynchronized
boolean isSynchronized()
-
setSynchronized
void setSynchronized(boolean isSynchronized)
-
isNative
boolean isNative()
-
setNative
void setNative(boolean isNative)
-
isTransient
boolean isTransient()
-
setTransient
void setTransient(boolean isTransient)
-
isVolatile
boolean isVolatile()
-
setVolatile
void setVolatile(boolean isVolatile)
-
isStrictfp
boolean isStrictfp()
-
setStrictfp
void setStrictfp(boolean isStrictfp)
-
isPackagePrivate
boolean isPackagePrivate()
-
setDefault
void setDefault(boolean isDefault)
-
isDefault
boolean isDefault()
-
-