| Modifier and Type | Field and Description |
|---|---|
| pack-priv BSHBlock | |
| pack-priv int | |
| public Modifiers | |
| public String | |
| pack-priv int | |
| pack-priv BSHFormalParameters | |
| pack-priv Class | |
| pack-priv BSHReturnType |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | eval(CallStack callstack, Interpreter interpreter)
Overrides bsh. |
| private void | |
| pack-priv Class | Returns: the type or null indicating loosely typed returnEvaluate the return type node. |
| pack-priv String | |
| pack-priv BSHReturnType | |
| pack-priv synchronized void | |
| public String |
| blockNode | back to summary |
|---|---|
| pack-priv BSHBlock blockNode | |
| firstThrowsClause | back to summary |
|---|---|
| pack-priv int firstThrowsClause | |
| modifiers | back to summary |
|---|---|
| public Modifiers modifiers | |
| name | back to summary |
|---|---|
| public String name | |
| numThrows | back to summary |
|---|---|
| pack-priv int numThrows | |
| paramsNode | back to summary |
|---|---|
| pack-priv BSHFormalParameters paramsNode | |
| returnType | back to summary |
|---|---|
| pack-priv Class<T> returnType | |
| returnTypeNode | back to summary |
|---|---|
| pack-priv BSHReturnType returnTypeNode | |
| BSHMethodDeclaration | back to summary |
|---|---|
| pack-priv BSHMethodDeclaration(int id) | |
| eval | back to summary |
|---|---|
| public Object eval(CallStack callstack, Interpreter interpreter) throws EvalError Overrides bsh. Evaluate the declaration of the method. That is, determine the structure of the method and install it into the caller's namespace. | |
| evalNodes | back to summary |
|---|---|
| private void evalNodes(CallStack callstack, Interpreter interpreter) throws EvalError | |
| evalReturnType | back to summary |
|---|---|
| pack-priv Class Evaluate the return type node.
| |
| getReturnTypeDescriptor | back to summary |
|---|---|
| pack-priv String getReturnTypeDescriptor(CallStack callstack, Interpreter interpreter, String defaultPackage) | |
| getReturnTypeNode | back to summary |
|---|---|
| pack-priv BSHReturnType getReturnTypeNode() | |
| insureNodesParsed | back to summary |
|---|---|
| pack-priv synchronized void insureNodesParsed() Set the returnTypeNode, paramsNode, and blockNode based on child node structure. No evaluation is done here. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides bsh. Doc from java. Returns a string representation of the object.
| |