Top Fields Constructors Methods
bsh

pack-priv Class BSHFormalParameters

extends SimpleNode
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
private String[]
pack-priv Class<T>[]
paramTypes

For loose type parameters the paramTypes are null.

pack-priv String[]
Inherited from bsh.SimpleNode:
childrenfirstTokenidJAVACODElastTokenparentsourceFile

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
eval(CallStack callstack, Interpreter interpreter)

Overrides bsh.SimpleNode.eval.

Evaluate the types.
public String[]
public String[]
getTypeDescriptors(CallStack callstack, Interpreter interpreter, String defaultPackage)

pack-priv void
Inherited from bsh.SimpleNode:
dumpgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoStringtoString

Field Detail

numArgsback to summary
pack-priv int numArgs
paramNamesback to summary
private String[] paramNames
paramTypesback to summary
pack-priv Class<T>[] paramTypes

For loose type parameters the paramTypes are null.

typeDescriptorsback to summary
pack-priv String[] typeDescriptors

Constructor Detail

BSHFormalParametersback to summary
pack-priv BSHFormalParameters(int id)

Method Detail

evalback to summary
public Object eval(CallStack callstack, Interpreter interpreter) throws EvalError

Overrides bsh.SimpleNode.eval.

Evaluate the types. Note that type resolution does not require the interpreter instance.

getParamNamesback to summary
public String[] getParamNames()
getTypeDescriptorsback to summary
public String[] getTypeDescriptors(CallStack callstack, Interpreter interpreter, String defaultPackage)
insureParsedback to summary
pack-priv void insureParsed()