Class AbstractJavaTypeNode

    • Field Summary

      • Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Class<?> getType()
      Deprecated.
      Get the Java Class associated with this node.
      JavaTypeDefinition getTypeDefinition()
      Deprecated.
      Get the TypeDefinition associated with this node.
      void setType​(Class<?> type)
      Deprecated.
      void setTypeDefinition​(JavaTypeDefinition typeDefinition)
      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, getUserMap, 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, getUserMap, 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

      • AbstractJavaTypeNode

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

        @InternalApi
        @Deprecated
        public AbstractJavaTypeNode​(JavaParser p,
                                    int i)
        Deprecated.
    • Method Detail

      • getType

        public Class<?> getType()
        Deprecated.
        Description copied from interface: TypeNode
        Get the Java Class associated with this node.
        Specified by:
        getType in interface TypeNode
        Returns:
        The Java Class, may return null.
      • setType

        @InternalApi
        @Deprecated
        public void setType​(Class<?> type)
        Deprecated.
        Description copied from interface: TypeNode
        Set the Java Class associated with this node.
        Specified by:
        setType in interface TypeNode
        Parameters:
        type - A Java Class
      • getTypeDefinition

        public JavaTypeDefinition getTypeDefinition()
        Deprecated.
        Description copied from interface: TypeNode
        Get the TypeDefinition associated with this node. The Class object contained in the TypeDefinition will always be equal to that which is returned by getType().
        Specified by:
        getTypeDefinition in interface TypeNode
        Returns:
        The TypeDefinition, may return null
      • setTypeDefinition

        @InternalApi
        @Deprecated
        public void setTypeDefinition​(JavaTypeDefinition typeDefinition)
        Deprecated.
        Description copied from interface: TypeNode
        Set the TypeDefinition associated with this node.
        Specified by:
        setTypeDefinition in interface TypeNode
        Parameters:
        typeDefinition - A TypeDefinition object