Class ReflectiveOperationContributor
java.lang.Object
org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
org.eclipse.epsilon.eol.execute.operations.contributors.ReflectiveOperationContributor
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contributesTo
(Object target) protected Object
getReflectionTarget
(Object target) protected boolean
Specifies whether methods in the supertype of the contributor should be included when finding contributed operations.Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getTarget, setContext, setTarget
-
Constructor Details
-
ReflectiveOperationContributor
public ReflectiveOperationContributor()
-
-
Method Details
-
contributesTo
- Specified by:
contributesTo
in classOperationContributor
-
getReflectionTarget
- Overrides:
getReflectionTarget
in classOperationContributor
-
includeInheritedMethods
protected boolean includeInheritedMethods()Description copied from class:OperationContributor
Specifies whether methods in the supertype of the contributor should be included when finding contributed operations. Typically, this should not be the case and, as such, this method returns false by default.- Overrides:
includeInheritedMethods
in classOperationContributor
-