org.eclipse.xpand2
Class XpandExecutionContextImpl.DefinitionOperationAdapter

java.lang.Object
  extended by 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


Field Summary
 XpandDefinition def
           
 
Constructor Summary
XpandExecutionContextImpl.DefinitionOperationAdapter(XpandDefinition def, java.lang.String name, Type owner, java.util.List<Type> paramTypes)
           
 
Method Summary
 java.lang.Object evaluate(java.lang.Object target, java.lang.Object[] params)
           
 java.lang.String getDocumentation()
           
 java.lang.String getName()
           
 Type getOwner()
           
 java.util.List<Type> getParameterTypes()
           
 Type getReturnType()
           
 Type getReturnType(Type targetType, Type[] paramTpes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

def

public XpandDefinition def
Constructor Detail

XpandExecutionContextImpl.DefinitionOperationAdapter

public XpandExecutionContextImpl.DefinitionOperationAdapter(XpandDefinition def,
                                                            java.lang.String name,
                                                            Type owner,
                                                            java.util.List<Type> paramTypes)
Method Detail

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