Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.depend

public Class AntAnalyzer

extends AbstractAnalyzer
Class Inheritance
Imports
java.io.File, .IOException, .InputStream, java.nio.file.Files, .Paths, java.util.Collections, .HashSet, .Set, .Vector, org.apache.tools.ant.types.resources.ZipResource, org.apache.tools.ant.util.depend.AbstractAnalyzer, org.apache.tools.zip.ZipFile

An analyzer which uses the depend task's bytecode classes to analyze dependencies

Field Summary

Inherited from org.apache.tools.ant.util.depend.AbstractAnalyzer:
MAX_LOOPS

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
determineDependencies(Vector<File>
a vector to be populated with the files which contain the dependency classes
files
,
Vector<String>
a vector to be populated with the names of the dependency classes.
classes
)

Implements abstract org.apache.tools.ant.util.depend.AbstractAnalyzer.determineDependencies.

Determine the dependencies of the configured root classes.
protected boolean

Returns:

true if the analyzer provides dependency file information.
supportsFileDependencies
()

Implements abstract org.apache.tools.ant.util.depend.AbstractAnalyzer.supportsFileDependencies.

Indicate if this analyzer can determine dependent files.
Inherited from org.apache.tools.ant.util.depend.AbstractAnalyzer:
addClassPathaddRootClassaddSourcePathconfiggetClassContainergetClassDependenciesgetFileDependenciesgetRootClassesgetSourceContainerisClosureRequiredresetsetClosure

Constructor Detail

AntAnalyzerback to summary
public AntAnalyzer()

Method Detail

determineDependenciesback to summary
protected void determineDependencies(Vector<File> files, Vector<String> classes)

Implements abstract org.apache.tools.ant.util.depend.AbstractAnalyzer.determineDependencies.

Determine the dependencies of the configured root classes.

Parameters
files:Vector<File>

a vector to be populated with the files which contain the dependency classes

classes:Vector<String>

a vector to be populated with the names of the dependency classes.

Annotations
@Override
supportsFileDependenciesback to summary
protected boolean supportsFileDependencies()

Implements abstract org.apache.tools.ant.util.depend.AbstractAnalyzer.supportsFileDependencies.

Indicate if this analyzer can determine dependent files.

Returns:boolean

true if the analyzer provides dependency file information.

Annotations
@Override