org.apache.tools.ant.taskdefs.optional.dependClass AntAnalyzer
- java.lang.Object
- org.apache.tools.ant.util.depend.AbstractAnalyzer
- org.apache.tools.ant.taskdefs.optional.depend.AntAnalyzer
- All Implemented Interfaces:
- DependencyAnalyzer
public class AntAnalyzer extends AbstractAnalyzerAn analyzer which uses the depend task's bytecode classes to analyze dependencies
Field Summary
Fields inherited from class org.apache.tools.ant.util.depend.AbstractAnalyzer
MAX_LOOPS
Constructor Summary
Constructors Constructor and Description AntAnalyzer()
Default constructor
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected void
determineDependencies(java.util.Vector<java.io.File> files, java.util.Vector<java.lang.String> classes)
Determine the dependencies of the configured root classes.protected boolean
supportsFileDependencies()
Indicate if this analyzer can determine dependent files.
Methods inherited from class org.apache.tools.ant.util.depend.AbstractAnalyzer
addClassPath, addRootClass, addSourcePath, config, getClassContainer, getClassDependencies, getFileDependencies, getRootClasses, getSourceContainer, isClosureRequired, reset, setClosure
Method Detail
determineDependencies
protected void determineDependencies(java.util.Vector<java.io.File> files, java.util.Vector<java.lang.String> classes)Determine the dependencies of the configured root classes.
- Specified by:
determineDependencies
in classAbstractAnalyzer
- Parameters:
files
- a vector to be populated with the files which contain the dependency classesclasses
- a vector to be populated with the names of the dependency classes.
supportsFileDependencies
protected boolean supportsFileDependencies()Indicate if this analyzer can determine dependent files.
- Specified by:
supportsFileDependencies
in classAbstractAnalyzer
- Returns:
- true if the analyzer provides dependency file information.