Interface ClassesProvider
-
- All Known Implementing Classes:
ClasspathClassesProvider
,NullClassesProvider
,SimpleClassesProvider
public interface ClassesProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<IdentifiedBytecode>
getClass(ClassIdentifier... names)
Callback for compiler which provides, on demand, the dependencies the compiler is missing.java.util.List<java.lang.String>
getClassPathListing()
Warning: may include lambdas and will include inner classes with $-notations.
-
-
-
Method Detail
-
getClass
java.util.Collection<IdentifiedBytecode> getClass(ClassIdentifier... names)
Callback for compiler which provides, on demand, the dependencies the compiler is missing.- Parameters:
names
- Names of classes the provider should return.- Returns:
- The bytecode files of all found classes. Must not be null.
-
getClassPathListing
java.util.List<java.lang.String> getClassPathListing()
Warning: may include lambdas and will include inner classes with $-notations. Intentionally not using ClassIdentifier, but may change to it.- Returns:
- All fully qualified classes visible from the provider's classpath.
-
-