Record and persist public inheritance dependencies.

Includes placeholders for adding public inherited dependencies for Java classes.
This commit is contained in:
Mark Harrah 2013-04-26 22:35:27 -04:00
parent 9d21724129
commit 5f53b89509
1 changed files with 8 additions and 4 deletions

View File

@ -12,11 +12,15 @@ public interface AnalysisCallback
/** Called to indicate that the source file <code>source</code> depends on the source file /** Called to indicate that the source file <code>source</code> depends on the source file
* <code>dependsOn</code>. Note that only source files included in the current compilation will * <code>dependsOn</code>. Note that only source files included in the current compilation will
* passed to this method. Dependencies on classes generated by sources not in the current compilation will * passed to this method. Dependencies on classes generated by sources not in the current compilation will
* be passed as class dependencies to the classDependency method.*/ * be passed as class dependencies to the classDependency method.
public void sourceDependency(File dependsOn, File source); * If <code>publicInherited</code> is true, this dependency is a result of inheritance by a
* template accessible outside of the source file. */
public void sourceDependency(File dependsOn, File source, boolean publicInherited);
/** Called to indicate that the source file <code>source</code> depends on the top-level /** Called to indicate that the source file <code>source</code> depends on the top-level
* class named <code>name</code> from class or jar file <code>binary</code>. */ * class named <code>name</code> from class or jar file <code>binary</code>.
public void binaryDependency(File binary, String name, File source); * If <code>publicInherited</code> is true, this dependency is a result of inheritance by a
* template accessible outside of the source file. */
public void binaryDependency(File binary, String name, File source, boolean publicInherited);
/** Called to indicate that the source file <code>source</code> produces a class file at /** Called to indicate that the source file <code>source</code> produces a class file at
* <code>module</code> contain class <code>name</code>.*/ * <code>module</code> contain class <code>name</code>.*/
public void generatedClass(File source, File module, String name); public void generatedClass(File source, File module, String name);