public class BoundMethodReference<R,T> extends FeatureReference<R,T> implements IMethodReference<R,T>
| Constructor and Description |
|---|
BoundMethodReference(IType rootType,
Object ctx,
String funcName,
IType[] params,
Object[] boundValues) |
| Modifier and Type | Method and Description |
|---|---|
BoundMethodReference |
copyWithVoidReturn() |
boolean |
equals(Object o) |
Object |
evaluate(Iterator args) |
Object |
evaluate(Object... args)
Evaluates reflectively
|
Object[] |
getBoundArgValues() |
Object |
getCtx() |
IFeatureInfo |
getFeatureInfo() |
List<IType> |
getFullArgTypes() |
T |
getInvoke()
Returns the method reference as a block in an invocation-friendly syntax
|
IMethodInfo |
getMethodInfo()
Returns the method info for this reference
|
IType |
getRootType() |
int |
hashCode() |
protected boolean |
hasReturn() |
T |
toBlock()
Returns the method reference as a block in a transformation-friendly syntax
|
public BoundMethodReference copyWithVoidReturn()
copyWithVoidReturn in interface IMethodReference<R,T>protected boolean hasReturn()
hasReturn in class FeatureReference<R,T>public IMethodInfo getMethodInfo()
IMethodReferencegetMethodInfo in interface IMethodReference<R,T>public T getInvoke()
IInvokableFeatureReferencegetInvoke in interface IInvokableFeatureReference<R,T>public Object evaluate(Object... args)
IInvokableFeatureReferenceevaluate in interface IInvokableFeatureReference<R,T>public Object evaluate(Iterator args)
evaluate in class FeatureReference<R,T>public IType getRootType()
getRootType in interface IFeatureReference<R,T>public T toBlock()
IInvokableFeatureReferencetoBlock in interface IInvokableFeatureReference<R,T>public Object[] getBoundArgValues()
getBoundArgValues in interface IInvokableFeatureReference<R,T>public IFeatureInfo getFeatureInfo()
getFeatureInfo in interface IFeatureReference<R,T>public List<IType> getFullArgTypes()
getFullArgTypes in class FeatureReference<R,T>public Object getCtx()
Copyright © 2020. All rights reserved.