public final class ExpressionUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
getValue(Object instance,
Expression expression)
获取值
|
static <T> T |
getValue(Object instance,
Expression expression,
Class<T> targetClass)
获取值
|
static Object |
getValue(Object instance,
String expressionValue)
获取值
|
static <T> T |
getValue(Object instance,
String expressionValue,
Class<T> targetClass)
获取值
|
public static final Object getValue(Object instance, String expressionValue)
instance - 实例expressionValue - 表达式字符串public static final <T> T getValue(Object instance, String expressionValue, Class<T> targetClass)
T - instance - 实例expressionValue - 表达式字符串targetClass - 目标类型public static final <T> T getValue(Object instance, Expression expression, Class<T> targetClass)
T - instance - 实例expression - 表达式targetClass - 目标类型public static final Object getValue(Object instance, Expression expression)
instance - 实例expression - 表达式Copyright © 2017–2018. All rights reserved.