Package io.github.mkoncek.classpathless
Class ClasspathClassesProvider
- java.lang.Object
-
- io.github.mkoncek.classpathless.ClasspathClassesProvider
-
- All Implemented Interfaces:
ClassesProvider
public class ClasspathClassesProvider extends Object implements ClassesProvider
-
-
Constructor Summary
Constructors Constructor Description ClasspathClassesProvider(String classpath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<IdentifiedBytecode>
getClass(ClassIdentifier... names)
Callback for compiler, which provides, on demand, the dependencies compiler is missing.List<String>
getClassPathListing()
Warning: may include lambdas and will include inner classes with $notations.
-
-
-
Constructor Detail
-
ClasspathClassesProvider
public ClasspathClassesProvider(String classpath)
-
-
Method Detail
-
getClass
public Collection<IdentifiedBytecode> getClass(ClassIdentifier... names)
Description copied from interface:ClassesProvider
Callback for compiler, which provides, on demand, the dependencies compiler is missing.- Specified by:
getClass
in interfaceClassesProvider
- Parameters:
names
- names of classes the provider should return- Returns:
- bytecode 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 interfaceClassesProvider
- Returns:
- all fully qualified classes visible from classpath
-
-