Package net.sourceforge.pmd.dcd
Class UsageNodeVisitor
- java.lang.Object
-
- net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
-
- net.sourceforge.pmd.dcd.UsageNodeVisitor
-
- All Implemented Interfaces:
NodeVisitor
@Deprecated public class UsageNodeVisitor extends NodeVisitorAdapter
Deprecated.SeeDCD
Perform a visitation a UsageGraph, looking for dead code, which is essential code which is not used by any other code. There are various options for configuration how this determination is made.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UsageNodeVisitor.Options
Deprecated.Configuration options for usage analysis.
-
Constructor Summary
Constructors Constructor Description UsageNodeVisitor()
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.-
Methods inherited from class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
visitConstructors, visitFields, visitMethods, visitUse, visitUser, visitUsers, visitUses
-
-
-
-
Method Detail
-
visit
public Object visit(UsageGraph usageGraph, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
- Overrides:
visit
in classNodeVisitorAdapter
-
visit
public Object visit(ClassNode classNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
- Overrides:
visit
in classNodeVisitorAdapter
-
visit
public Object visit(FieldNode fieldNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
- Overrides:
visit
in classNodeVisitorAdapter
-
visit
public Object visit(ConstructorNode constructorNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
- Overrides:
visit
in classNodeVisitorAdapter
-
visit
public Object visit(MethodNode methodNode, Object data)
Deprecated.- Specified by:
visit
in interfaceNodeVisitor
- Overrides:
visit
in classNodeVisitorAdapter
-
-