public class MatchingOpenMethodDispatcher extends OpenMethodDispatcher
RulesMethodInvoker.EMPTY, LONG, REGULAR, SHORT| Constructor and Description |
|---|
MatchingOpenMethodDispatcher() |
MatchingOpenMethodDispatcher(IOpenMethod method,
XlsModuleOpenClass moduleOpenClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMethod(IOpenMethod candidate)
Try to add method as overloaded version of decorated method.
|
protected IOpenMethod |
findMatchingMethod(List<IOpenMethod> candidates,
IRuntimeContext context)
Resolve best matching method to invoke.
|
List<IOpenMethod> |
getCandidates() |
IOpenMethod |
getDecisionTableOpenMethod() |
IOpenClass |
getDeclaringClass()
Gets the declaring class.
|
TableSyntaxNode |
getDispatcherTable() |
IMemberMetaInfo |
getInfo()
Gets
null. |
IOpenClass |
getType()
Gets the type of method.
|
void |
setDecisionTableOpenMethod(IOpenMethod decisionTableOpenMethod) |
decorate, findMatchingMethod, getDisplayName, getMethod, getName, getSignature, getTargetMethod, invoke, invokeInner, isConstructor, isStatic, useActiveOrNewerVersionpublic MatchingOpenMethodDispatcher()
public MatchingOpenMethodDispatcher(IOpenMethod method, XlsModuleOpenClass moduleOpenClass)
public IOpenMethod getDecisionTableOpenMethod()
public void setDecisionTableOpenMethod(IOpenMethod decisionTableOpenMethod)
public IOpenClass getDeclaringClass()
OpenMethodDispatchergetDeclaringClass in interface IOpenMembergetDeclaringClass in class OpenMethodDispatcherpublic void addMethod(IOpenMethod candidate)
OpenMethodDispatcheraddMethod in class OpenMethodDispatchercandidate - method to addprotected IOpenMethod findMatchingMethod(List<IOpenMethod> candidates, IRuntimeContext context)
OpenMethodDispatcherfindMatchingMethod in class OpenMethodDispatchercandidates - list of candidatescontext - runtime contextpublic TableSyntaxNode getDispatcherTable()
getDispatcherTable in class OpenMethodDispatcherpublic IMemberMetaInfo getInfo()
OpenMethodDispatchernull. The decorator hasn't info about overloaded methods.getInfo in interface IOpenMembergetInfo in class OpenMethodDispatcherpublic List<IOpenMethod> getCandidates()
getCandidates in class OpenMethodDispatcherpublic IOpenClass getType()
OpenMethodDispatchergetType in interface IOpenMembergetType in class OpenMethodDispatcherCopyright © 2004–2019 OpenL Tablets. All rights reserved.