Class AbstractJavaAccessNode

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      ASTAnnotation getAnnotation​(String annotQualifiedName)
      Get specific annotaion on this node.
      List<ASTAnnotation> getDeclaredAnnotations()
      Get all annotations present on this node.
      int getModifiers()
      Deprecated.
       
      boolean isAbstract()
      Deprecated.
       
      boolean isAnnotationPresent​(String annotQualifiedName)
      Checks whether the annotation is present on this node.
      boolean isAnyAnnotationPresent​(Collection<String> annotQualifiedNames)
      Checks whether any annotation is present on this node.
      boolean isDefault()
      Deprecated.
       
      boolean isFinal()
      Deprecated.
       
      boolean isNative()
      Deprecated.
       
      boolean isPackagePrivate()
      Deprecated.
       
      boolean isPrivate()
      Deprecated.
       
      boolean isProtected()
      Deprecated.
       
      boolean isPublic()
      Deprecated.
       
      boolean isStatic()
      Deprecated.
       
      boolean isStrictfp()
      Deprecated.
       
      boolean isSynchronized()
      Deprecated.
       
      boolean isTransient()
      Deprecated.
       
      boolean isVolatile()
      Deprecated.
       
      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 isVolative)
      Deprecated.
      • Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode

        children, getChild, getParent
      • Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
      • Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

        findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
      • Methods inherited from interface net.sourceforge.pmd.lang.symboltable.ScopedNode

        getScope
    • Constructor Detail

      • AbstractJavaAccessNode

        @Deprecated
        @InternalApi
        public AbstractJavaAccessNode​(int i)
        Deprecated.
      • AbstractJavaAccessNode

        @Deprecated
        @InternalApi
        public AbstractJavaAccessNode​(JavaParser parser,
                                      int i)
        Deprecated.
    • Method Detail

      • isPublic

        public boolean isPublic()
        Deprecated.
        Specified by:
        isPublic in interface AccessNode
      • isProtected

        public boolean isProtected()
        Deprecated.
        Specified by:
        isProtected in interface AccessNode
      • isPrivate

        public boolean isPrivate()
        Deprecated.
        Specified by:
        isPrivate in interface AccessNode
      • isAbstract

        public boolean isAbstract()
        Deprecated.
        Specified by:
        isAbstract in interface AccessNode
      • isStatic

        public boolean isStatic()
        Deprecated.
        Specified by:
        isStatic in interface AccessNode
      • isFinal

        public boolean isFinal()
        Deprecated.
        Specified by:
        isFinal in interface AccessNode
      • isNative

        public boolean isNative()
        Deprecated.
        Specified by:
        isNative in interface AccessNode
      • isTransient

        public boolean isTransient()
        Deprecated.
        Specified by:
        isTransient in interface AccessNode
      • isVolatile

        public boolean isVolatile()
        Deprecated.
        Specified by:
        isVolatile in interface AccessNode
      • isStrictfp

        public boolean isStrictfp()
        Deprecated.
        Specified by:
        isStrictfp in interface AccessNode
      • isDefault

        public boolean isDefault()
        Deprecated.
        Specified by:
        isDefault in interface AccessNode
      • getAnnotation

        public ASTAnnotation getAnnotation​(String annotQualifiedName)
        Description copied from interface: Annotatable
        Get specific annotaion on this node.
        Specified by:
        getAnnotation in interface Annotatable
        Parameters:
        annotQualifiedName - qulified name of the annotation.
        Returns:
        ASTAnnotaion node if the annotation is present on this node, else null
      • isAnnotationPresent

        public boolean isAnnotationPresent​(String annotQualifiedName)
        Description copied from interface: Annotatable
        Checks whether the annotation is present on this node.
        Specified by:
        isAnnotationPresent in interface Annotatable
        Parameters:
        annotQualifiedName - qulified name of the annotation.
        Returns:
        true if the annotation is present on this node, else false
      • isAnyAnnotationPresent

        public boolean isAnyAnnotationPresent​(Collection<String> annotQualifiedNames)
        Description copied from interface: Annotatable
        Checks whether any annotation is present on this node.
        Specified by:
        isAnyAnnotationPresent in interface Annotatable
        Parameters:
        annotQualifiedNames - collection that cotains qulified name of annotations.
        Returns:
        true if any annotation is present on this node, else false