public class ReflectionUtil
extends java.lang.Object
| Constructor and Description |
|---|
ReflectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.reflect.Field |
getField(java.lang.Class<?> cls,
java.lang.String fieldName)
Gets a field of a class, searching the superclasses as well
|
public static java.lang.reflect.Field getField(java.lang.Class<?> cls,
java.lang.String fieldName)
throws java.lang.NoSuchFieldException
cls - the classfieldName - the name of the fieldjava.lang.NoSuchFieldExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.