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 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:
      api in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • startSource

      public void startSource(dotty.tools.dotc.util.SourceFile sourceFile)
      Specified by:
      startSource in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • mainClass

      public void mainClass(dotty.tools.dotc.util.SourceFile sourceFile, String className)
      Specified by:
      mainClass in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • enabled

      public boolean enabled()
      Specified by:
      enabled in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • usedName

      public void usedName(String className, String name, EnumSet<xsbti.UseScope> useScopes)
      Specified by:
      usedName in interface dotty.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:
      binaryDependency in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • classDependency

      public void classDependency(String onClassName, String sourceClassName, xsbti.api.DependencyContext context)
      Specified by:
      classDependency in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • generatedLocalClass

      public void generatedLocalClass(dotty.tools.dotc.util.SourceFile source, Path classFile)
      Specified by:
      generatedLocalClass in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • generatedNonLocalClass

      public void generatedNonLocalClass(dotty.tools.dotc.util.SourceFile source, Path classFile, String binaryClassName, String srcClassName)
      Specified by:
      generatedNonLocalClass in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • apiPhaseCompleted

      public void apiPhaseCompleted()
      Specified by:
      apiPhaseCompleted in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback
    • dependencyPhaseCompleted

      public void dependencyPhaseCompleted()
      Specified by:
      dependencyPhaseCompleted in interface dotty.tools.dotc.sbt.interfaces.IncrementalCallback