public final class Reflect extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends AnnotatedElement> |
annotatedBy(Class<? extends Annotation> annotationType) |
static com.google.inject.Key<?> |
buildKey(com.google.inject.TypeLiteral<?> type,
Annotation[] annotations) |
static Iterable<Field> |
findFields(Class<?> type,
com.google.common.base.Predicate<? super Field> predicate) |
static Iterable<Method> |
findMethods(Class<?> clazz) |
static List<com.google.inject.Key<?>> |
getParameterKeys(com.google.inject.TypeLiteral<?> injectedType,
Method injectedMember) |
static Class<?> |
getTargetClass(Class<?> proxy) |
static Class<?> |
getTargetClass(Object instance) |
static <T> com.google.inject.matcher.Matcher<T> |
matcher(com.google.common.base.Predicate<T> predicate) |
static <T extends Member> |
named(String methodName) |
static <T> com.google.common.base.Predicate<T> |
predicate(com.google.inject.matcher.Matcher<T> matcher) |
static com.google.common.base.Predicate<Method> |
withParameterTypes(Class<?>... classes) |
public static List<com.google.inject.Key<?>> getParameterKeys(com.google.inject.TypeLiteral<?> injectedType, Method injectedMember)
public static com.google.inject.Key<?> buildKey(com.google.inject.TypeLiteral<?> type,
Annotation[] annotations)
public static <T> com.google.common.base.Predicate<T> predicate(com.google.inject.matcher.Matcher<T> matcher)
public static <T> com.google.inject.matcher.Matcher<T> matcher(com.google.common.base.Predicate<T> predicate)
public static com.google.common.base.Predicate<Method> withParameterTypes(Class<?>... classes)
public static <T extends AnnotatedElement> com.google.common.base.Predicate<T> annotatedBy(Class<? extends Annotation> annotationType)
Copyright © 2010-2012 Mycila. All Rights Reserved.