org.eclipse.xpand2
Class XpandExecutionContextImpl.DefinitionOperationAdapter
java.lang.Object
org.eclipse.xpand2.XpandExecutionContextImpl.DefinitionOperationAdapter
- All Implemented Interfaces:
- Callable, Feature, Operation, ParameterizedCallable
- Enclosing class:
- XpandExecutionContextImpl
public class XpandExecutionContextImpl.DefinitionOperationAdapter
- extends java.lang.Object
- implements Operation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
def
public XpandDefinition def
XpandExecutionContextImpl.DefinitionOperationAdapter
public XpandExecutionContextImpl.DefinitionOperationAdapter(XpandDefinition def,
java.lang.String name,
Type owner,
java.util.List<Type> paramTypes)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Callable
getReturnType
public Type getReturnType()
- Specified by:
getReturnType
in interface Callable
getOwner
public Type getOwner()
- Specified by:
getOwner
in interface Feature
getParameterTypes
public java.util.List<Type> getParameterTypes()
- Specified by:
getParameterTypes
in interface ParameterizedCallable
evaluate
public java.lang.Object evaluate(java.lang.Object target,
java.lang.Object[] params)
- Specified by:
evaluate
in interface Operation
getDocumentation
public java.lang.String getDocumentation()
- Specified by:
getDocumentation
in interface Feature
getReturnType
public Type getReturnType(Type targetType,
Type[] paramTpes)
- Specified by:
getReturnType
in interface Operation