| |
|
| java.lang.Object bsh.SimpleNode bsh.BSHType
Constructor Summary | |
| BSHType(int id) |
addArrayDimension | public void addArrayDimension()(Code) | | Used by the grammar to indicate dimensions of array types
during parsing.
|
classLoaderChanged | public void classLoaderChanged()(Code) | | |
getArrayDims | public int getArrayDims()(Code) | | If we are an array type this will be non zero and indicate the
dimensionality of the array. e.g. 2 for String[][];
|
getBaseType | public Class getBaseType()(Code) | | baseType is used during evaluation of full type and retained for the
case where we are an array type.
In the case where we are not an array this will be the same as type.
|
getTypeDescriptor | public String getTypeDescriptor(CallStack callstack, Interpreter interpreter, String defaultPackage)(Code) | | Returns a class descriptor for this type.
If the type is an ambiguous name (object type) evaluation is
attempted through the namespace in order to resolve imports.
If it is not found and the name is non-compound we assume the default
package for the name.
|
|
|
|