diff --git a/interface/other b/interface/other index 78ebbc3c8..64b09422d 100644 --- a/interface/other +++ b/interface/other @@ -1,7 +1,16 @@ Source + compilation: Compilation + hash: Byte* + api: SourceAPI + +SourceAPI packages : Package* definitions: Definition* +Compilation + startTime: Long + target: String + Package name: String diff --git a/interface/src/main/java/xsbti/AnalysisCallback.java b/interface/src/main/java/xsbti/AnalysisCallback.java index d3eb2ab54..efca555c4 100644 --- a/interface/src/main/java/xsbti/AnalysisCallback.java +++ b/interface/src/main/java/xsbti/AnalysisCallback.java @@ -23,5 +23,5 @@ public interface AnalysisCallback /** Called after the source at the given location has been processed. */ public void endSource(File sourcePath); /** Called when the public API of a source file is extracted. */ - public void api(File sourceFile, xsbti.api.Source source); + public void api(File sourceFile, xsbti.api.SourceAPI source); } \ No newline at end of file diff --git a/interface/src/test/scala/TestCallback.scala b/interface/src/test/scala/TestCallback.scala index d554a9a08..c49e11317 100644 --- a/interface/src/test/scala/TestCallback.scala +++ b/interface/src/test/scala/TestCallback.scala @@ -10,7 +10,7 @@ class TestCallback extends AnalysisCallback val sourceDependencies = new ArrayBuffer[(File, File)] val binaryDependencies = new ArrayBuffer[(File, String, File)] val products = new ArrayBuffer[(File, File)] - val apis = new ArrayBuffer[(File, xsbti.api.Source)] + val apis = new ArrayBuffer[(File, xsbti.api.SourceAPI)] def beginSource(source: File) { beganSources += source } @@ -19,5 +19,5 @@ class TestCallback extends AnalysisCallback def generatedClass(source: File, module: File) { products += ((source, module)) } def endSource(source: File) { endedSources += source } - def api(source: File, sourceAPI: xsbti.api.Source) { apis += ((source, sourceAPI)) } + def api(source: File, sourceAPI: xsbti.api.SourceAPI) { apis += ((source, sourceAPI)) } } \ No newline at end of file