org.apache.tools.ant.taskdefs.optional.depend

Class AntAnalyzer

Implemented Interfaces:
DependencyAnalyzer

public class AntAnalyzer
extends AbstractAnalyzer

An 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

AntAnalyzer()
Default constructor

Method Summary

protected void
determineDependencies(Vector files, Vector 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, determineDependencies, getClassContainer, getClassDependencies, getFileDependencies, getRootClasses, getSourceContainer, isClosureRequired, reset, setClosure, supportsFileDependencies

Constructor Details

AntAnalyzer

public AntAnalyzer()
Default constructor

Method Details

determineDependencies

protected void determineDependencies(Vector files,
                                     Vector classes)
Determine the dependencies of the configured root classes.
Overrides:
determineDependencies in interface AbstractAnalyzer
Parameters:
files - a vector to be populated with the files which contain the dependency classes
classes - a vector to be populated with the names of the dependency classes.

supportsFileDependencies

protected boolean supportsFileDependencies()
Indicate if this analyzer can determine dependent files.
Overrides:
supportsFileDependencies in interface AbstractAnalyzer
Returns:
true if the analyzer provides dependency file information.

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.