Interface DependencyAnalyzer
- All Known Implementing Classes:
ASMDependencyAnalyzer
public interface DependencyAnalyzer
Gets the set of classes referenced by a library given either as a jar file or an exploded directory.
- Author:
- Mark Hobson
-
Method Summary
Modifier and TypeMethodDescriptionanalyze.analyze
(URL url, ClassesPatterns excludeClasses) analyze.analyzeUsages
(URL url, ClassesPatterns excludeClasses) analyzeUsages.
-
Method Details
-
analyze
analyze.
- Parameters:
url
- the JAR file or directory to analyze- Returns:
- the set of class names referenced by the library
- Throws:
IOException
- if an error occurs reading a JAR or .class file
-