org.eclipse.internal.xtend.type.baseimpl
Class OperationImpl
java.lang.Object
org.eclipse.internal.xtend.type.baseimpl.FeatureImpl
org.eclipse.internal.xtend.type.baseimpl.OperationImpl
- All Implemented Interfaces:
- Callable, Feature, Operation, ParameterizedCallable
- Direct Known Subclasses:
- JavaOperationImpl, JdtOperationImpl
public abstract class OperationImpl
- extends FeatureImpl
- implements Operation
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OperationImpl
public OperationImpl(Type owner,
java.lang.String name,
Type returnType,
Type... paramTypes)
evaluate
public final java.lang.Object evaluate(java.lang.Object target,
java.lang.Object[] params)
- Specified by:
evaluate
in interface Operation
evaluateInternal
protected abstract java.lang.Object evaluateInternal(java.lang.Object target,
java.lang.Object[] params)
getOwner
public Type getOwner()
- Specified by:
getOwner
in interface Feature
getParameterTypes
public java.util.List<Type> getParameterTypes()
- Specified by:
getParameterTypes
in interface ParameterizedCallable
getReturnType
public Type getReturnType(Type targetType,
Type[] paramTpes)
- Specified by:
getReturnType
in interface Operation
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in class FeatureImpl
hashCode
public int hashCode()
- Specified by:
hashCode
in class FeatureImpl
toString
public java.lang.String toString()
- Overrides:
toString
in class FeatureImpl
getDocumentation
public java.lang.String getDocumentation()
- Specified by:
getDocumentation
in interface Feature