Package net.sourceforge.pmd.dcd.graph
Class NodeVisitorAdapter
- java.lang.Object
-
- net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
-
- All Implemented Interfaces:
NodeVisitor
- Direct Known Subclasses:
DumpNodeVisitor
,UsageNodeVisitor
@Deprecated public class NodeVisitorAdapter extends Object implements NodeVisitor
Deprecated.SeeDCD
Adapter class for easy implementation of a NodeVisitor. Subclasses need only override methods to add behavior, and callsuper
to continue the visitation.
-
-
Constructor Summary
Constructors Constructor Description NodeVisitorAdapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
visit(ClassNode classNode, Object data)
Deprecated.Object
visit(ConstructorNode constructorNode, Object data)
Deprecated.Object
visit(FieldNode fieldNode, Object data)
Deprecated.Object
visit(MethodNode methodNode, Object data)
Deprecated.Object
visit(UsageGraph usageGraph, Object data)
Deprecated.Object
visitConstructors(ClassNode classNode, Object data)
Deprecated.Object
visitFields(ClassNode classNode, Object data)
Deprecated.Object
visitMethods(ClassNode classNode, Object data)
Deprecated.Object
visitUse(MemberNode memberNode, Object data)
Deprecated.Object
visitUser(MemberNode memberNode, Object data)
Deprecated.Object
visitUsers(MemberNode memberNode, Object data)
Deprecated.Object
visitUses(MemberNode memberNode, Object data)
Deprecated.
-
-
-
Method Detail
-
visit
public Object visit(UsageGraph usageGraph, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
-
visit
public Object visit(ClassNode classNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
-
visitFields
public Object visitFields(ClassNode classNode, Object data)
Deprecated.- Specified by:
visitFields
in interfaceNodeVisitor
-
visit
public Object visit(FieldNode fieldNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
-
visitConstructors
public Object visitConstructors(ClassNode classNode, Object data)
Deprecated.- Specified by:
visitConstructors
in interfaceNodeVisitor
-
visit
public Object visit(ConstructorNode constructorNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
-
visitMethods
public Object visitMethods(ClassNode classNode, Object data)
Deprecated.- Specified by:
visitMethods
in interfaceNodeVisitor
-
visit
public Object visit(MethodNode methodNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
-
visitUses
public Object visitUses(MemberNode memberNode, Object data)
Deprecated.- Specified by:
visitUses
in interfaceNodeVisitor
-
visitUse
public Object visitUse(MemberNode memberNode, Object data)
Deprecated.- Specified by:
visitUse
in interfaceNodeVisitor
-
visitUsers
public Object visitUsers(MemberNode memberNode, Object data)
Deprecated.- Specified by:
visitUsers
in interfaceNodeVisitor
-
visitUser
public Object visitUser(MemberNode memberNode, Object data)
Deprecated.- Specified by:
visitUser
in interfaceNodeVisitor
-
-