Serialized Form (BeanShell 2.0b6)
Date: 2016-09-25

# Serialized Form

- ## Package bsh

  - ### Class bsh.BSHFormalComment extends bsh.SimpleNode implements Serializable

    - ### Serialized Fields

      - #### text

            java.lang.String text

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

    - ### Serialized Fields

      - #### declaringNameSpace

            NameSpace declaringNameSpace

      - #### modifiers

            Modifiers modifiers

      - #### name

            java.lang.String name

      - #### creturnType

            java.lang.Class<T> creturnType

      - #### paramNames

            java.lang.String[] paramNames

      - #### numArgs

            int numArgs

      - #### cparamTypes

            java.lang.Class<T>[] cparamTypes

      - #### methodBody

            bsh.BSHBlock methodBody

      - #### javaMethod

            java.lang.reflect.Method javaMethod

      - #### javaObject

            java.lang.Object javaObject

  - ### Class bsh.BSHPackageDeclaration extends bsh.SimpleNode implements Serializable

  - ### Class bsh.Capabilities.Unavailable extends UtilEvalError implements Serializable

  - ### Class bsh.ClassPathException extends UtilEvalError implements Serializable

  - ### Class bsh.DelayedEvalBshMethod extends BshMethod implements Serializable

    - ### Serialized Fields

      - #### returnTypeDescriptor

            java.lang.String returnTypeDescriptor

      - #### returnTypeNode

            bsh.BSHReturnType returnTypeNode

      - #### paramTypeDescriptors

            java.lang.String[] paramTypeDescriptors

      - #### paramTypesNode

            bsh.BSHFormalParameters paramTypesNode

  - ### Class bsh.EvalError extends java.lang.Exception implements Serializable

    - ### Serialized Fields

      - #### node

            bsh.SimpleNode node

      - #### message

            java.lang.String message

      - #### callstack

            CallStack callstack

  - ### Class bsh.ExternalNameSpace extends NameSpace implements Serializable

    - ### Serialized Fields

      - #### externalMap

            java.util.Map<K,V> externalMap

  - ### Class bsh.Interpreter extends java.lang.Object implements Serializable

    - ### Serialization Methods

      - #### readObject

            private void readObject(java.io.ObjectInputStream stream)
                             throws java.io.IOException,
                                    java.lang.ClassNotFoundException

        De-serialization setup. Default out and err streams to stdout, stderr if they are null.
        Throws:
          `java.io.IOException`
          `java.lang.ClassNotFoundException`

    - ### Serialized Fields

      - #### strictJava

            boolean strictJava

        Strict Java mode
        See Also:
          `Interpreter.setStrictJava( boolean )`

      - #### globalNameSpace

            NameSpace globalNameSpace

      - #### console

            ConsoleInterface console

      - #### parent

            Interpreter parent

        If this interpeter is a child of another, the parent

      - #### sourceFileInfo

            java.lang.String sourceFileInfo

        The name of the file or other source that this interpreter is reading

      - #### exitOnEOF

            boolean exitOnEOF

        by default in interactive mode System.exit() on EOF

      - #### evalOnly

            boolean evalOnly

      - #### interactive

            boolean interactive

      - #### showResults

            boolean showResults

        Control the verbose printing of results for the show() command.

  - ### Class bsh.InterpreterError extends java.lang.RuntimeException implements Serializable

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

    - ### Serialized Fields

      - #### modifiers

            java.util.Hashtable<K,V> modifiers

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

    - ### Serialization Methods

      - #### writeObject

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

        Throws:
          `java.io.IOException`

    - ### Serialized Fields

      - #### nsName

            java.lang.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

            java.util.Hashtable<K,V> variables

      - #### methods

            java.util.Hashtable<K,V> methods

      - #### importedClasses

            java.util.Hashtable<K,V> importedClasses

      - #### importedPackages

            java.util.Vector<E> importedPackages

      - #### importedCommands

            java.util.Vector<E> importedCommands

      - #### importedObjects

            java.util.Vector<E> importedObjects

      - #### importedStatic

            java.util.Vector<E> importedStatic

      - #### packageName

            java.lang.String packageName

      - #### thisReference

            This thisReference

      - #### names

            java.util.Hashtable<K,V> 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

            java.lang.Class<T> classStatic

      - #### classInstance

            java.lang.Object classInstance

      - #### nameSourceListeners

            java.util.Vector<E> nameSourceListeners

  - ### Class bsh.ParseException extends EvalError implements Serializable

    - ### Serialized Fields

      - #### sourceFile

            java.lang.String sourceFile

      - #### specialConstructor

            boolean specialConstructor

        This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).

      - #### currentToken

            Token currentToken

        This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.

      - #### expectedTokenSequences

            int[][] expectedTokenSequences

        Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

      - #### tokenImage

            java.lang.String[] tokenImage

        This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

      - #### eol

            java.lang.String eol

        The end of line string for this machine.

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

    - ### Serialized Fields

      - #### value

            java.lang.Object value

        The primitive value stored in its java.lang wrapper class

  - ### Class bsh.TargetError extends EvalError implements Serializable

    - ### Serialized Fields

      - #### inNativeCode

            boolean inNativeCode

  - ### 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

            java.lang.String image

        The string image of the token.

      - #### next

            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.TokenMgrError extends java.lang.Error implements Serializable

    - ### Serialized Fields

      - #### errorCode

            int errorCode

        Indicates the reason why the exception is thrown. It will have one of the above 4 values.

  - ### Class bsh.UtilEvalError extends java.lang.Exception implements Serializable

  - ### Class bsh.UtilTargetError extends UtilEvalError implements Serializable

    - ### Serialized Fields

      - #### t

            java.lang.Throwable t

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

    - ### Serialized Fields

      - #### name

            java.lang.String name

        A null type means an untyped variable

      - #### type

            java.lang.Class<T> type

      - #### typeDescriptor

            java.lang.String typeDescriptor

      - #### value

            java.lang.Object value

      - #### modifiers

            Modifiers modifiers

      - #### lhs

            bsh.LHS lhs

  - ### Class bsh.XThis extends This implements Serializable

    - ### Serialized Fields

      - #### interfaces

            java.util.Hashtable<K,V> interfaces

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

