Package io.github.mkoncek.classpathless
Class ClasspathClassesProvider
java.lang.Object
io.github.mkoncek.classpathless.ClasspathClassesProvider
- All Implemented Interfaces:
ClassesProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllClasses
(List<String> classpath) getClass
(ClassIdentifier... names) Callback for compiler which provides, on demand, the dependencies the compiler is missing.Warning: may include lambdas and will include inner classes with $-notations.obtainClasspath
(String classpath)
-
Field Details
-
CP_SEPARATOR
-
classpath
-
classesToClassFilePaths
-
-
Constructor Details
-
ClasspathClassesProvider
-
-
Method Details
-
getClass
Description copied from interface:ClassesProvider
Callback for compiler which provides, on demand, the dependencies the compiler is missing.- Specified by:
getClass
in interfaceClassesProvider
- Parameters:
names
- Names of classes the provider should return- Returns:
- The bytecode files of all found classes
-
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 the provider's classpath
-
obtainClasspath
- Parameters:
classpath
-- Returns:
- Dummy list of strings representing the roots and /* expanded to jar files
-
findAllClasses
-