public class MethodReference extends MethodInfo
Constructor and Description |
---|
MethodReference(Object base,
Method method) |
MethodReference(Object base,
Method method,
Object[] actualParameters,
boolean fromMethod) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getActualParameters()
Returns the actual (evaluated) parameters of the method call.
|
Object |
getBase()
Returns the base of the EL method expression.
|
Method |
getMethod()
Returns the concrete
Method instance of the EL method expression. |
boolean |
isFromMethod()
Returns
true if this method reference is from an actual method call and not from a getter of a property. |
getName, getParamTypes, getReturnType
public static final Object[] NO_PARAMS
public Object getBase()
getMethod()
should be invoked.public Method getMethod()
Method
instance of the EL method expression. Usually, this is a method of the
class behind getBase()
.Method
instance of the EL method expression.public Object[] getActualParameters()
null
. Those should be passed to Method.invoke(Object, Object...)
.public boolean isFromMethod()
true
if this method reference is from an actual method call and not from a getter of a property.true
if this method reference is from an actual method call and not from a getter of a property.Copyright © 2012–2021 OmniFaces. All rights reserved.