类 FieldGetter
java.lang.Object
org.apache.skywalking.apm.agent.test.helper.FieldGetter
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T> Tget2LevelParentFieldValue(Object instance, String fieldName) static <T> TgetParentFieldValue(Object instance, String fieldName) static <T> T
-
构造器详细资料
-
FieldGetter
public FieldGetter()
-
-
方法详细资料
-
getValue
public static <T> T getValue(Object instance, String fieldName) throws IllegalAccessException, NoSuchFieldException -
getParentFieldValue
public static <T> T getParentFieldValue(Object instance, String fieldName) throws IllegalAccessException, NoSuchFieldException -
get2LevelParentFieldValue
public static <T> T get2LevelParentFieldValue(Object instance, String fieldName) throws IllegalAccessException, NoSuchFieldException
-