Package dotty.tools.xsbt
Class IncrementalCallback
java.lang.Object
dotty.tools.xsbt.IncrementalCallback
- All Implemented Interfaces:
dotty.tools.dotc.sbt.interfaces.IncrementalCallback
public final class IncrementalCallback
extends Object
implements dotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
Constructor Summary
ConstructorsConstructorDescriptionIncrementalCallback(xsbti.AnalysisCallback delegate, Function<dotty.tools.dotc.util.SourceFile, xsbti.VirtualFile> asVirtualFile) -
Method Summary
Modifier and TypeMethodDescriptionvoidapi(dotty.tools.dotc.util.SourceFile sourceFile, xsbti.api.ClassLike classApi) voidvoidbinaryDependency(Path onBinaryEntry, String onBinaryClassName, String fromClassName, dotty.tools.dotc.util.SourceFile fromSourceFile, xsbti.api.DependencyContext context) voidclassDependency(String onClassName, String sourceClassName, xsbti.api.DependencyContext context) voidbooleanenabled()voidgeneratedLocalClass(dotty.tools.dotc.util.SourceFile source, Path classFile) voidgeneratedNonLocalClass(dotty.tools.dotc.util.SourceFile source, Path classFile, String binaryClassName, String srcClassName) voidvoidstartSource(dotty.tools.dotc.util.SourceFile sourceFile) void
-
Constructor Details
-
IncrementalCallback
public IncrementalCallback(xsbti.AnalysisCallback delegate, Function<dotty.tools.dotc.util.SourceFile, xsbti.VirtualFile> asVirtualFile)
-
-
Method Details
-
api
public void api(dotty.tools.dotc.util.SourceFile sourceFile, xsbti.api.ClassLike classApi) - Specified by:
apiin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
startSource
public void startSource(dotty.tools.dotc.util.SourceFile sourceFile) - Specified by:
startSourcein interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
mainClass
- Specified by:
mainClassin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
enabled
public boolean enabled()- Specified by:
enabledin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
usedName
- Specified by:
usedNamein interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
binaryDependency
public void binaryDependency(Path onBinaryEntry, String onBinaryClassName, String fromClassName, dotty.tools.dotc.util.SourceFile fromSourceFile, xsbti.api.DependencyContext context) - Specified by:
binaryDependencyin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
classDependency
public void classDependency(String onClassName, String sourceClassName, xsbti.api.DependencyContext context) - Specified by:
classDependencyin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
generatedLocalClass
- Specified by:
generatedLocalClassin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
generatedNonLocalClass
public void generatedNonLocalClass(dotty.tools.dotc.util.SourceFile source, Path classFile, String binaryClassName, String srcClassName) - Specified by:
generatedNonLocalClassin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
apiPhaseCompleted
public void apiPhaseCompleted()- Specified by:
apiPhaseCompletedin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-
dependencyPhaseCompleted
public void dependencyPhaseCompleted()- Specified by:
dependencyPhaseCompletedin interfacedotty.tools.dotc.sbt.interfaces.IncrementalCallback
-