- ## Package bsh.classpath

  - ### Class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap extends java.util.HashMap implements Serializable

- ## Package bsh.util

  - ### Class bsh.util.AWTConsole extends java.awt.TextArea implements Serializable

    - ### Serialized Fields

      - #### outPipe

            java.io.OutputStream outPipe

      - #### inPipe

            java.io.InputStream inPipe

      - #### in

            java.io.InputStream in

      - #### out

            java.io.PrintStream out

      - #### line

            java.lang.StringBuffer line

      - #### startedLine

            java.lang.String startedLine

      - #### textLength

            int textLength

      - #### history

            java.util.Vector<E> history

      - #### histLine

            int histLine

  - ### Class bsh.util.AWTDemoApplet extends java.applet.Applet implements Serializable

  - ### Class bsh.util.AWTRemoteApplet extends java.applet.Applet implements Serializable

    - ### Serialized Fields

      - #### out

            java.io.OutputStream out

      - #### in

            java.io.InputStream in

  - ### Class bsh.util.BshCanvas extends javax.swing.JComponent implements Serializable

    - ### Serialized Fields

      - #### ths

            This ths

      - #### imageBuffer

            java.awt.Image imageBuffer

  - ### Class bsh.util.ClassBrowser extends javax.swing.JSplitPane implements Serializable

    - ### Serialized Fields

      - #### classPath

            BshClassPath classPath

      - #### classManager

            BshClassManager classManager

      - #### frame

            javax.swing.JFrame frame

      - #### iframe

            javax.swing.JInternalFrame iframe

      - #### classlist

            javax.swing.JList<E> classlist

      - #### conslist

            javax.swing.JList<E> conslist

      - #### mlist

            javax.swing.JList<E> mlist

      - #### fieldlist

            javax.swing.JList<E> fieldlist

      - #### ptree

            bsh.util.ClassBrowser.PackageTree ptree

      - #### methodLine

            javax.swing.JTextArea methodLine

      - #### tree

            javax.swing.JTree tree

      - #### packagesList

            java.lang.String[] packagesList

      - #### classesList

            java.lang.String[] classesList

      - #### consList

            java.lang.reflect.Constructor<T>[] consList

      - #### methodList

            java.lang.reflect.Method[] methodList

      - #### fieldList

            java.lang.reflect.Field[] fieldList

      - #### selectedPackage

            java.lang.String selectedPackage

      - #### selectedClass

            java.lang.Class<T> selectedClass

  - ### Class bsh.util.JConsole extends javax.swing.JScrollPane implements Serializable

    - ### Serialized Fields

      - #### outPipe

            java.io.OutputStream outPipe

      - #### inPipe

            java.io.InputStream inPipe

      - #### in

            java.io.InputStream in

      - #### out

            java.io.PrintStream out

      - #### cmdStart

            int cmdStart

      - #### history

            java.util.Vector<E> history

      - #### startedLine

            java.lang.String startedLine

      - #### histLine

            int histLine

      - #### menu

            javax.swing.JPopupMenu menu

      - #### text

            javax.swing.JTextPane text

      - #### doc

            javax.swing.text.DefaultStyledDocument doc

      - #### nameCompletion

            NameCompletion nameCompletion

      - #### SHOW_AMBIG_MAX

            int SHOW_AMBIG_MAX

      - #### gotUp

            boolean gotUp

      - #### ZEROS

            java.lang.String ZEROS

  - ### Class bsh.util.JDemoApplet extends javax.swing.JApplet implements Serializable

  - ### Class bsh.util.JRemoteApplet extends javax.swing.JApplet implements Serializable

    - ### Serialized Fields

      - #### out

            java.io.OutputStream out

      - #### in

            java.io.InputStream in

  - ### Class bsh.util.NameCompletionTable extends java.util.ArrayList implements Serializable

    - ### Serialized Fields

      - #### table

            NameCompletionTable table

        Unimplemented - need a collection here

      - #### sources

            java.util.List<E> sources

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