Class SourceSupplier

java.lang.Object
manifold.internal.javac.SourceSupplier

public class SourceSupplier extends Object
  • Constructor Details

    • SourceSupplier

      public SourceSupplier(String fqn, Set<ITypeManifold> tms, Supplier<String> supplier)
      Parameters:
      fqn - Qualified name of type
      tms - The set of type manifolds responsible for producing the source. An empty or null set implies no type manifolds are involved.
      supplier - Supplier of the source code.
  • Method Details

    • getSource

      public String getSource()
      Produce the source.
    • isPrimary

      public boolean isPrimary()
      Is this source supplier the primary or core producer of the source? As opposed to a supplementary or partial producer.
    • isSelfCompile

      public boolean isSelfCompile(String fqn)
    • parse

      public void parse(String fqn)
    • compile

      public byte[] compile(String fqn)
    • getResourceFiles

      public Set<IFile> getResourceFiles()