Package org.joinfaces
Class ClasspathScanUtil
java.lang.Object
org.joinfaces.ClasspathScanUtil
Utility class for handling classpath scan results.
-
Method Summary
Modifier and TypeMethodDescriptionreadClassMap
(String resourceName, ClassLoader classLoader) readClassSet
(String resourceName, ClassLoader classLoader) static void
writeClassMap
(GenerationContext generationContext, String resourceFilePath, Map<Class<? extends Annotation>, Set<Class<?>>> classMap) static void
writeClassSet
(GenerationContext generationContext, String resourceFilePath, Collection<Class<?>> classes)
-
Method Details
-
readClassSet
-
writeClassSet
public static void writeClassSet(GenerationContext generationContext, String resourceFilePath, Collection<Class<?>> classes) -
readClassMap
public static Optional<Map<Class<? extends Annotation>,Set<Class<?>>>> readClassMap(String resourceName, ClassLoader classLoader) -
writeClassMap
public static void writeClassMap(GenerationContext generationContext, String resourceFilePath, Map<Class<? extends Annotation>, Set<Class<?>>> classMap)
-