public class ClasspathScannerDisk extends AbstractClasspathScanner
| Modifier and Type | Field and Description |
|---|---|
protected org.reflections.Reflections |
reflections |
| Constructor and Description |
|---|
ClasspathScannerDisk(ClasspathStrategy classpathStrategy,
boolean reachAbstractClass,
Set<URL> additionalClasspath,
String... packageRoots) |
ClasspathScannerDisk(ClasspathStrategy classpathStrategy,
Set<URL> additionalClasspath,
String... packageRoots) |
| Modifier and Type | Method and Description |
|---|---|
protected org.reflections.util.ConfigurationBuilder |
configurationBuilder() |
protected org.reflections.scanners.Scanner[] |
getScanners() |
Set<URL> |
getUrls() |
protected void |
initializeReflections() |
Set<String> |
scanResources(String pattern) |
Collection<Class<?>> |
scanSubTypesOf(Class<?> subType) |
Collection<Class<?>> |
scanSubTypesOf(String subTypeName) |
Collection<Class<?>> |
scanTypes(org.kametic.specifications.Specification<Class<?>> specification) |
Collection<Class<?>> |
scanTypes(String typeRegex) |
Collection<Class<?>> |
scanTypesAnnotatedBy(Class<? extends Annotation> annotationType) |
Collection<Class<?>> |
scanTypesAnnotatedBy(String annotationTypeRegex) |
Collection<Class<?>> |
scanTypesMetaAnnotated(Class<? extends Annotation> annotationType) |
Collection<Class<?>> |
scanTypesMetaAnnotated(String metaAnnotationRegex) |
postTreatmentpublic ClasspathScannerDisk(ClasspathStrategy classpathStrategy, Set<URL> additionalClasspath, String... packageRoots)
public ClasspathScannerDisk(ClasspathStrategy classpathStrategy, boolean reachAbstractClass, Set<URL> additionalClasspath, String... packageRoots)
protected void initializeReflections()
protected org.reflections.util.ConfigurationBuilder configurationBuilder()
public Collection<Class<?>> scanTypes(org.kametic.specifications.Specification<Class<?>> specification)
public Collection<Class<?>> scanTypesAnnotatedBy(Class<? extends Annotation> annotationType)
public Collection<Class<?>> scanTypes(String typeRegex)
public Collection<Class<?>> scanTypesAnnotatedBy(String annotationTypeRegex)
public Collection<Class<?>> scanTypesMetaAnnotated(Class<? extends Annotation> annotationType)
public Collection<Class<?>> scanTypesMetaAnnotated(String metaAnnotationRegex)
public Collection<Class<?>> scanSubTypesOf(Class<?> subType)
public Collection<Class<?>> scanSubTypesOf(String subTypeName)
protected org.reflections.scanners.Scanner[] getScanners()
Copyright © 2012-2016. All Rights Reserved.