|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.base.MethodNode | +--org.erights.e.elang.evm.EMethodNode
Safe:
Field Summary | |
private int |
myArity
|
private CallCounter |
myCallCounter
|
private EMethod |
myMethod
|
private String |
myOptTypeName
|
private String |
myVerb
|
Constructor Summary | |
EMethodNode(EMethod method)
Enabled: |
|
EMethodNode(String verb,
int arity,
EMethod method)
Enabled: The constructor interns the verb |
Method Summary | |
void |
addJavaMemberNodesToMap(FlexMap map)
Enabled: Do nothing |
Object |
execute(Object self,
String aVerb,
Object[] args)
Enabled: |
int |
getArity()
Enabled: |
String |
getDocComment()
Enabled: |
EMethod |
getMethod()
Enabled: |
String |
getOptTypedVerb()
Enabled: |
String |
getVerb()
Enabled: |
MessageDesc |
makeMessageType(String verb)
Enabled: |
(package private) void |
setTypeName(String typeName)
|
Script |
shorten(Object optSelf,
String aVerb,
Object[] args)
Enabled: Just returns this. |
String |
toString()
Suppressed: |
void |
traceOn(TextWriter out)
Enabled: |
Methods inherited from class org.erights.e.elib.base.MethodNode |
protocol, respondsTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String myOptTypeName
private final String myVerb
private final int myArity
private final EMethod myMethod
private CallCounter myCallCounter
Constructor Detail |
public EMethodNode(String verb, int arity, EMethod method)
public EMethodNode(EMethod method)
Method Detail |
public Script shorten(Object optSelf, String aVerb, Object[] args)
shorten
in interface Script
optSelf
- If present, then a script could shorten using
instance-specific data.aVerb
- Must be internedargs
- Typically, only its arity is used. But OverloaderNode uses
the types of the arguments to select among Java overloads.
public Object execute(Object self, String aVerb, Object[] args)
execute
in interface Script
public String getDocComment()
getDocComment
in class MethodNode
public String getVerb()
getVerb
in class MethodNode
public String getOptTypedVerb()
getOptTypedVerb
in class MethodNode
public int getArity()
getArity
in class MethodNode
public EMethod getMethod()
public void addJavaMemberNodesToMap(FlexMap map)
addJavaMemberNodesToMap
in class MethodNode
public MessageDesc makeMessageType(String verb)
makeMessageType
in class MethodNode
void setTypeName(String typeName)
public String toString()
toString
in class Object
public void traceOn(TextWriter out) throws IOException
traceOn
in interface EStackItem
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |