Class NullClassesProvider

java.lang.Object
io.github.mkoncek.classpathless.helpers.NullClassesProvider
All Implemented Interfaces:
ClassesProvider

public class NullClassesProvider extends Object implements ClassesProvider
  • Field Details

  • Constructor Details

    • NullClassesProvider

      public NullClassesProvider(Map<String,IdentifiedBytecode> initialMapping)
    • NullClassesProvider

      public NullClassesProvider()
  • Method Details

    • getClassPathListing

      public List<String> getClassPathListing()
      Description copied from interface: ClassesProvider
      Warning: may include lambdas and will include inner classes with $-notations. Intentionally not using ClassIdentifier, but may change to it.
      Specified by:
      getClassPathListing in interface ClassesProvider
      Returns:
      All fully qualified classes visible from the provider's classpath
    • getClass

      public Collection<IdentifiedBytecode> getClass(ClassIdentifier... names)
      Description copied from interface: ClassesProvider
      Callback for compiler which provides, on demand, the dependencies the compiler is missing.
      Specified by:
      getClass in interface ClassesProvider
      Parameters:
      names - Names of classes the provider should return
      Returns:
      The bytecode files of all found classes