Package io.bindingz.api.client
Class ClassGraphTypeScanner
- java.lang.Object
-
- io.bindingz.api.client.ClassGraphTypeScanner
-
- All Implemented Interfaces:
TypeScanner
public class ClassGraphTypeScanner extends Object implements TypeScanner
-
-
Constructor Summary
Constructors Constructor Description ClassGraphTypeScanner(ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getClass(String className)<T> List<Class<? extends T>>getSubTypesOf(Class<T> type, String... packages)<T> List<Class<? extends T>>getSubTypesOf(Class<T> type, List<String> packages)List<Class<?>>getTypesAnnotatedWith(Class<?> type, String... packages)List<Class<?>>getTypesAnnotatedWith(Class<?> type, List<String> packages)
-
-
-
Constructor Detail
-
ClassGraphTypeScanner
public ClassGraphTypeScanner(ClassLoader classLoader)
-
-
Method Detail
-
getClass
public Class<?> getClass(String className)
- Specified by:
getClassin interfaceTypeScanner
-
getSubTypesOf
public <T> List<Class<? extends T>> getSubTypesOf(Class<T> type, String... packages)
- Specified by:
getSubTypesOfin interfaceTypeScanner
-
getSubTypesOf
public <T> List<Class<? extends T>> getSubTypesOf(Class<T> type, List<String> packages)
- Specified by:
getSubTypesOfin interfaceTypeScanner
-
getTypesAnnotatedWith
public List<Class<?>> getTypesAnnotatedWith(Class<?> type, String... packages)
- Specified by:
getTypesAnnotatedWithin interfaceTypeScanner
-
getTypesAnnotatedWith
public List<Class<?>> getTypesAnnotatedWith(Class<?> type, List<String> packages)
- Specified by:
getTypesAnnotatedWithin interfaceTypeScanner
-
-