Class SimpleClassesProvider

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

public class SimpleClassesProvider extends Object implements ClassesProvider
  • Field Details

  • Constructor Details

    • SimpleClassesProvider

      public SimpleClassesProvider(Collection<IdentifiedBytecode> bytecodes)
    • SimpleClassesProvider

      public SimpleClassesProvider()
  • Method Details

    • 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
    • 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