public class GWTMetaDataScanner extends MetaDataScanner
MetaDataScanner.CacheHolder
ERRAI_CONFIG_STUB_NAME
configuration
primitiveDescriptors, primitiveNames, primitiveTypes
Constructor and Description |
---|
GWTMetaDataScanner(List<URL> urls) |
Modifier and Type | Method and Description |
---|---|
Set<Field> |
getFieldsAnnotatedWith(Class<? extends Annotation> annotation,
Collection<String> packages) |
Set<Method> |
getMethodsAnnotatedWith(Class<? extends Annotation> annotation,
Collection<String> packages) |
Set<Class<?>> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation)
get types annotated with a given annotation, both classes and annotations
|
Set<Class<?>> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Collection<String> packages) |
Set<Class<?>> |
getTypesAnnotatedWithExcluding(Class<? extends Annotation> annotation,
String excludeRegex) |
createInstance, createInstance, getConfigUrls, getConfigUrls, getErraiProperties, getHashForTypesAnnotatedWith, getMethodsAnnotatedWithExcluding, registerTypeHandler
collect, collect, collect, collect, collect, getConverters, getFieldsAnnotatedWith, getFieldsAnnotatedWith, getMethodsAnnotatedWith, getMethodsAnnotatedWith, getMethodsWithAnyParamAnnotated, getResources, getResources, getStore, getSubTypesOf, getTypesAnnotatedWith, getTypesAnnotatedWith, getTypesAnnotatedWith, merge, save, save, scan
areAnnotationMembersMatching, areAnnotationMembersMatching, forName, forNames, getAllSuperTypes, getAllSuperTypesAnnotatedWith, getMatchingAnnotations
public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation)
Reflections
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 returnedgetTypesAnnotatedWith
in class MetaDataScanner
public Set<Field> getFieldsAnnotatedWith(Class<? extends Annotation> annotation, Collection<String> packages)
getFieldsAnnotatedWith
in class MetaDataScanner
public Set<Method> getMethodsAnnotatedWith(Class<? extends Annotation> annotation, Collection<String> packages)
getMethodsAnnotatedWith
in class MetaDataScanner
public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation, Collection<String> packages)
getTypesAnnotatedWith
in class MetaDataScanner
public Set<Class<?>> getTypesAnnotatedWithExcluding(Class<? extends Annotation> annotation, String excludeRegex)
getTypesAnnotatedWithExcluding
in class MetaDataScanner
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.