public class ReflectionUtils extends Object
| Constructor and Description |
|---|
ReflectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
buildWithConstructor(Class<T> toBuild,
Object... args) |
static <T> T |
buildWithNoArgConstructor(Class<T> c) |
static List<Field> |
getAllFields(Class<?> c) |
static Field |
getField(Class<?> c,
String fieldName) |
public static <T> T buildWithNoArgConstructor(Class<T> c)
public static Field getField(Class<?> c, String fieldName) throws NoSuchFieldException
NoSuchFieldExceptionCopyright © 2017. All Rights Reserved.