public class MethodCallBuilder extends Object
| Constructor and Description |
|---|
MethodCallBuilder(ComponentBuilder component,
Class<?> baseClass,
String methodName) |
MethodCallBuilder(ComponentBuilder component,
Class<?> baseClass,
String methodName,
Class<?>[] actuals,
boolean staticOnly) |
| Modifier and Type | Method and Description |
|---|---|
MethodInvoker |
createInvoker(ISelfDef self,
Stack<ComponentBuilder> stack)
Create an unique invoker for this method.
|
void |
setParameter(Class<?> type)
Set an unnumbered/unordered parameter from a container object identified by the specified type.
|
void |
setParameter(int index,
Class<?> type)
Set a numbered parameter from a container object identified by the specified type.
|
void |
setParameter(int index,
String name)
Set a numbered parameter from a container object identified by the specified name.
|
void |
setParameter(String name)
Set an unnumbered/unordered parameter from a container object identified by the specified name.
|
void |
setParameterSelf()
Set an unnumbered/unordered parameter from the actual object being built by the current definition.
|
void |
setParameterSelf(int index)
Define a numbered parameter as the actual object being built by the current definition.
|
void |
setStaticOnly(boolean staticOnly) |
void |
setThisIsSelf() |
public MethodCallBuilder(ComponentBuilder component, Class<?> baseClass, String methodName, Class<?>[] actuals, boolean staticOnly)
public MethodCallBuilder(ComponentBuilder component, Class<?> baseClass, String methodName)
public void setStaticOnly(boolean staticOnly)
public void setParameter(int index,
Class<?> type)
index - type - public void setParameter(int index,
String name)
index - name - public void setParameterSelf(int index)
index - public void setParameter(Class<?> type)
type - public void setParameter(String name)
name - public void setParameterSelf()
public MethodInvoker createInvoker(ISelfDef self, Stack<ComponentBuilder> stack)
self - stack - public void setThisIsSelf()
Copyright © 2017 etc.to. All rights reserved.