Class AncestorAnalyzer
java.lang.Object
org.apache.tools.ant.util.depend.AbstractAnalyzer
org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer
- All Implemented Interfaces:
DependencyAnalyzer
public class AncestorAnalyzer extends AbstractAnalyzer
A dependency analyzer which returns superclass and superinterface
dependencies.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AncestorAnalyzer()Default constructor Causes the BCEL classes to load to ensure BCEL dependencies can be satisfied -
Method Summary
Modifier and Type Method Description protected voiddetermineDependencies(java.util.Vector<java.io.File> files, java.util.Vector<java.lang.String> classes)Determine the dependencies of the configured root classes.protected booleansupportsFileDependencies()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
-
Constructor Details
-
AncestorAnalyzer
public AncestorAnalyzer()Default constructor Causes the BCEL classes to load to ensure BCEL dependencies can be satisfied
-
-
Method Details
-
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:
determineDependenciesin 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:
supportsFileDependenciesin classAbstractAnalyzer- Returns:
- true if the analyzer provides dependency file information.
-