Serialized Form

Package bsh

Class bsh.BshMethod extends java.lang.Object implements Serializable

Serialized Fields

declaringNameSpace

 NameSpace declaringNameSpace

modifiers

 Modifiers modifiers

name

 String name

creturnType

 Class creturnType

paramNames

 String[] paramNames

numArgs

 int numArgs

cparamTypes

 Class[] cparamTypes

methodBody

 bsh.BSHBlock methodBody

javaMethod

 Method javaMethod

javaObject

 Object javaObject

Class bsh.DelayedEvalBshMethod extends BshMethod implements Serializable

Serialized Fields

returnTypeDescriptor

 String returnTypeDescriptor

returnTypeNode

 bsh.BSHReturnType returnTypeNode

paramTypeDescriptors

 String[] paramTypeDescriptors

paramTypesNode

 bsh.BSHFormalParameters paramTypesNode

Class bsh.ExternalNameSpace extends NameSpace implements Serializable

Serialized Fields

externalMap

 Map externalMap

Class bsh.Modifiers extends java.lang.Object implements Serializable

Serialized Fields

modifiers

 Hashtable modifiers

Class bsh.NameSpace extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws IOException

Serialized Fields

nsName

 String nsName
The name of this namespace. If the namespace is a method body namespace then this is the name of the method. If it's a class or class instance then it's the name of the class.

parent

 NameSpace parent

variables

 Hashtable variables

methods

 Hashtable methods

importedClasses

 Hashtable importedClasses

importedPackages

 Vector importedPackages

importedCommands

 Vector importedCommands

importedObjects

 Vector importedObjects

importedStatic

 Vector importedStatic

packageName

 String packageName

thisReference

 This thisReference

names

 Hashtable names
Name resolver objects

callerInfoNode

 bsh.SimpleNode callerInfoNode
The node associated with the creation of this namespace. This is used support getInvocationLine() and getInvocationText().

isMethod

 boolean isMethod
Note that the namespace is a method body namespace. This is used for printing stack traces in exceptions.

isClass

 boolean isClass
Note that the namespace is a class body or class instance namespace. This is used for controlling static/object import precedence, etc.

classStatic

 Class classStatic

classInstance

 Object classInstance

nameSourceListeners

 Vector nameSourceListeners

Class bsh.Primitive extends java.lang.Object implements Serializable

Serialized Fields

value

 Object value
The primitive value stored in its java.lang wrapper class

Class bsh.This extends java.lang.Object implements Serializable

Serialized Fields

namespace

 NameSpace namespace
The namespace that this This reference wraps.

Class bsh.Token extends java.lang.Object implements Serializable

Serialized Fields

kind

 int kind
An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

beginLine

 int beginLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

beginColumn

 int beginColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

endLine

 int endLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

endColumn

 int endColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

image

 String image
The string image of the token.

Token next
A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

specialToken

 Token specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

Class bsh.Variable extends java.lang.Object implements Serializable

Serialized Fields

name

 String name
A null type means an untyped variable

type

 Class type

typeDescriptor

 String typeDescriptor

value

 Object value

modifiers

 Modifiers modifiers

lhs

 bsh.LHS lhs

Class bsh.XThis extends This implements Serializable

Serialized Fields

interfaces

 Hashtable interfaces
A cache of proxy interface handlers. Currently just one per interface.

invocationHandler

 InvocationHandler invocationHandler

B) 2000-2005 pat@pat.net :-)