Class NullClassesProvider
- java.lang.Object
-
- io.github.mkoncek.classpathless.impl.NullClassesProvider
-
- All Implemented Interfaces:
ClassesProvider
public class NullClassesProvider extends Object implements ClassesProvider
-
-
Constructor Summary
Constructors Constructor Description NullClassesProvider()
NullClassesProvider(Map<String,IdentifiedBytecode> initialMapping)
-
Method Summary
All Methods Static 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.static void
main(String[] args)
-
-
-
Constructor Detail
-
NullClassesProvider
public NullClassesProvider(Map<String,IdentifiedBytecode> initialMapping)
-
NullClassesProvider
public NullClassesProvider()
-
-
Method Detail
-
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
-
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
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-