org.jboss.errai.config.util
Class ClassScanner
java.lang.Object
org.jboss.errai.config.util.ClassScanner
public final class ClassScanner
- extends Object
- Author:
- Mike Brock
Method Summary |
static Collection<MetaField> |
getFieldsAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static Collection<MetaMethod> |
getMethodsAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static Collection<MetaParameter> |
getParametersAnnotatedWith(Class<? extends Annotation> annotation,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static Collection<MetaParameter> |
getParametersAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static Collection<MetaClass> |
getSubTypesOf(MetaClass metaClass,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static AtomicLong |
getTotalClassScanTime()
|
static Collection<MetaClass> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation)
|
static Collection<MetaClass> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation,
boolean reflections)
|
static Collection<MetaClass> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static Collection<MetaClass> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static Collection<MetaClass> |
getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
String excludeRegEx,
com.google.gwt.core.ext.GeneratorContext genCtx,
boolean reflections)
|
static Collection<MetaClass> |
getTypesAnnotatedWithExcluding(Class<? extends Annotation> annotation,
String excludeRegex,
com.google.gwt.core.ext.GeneratorContext genCtx)
|
static void |
setReflectionsScanning(boolean bool)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getParametersAnnotatedWith
public static Collection<MetaParameter> getParametersAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
getParametersAnnotatedWith
public static Collection<MetaParameter> getParametersAnnotatedWith(Class<? extends Annotation> annotation,
com.google.gwt.core.ext.GeneratorContext genCtx)
getTypesAnnotatedWith
public static Collection<MetaClass> getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
String excludeRegEx,
com.google.gwt.core.ext.GeneratorContext genCtx,
boolean reflections)
getTypesAnnotatedWith
public static Collection<MetaClass> getTypesAnnotatedWith(Class<? extends Annotation> annotation)
getTypesAnnotatedWith
public static Collection<MetaClass> getTypesAnnotatedWith(Class<? extends Annotation> annotation,
boolean reflections)
getTypesAnnotatedWith
public static Collection<MetaClass> getTypesAnnotatedWith(Class<? extends Annotation> annotation,
com.google.gwt.core.ext.GeneratorContext genCtx)
getTypesAnnotatedWith
public static Collection<MetaClass> getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
getTypesAnnotatedWithExcluding
public static Collection<MetaClass> getTypesAnnotatedWithExcluding(Class<? extends Annotation> annotation,
String excludeRegex,
com.google.gwt.core.ext.GeneratorContext genCtx)
getMethodsAnnotatedWith
public static Collection<MetaMethod> getMethodsAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
getFieldsAnnotatedWith
public static Collection<MetaField> getFieldsAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx)
getSubTypesOf
public static Collection<MetaClass> getSubTypesOf(MetaClass metaClass,
com.google.gwt.core.ext.GeneratorContext genCtx)
setReflectionsScanning
public static void setReflectionsScanning(boolean bool)
getTotalClassScanTime
public static AtomicLong getTotalClassScanTime()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.