Class ReflectiveOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.eol.execute.operations.contributors.ReflectiveOperationContributor
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ReflectiveOperationContributor extends OperationContributor
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
-
Constructor Summary
Constructors Constructor Description ReflectiveOperationContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contributesTo(java.lang.Object target)
protected java.lang.Object
getReflectionTarget(java.lang.Object target)
protected boolean
includeInheritedMethods()
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
-
-
-
-
Method Detail
-
contributesTo
public boolean contributesTo(java.lang.Object target)
- Specified by:
contributesTo
in classOperationContributor
-
getReflectionTarget
protected java.lang.Object getReflectionTarget(java.lang.Object target)
- 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
-
-