Package net.sourceforge.pmd.dcd.graph
Class ClassNode
- java.lang.Object
-
- net.sourceforge.pmd.dcd.graph.ClassNode
-
- All Implemented Interfaces:
Comparable<ClassNode>
,NodeVisitorAcceptor
@Deprecated public class ClassNode extends Object implements NodeVisitorAcceptor, Comparable<ClassNode>
Deprecated.SeeDCD
Represents a Class in a UsageGraph. Contains lists of FieldNodes, ConstructorNodes, and MethodNodes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
accept(NodeVisitor visitor, Object data)
Deprecated.int
compareTo(ClassNode that)
Deprecated.ConstructorNode
defineConstructor(String name, String desc)
Deprecated.FieldNode
defineField(String name, String desc)
Deprecated.MethodNode
defineMethod(String name, String desc)
Deprecated.boolean
equals(Object obj)
Deprecated.List<ConstructorNode>
getConstructorNodes()
Deprecated.List<FieldNode>
getFieldNodes()
Deprecated.List<MethodNode>
getMethodNodes()
Deprecated.String
getName()
Deprecated.Class<?>
getType()
Deprecated.int
hashCode()
Deprecated.
-
-
-
Constructor Detail
-
ClassNode
public ClassNode(String name)
Deprecated.
-
-
Method Detail
-
accept
public Object accept(NodeVisitor visitor, Object data)
Deprecated.- Specified by:
accept
in interfaceNodeVisitorAcceptor
-
getName
public String getName()
Deprecated.
-
getType
public Class<?> getType()
Deprecated.
-
defineConstructor
public ConstructorNode defineConstructor(String name, String desc)
Deprecated.
-
defineMethod
public MethodNode defineMethod(String name, String desc)
Deprecated.
-
getConstructorNodes
public List<ConstructorNode> getConstructorNodes()
Deprecated.
-
getMethodNodes
public List<MethodNode> getMethodNodes()
Deprecated.
-
compareTo
public int compareTo(ClassNode that)
Deprecated.- Specified by:
compareTo
in interfaceComparable<ClassNode>
-
-