Package org.eclipse.epsilon.emc.plainxml
Class PlainXMLOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.emc.plainxml.PlainXMLOperationContributor
-
- All Implemented Interfaces:
AutoCloseable
public class PlainXMLOperationContributor extends OperationContributor
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
-
Constructor Summary
Constructors Constructor Description PlainXMLOperationContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contributesTo(Object target)
ObjectMethod
findContributedMethodForEvaluatedParameters(Object target, String name, Object[] parameters, IEolContext context, boolean overrideContextOperationContributorRegistry)
ObjectMethod
findContributedMethodForUnevaluatedParameters(Object target, String name, List<Expression> parameterExpressions, IEolContext context)
We can't find the method if the parameters are unevaluatedprotected Object
getReflectionTarget(Object target)
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, getContext, getTarget, includeInheritedMethods, setContext, setTarget
-
-
-
-
Method Detail
-
contributesTo
public boolean contributesTo(Object target)
- Specified by:
contributesTo
in classOperationContributor
-
findContributedMethodForUnevaluatedParameters
public ObjectMethod findContributedMethodForUnevaluatedParameters(Object target, String name, List<Expression> parameterExpressions, IEolContext context)
We can't find the method if the parameters are unevaluated- Overrides:
findContributedMethodForUnevaluatedParameters
in classOperationContributor
-
findContributedMethodForEvaluatedParameters
public ObjectMethod findContributedMethodForEvaluatedParameters(Object target, String name, Object[] parameters, IEolContext context, boolean overrideContextOperationContributorRegistry)
- Overrides:
findContributedMethodForEvaluatedParameters
in classOperationContributor
-
getReflectionTarget
protected Object getReflectionTarget(Object target)
- Overrides:
getReflectionTarget
in classOperationContributor
-
-