Interface NameDeclaration

All Known Implementing Classes:
AbstractNameDeclaration

@Deprecated public interface NameDeclaration
Deprecated.
Since 7.19.0. For more info, see net.sourceforge.pmd.lang.symboltable.
This is a declaration of a name, e.g. a variable or method name. See AbstractNameDeclaration for a base class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Gets the image of the node.
    Deprecated.
    Gets the name of the declaration, such as the variable name.
    Deprecated.
    Gets the node which manifests the declaration.
    Deprecated.
    Gets the scope in which this name has been declared.
  • Method Details

    • getNode

      ScopedNode getNode()
      Deprecated.
      Gets the node which manifests the declaration.
      Returns:
      the node
    • getImage

      String getImage()
      Deprecated.
      Gets the image of the node. This is usually the name of the declaration such as the variable name.
      Returns:
      the image
      See Also:
    • getScope

      Scope getScope()
      Deprecated.
      Gets the scope in which this name has been declared.
      Returns:
      the scope
    • getName

      String getName()
      Deprecated.
      Gets the name of the declaration, such as the variable name.
      Returns: