Package gw.lang.reflect.features
Interface IInvokableFeatureReference<R,T>
-
- All Superinterfaces:
IFeatureReference<R,T>
- All Known Subinterfaces:
IConstructorReference<R,T>,IMethodReference<R,T>
- All Known Implementing Classes:
BoundMethodReference,ConstructorReference,MethodReference
public interface IInvokableFeatureReference<R,T> extends IFeatureReference<R,T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectevaluate(Object... args)Evaluates reflectivelyObject[]getBoundArgValues()TgetInvoke()Returns the method reference as a block in an invocation-friendly syntaxTtoBlock()Returns the method reference as a block in a transformation-friendly syntax-
Methods inherited from interface gw.lang.reflect.features.IFeatureReference
getFeatureInfo, getRootType
-
-
-
-
Method Detail
-
getInvoke
T getInvoke()
Returns the method reference as a block in an invocation-friendly syntax
-
toBlock
T toBlock()
Returns the method reference as a block in a transformation-friendly syntax
-
getBoundArgValues
Object[] getBoundArgValues()
- Returns:
- an array of bound values if the feature had them, and null otherwise
-
-