public class ReflectionsClassFinder extends Object implements ClassFinder
ClassFinder.CachedClassFinder, ClassFinder.DefaultClassFinder| Constructor and Description |
|---|
ReflectionsClassFinder(URL... urls)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Class<?>> |
getAnnotatedClasses(Class<? extends Annotation> clazz) |
ClassLoader |
getClassLoader() |
URL |
getResource(String name) |
<T> Set<Class<? extends T>> |
getSubTypesOf(Class<T> type) |
<T> Class<T> |
loadClass(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotatedClasses, getSubTypesOfpublic ReflectionsClassFinder(URL... urls)
urls - the list of urls for finding classes.public Set<Class<?>> getAnnotatedClasses(Class<? extends Annotation> clazz)
getAnnotatedClasses in interface ClassFinderpublic URL getResource(String name)
getResource in interface ClassFinderpublic <T> Class<T> loadClass(String name) throws ClassNotFoundException
loadClass in interface ClassFinderClassNotFoundExceptionpublic <T> Set<Class<? extends T>> getSubTypesOf(Class<T> type)
getSubTypesOf in interface ClassFinderpublic ClassLoader getClassLoader()
getClassLoader in interface ClassFinderCopyright © 2000–2021 Vaadin Ltd. All rights reserved.