public class ClassRelector extends Object
| Constructor and Description |
|---|
ClassRelector(Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
List<Field> |
getAnnotatedFields(Class<? extends Annotation> annotation) |
Method |
getConfiguratorMethod() |
static List<Field> |
getFieldsByType(Class<?> clazz,
Object daoObject) |
net.vidageek.mirror.list.dsl.MirrorList<Method> |
getMethodsAnnotedWith(Class<Configurator> annotation) |
net.vidageek.mirror.list.dsl.MirrorList<Method> |
getMethodsMatching(net.vidageek.mirror.list.dsl.Matcher<Method> matcher) |
static void |
injectOn(Field field,
Object instance,
Object value) |
Object |
invokeStatic(Method method) |
static Object |
newInstanceOf(Field field) |
public ClassRelector(Class<?> clazz)
public List<Field> getAnnotatedFields(Class<? extends Annotation> annotation)
public net.vidageek.mirror.list.dsl.MirrorList<Method> getMethodsMatching(net.vidageek.mirror.list.dsl.Matcher<Method> matcher)
public net.vidageek.mirror.list.dsl.MirrorList<Method> getMethodsAnnotedWith(Class<Configurator> annotation)
public Method getConfiguratorMethod()
public static List<Field> getFieldsByType(Class<?> clazz, Object daoObject) throws IllegalAccessException
IllegalAccessExceptionpublic static void injectOn(Field field, Object instance, Object value) throws IllegalArgumentException, IllegalAccessException
public static Object newInstanceOf(Field field) throws InstantiationException, IllegalAccessException
Copyright © 2015. All rights reserved.