org.jboss.errai.common.metadata
Class GWTMetaDataScanner
java.lang.Object
org.jboss.errai.reflections.ReflectionUtils
org.jboss.errai.reflections.Reflections
org.jboss.errai.common.metadata.MetaDataScanner
org.jboss.errai.common.metadata.GWTMetaDataScanner
public class GWTMetaDataScanner
- extends MetaDataScanner
- Author:
- Mike Brock
Methods inherited from class org.jboss.errai.reflections.Reflections |
collect, collect, collect, collect, collect, getConverters, getFieldsAnnotatedWith, getFieldsAnnotatedWith, getMethodsAnnotatedWith, getMethodsAnnotatedWith, getMethodsWithAnyParamAnnotated, getResources, getResources, getStore, getSubTypesOf, getTypesAnnotatedWith, getTypesAnnotatedWith, getTypesAnnotatedWith, merge, save, save, scan |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GWTMetaDataScanner
public GWTMetaDataScanner(List<URL> urls)
getTypesAnnotatedWith
public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation)
- Description copied from class:
Reflections
- get types annotated with a given annotation, both classes and annotations
Inherited
is honored
Note that this (@Inherited) meta-annotation type has no effect if the annotated type is used for anything other than a class.
Also, this meta-annotation causes annotations to be inherited only from superclasses; annotations on implemented interfaces have no effect.
depends on TypeAnnotationsScanner and SubTypesScanner configured, otherwise an empty set is returned
- Overrides:
getTypesAnnotatedWith
in class MetaDataScanner
getFieldsAnnotatedWith
public Set<Field> getFieldsAnnotatedWith(Class<? extends Annotation> annotation,
Collection<String> packages)
- Overrides:
getFieldsAnnotatedWith
in class MetaDataScanner
getMethodsAnnotatedWith
public Set<Method> getMethodsAnnotatedWith(Class<? extends Annotation> annotation,
Collection<String> packages)
- Overrides:
getMethodsAnnotatedWith
in class MetaDataScanner
getTypesAnnotatedWith
public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Collection<String> packages)
- Overrides:
getTypesAnnotatedWith
in class MetaDataScanner
getTypesAnnotatedWithExcluding
public Set<Class<?>> getTypesAnnotatedWithExcluding(Class<? extends Annotation> annotation,
String excludeRegex)
- Overrides:
getTypesAnnotatedWithExcluding
in class MetaDataScanner
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.