Class DependencyClassFileVisitor
java.lang.Object
org.apache.maven.shared.dependency.analyzer.asm.DependencyClassFileVisitor
- All Implemented Interfaces:
ClassFileVisitor
Computes the set of classes referenced by visited class files, using
DependencyVisitor.
- Author:
- Mark Hobson
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor for DependencyClassFileVisitor.DependencyClassFileVisitor
(ClassesPatterns excludedClasses) Constructor for DependencyClassFileVisitor. -
Method Summary
Modifier and TypeMethodDescriptiongetDependencies.getDependencyUsages.void
visitClass
(String className, InputStream in) visitClass.
-
Constructor Details
-
DependencyClassFileVisitor
public DependencyClassFileVisitor()Constructor for DependencyClassFileVisitor.
-
Method Details
-
visitClass
visitClass.
- Specified by:
visitClass
in interfaceClassFileVisitor
- Parameters:
className
- aString
object.in
- aInputStream
object.
-
getDependencies
getDependencies.
- Returns:
- the set of classes referenced by visited class files
-
getDependencyUsages
getDependencyUsages.
- Returns:
- the set of classes referenced by visited class files, paired with classes declaring the references.
-