Class ClassNameDeclaration
- java.lang.Object
-
- net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
-
- net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
- All Implemented Interfaces:
TypedNameDeclaration
,NameDeclaration
public class ClassNameDeclaration extends AbstractNameDeclaration implements TypedNameDeclaration
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
node
-
-
Constructor Summary
Constructors Constructor Description ClassNameDeclaration(JavaNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getAccessNodeParent()
Class<?>
getType()
String
getTypeImage()
TypeNode
getTypeNode()
Null for anonymous classes.String
toString()
-
Methods inherited from class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
getImage, getName, getNode, getScope
-
-
-
-
Constructor Detail
-
ClassNameDeclaration
public ClassNameDeclaration(JavaNode node)
-
-
Method Detail
-
getAccessNodeParent
public Node getAccessNodeParent()
-
getTypeImage
public String getTypeImage()
- Specified by:
getTypeImage
in interfaceTypedNameDeclaration
-
getType
public Class<?> getType()
- Specified by:
getType
in interfaceTypedNameDeclaration
-
getTypeNode
public TypeNode getTypeNode()
Null for anonymous classes.- Specified by:
getTypeNode
in interfaceTypedNameDeclaration
-
-