A B C D E F G H I J K L M N O P R S T U V W X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absoluteClassCache - Variable in class bsh.BshClassManager
-
Global cache for things we know are classes.
- absoluteNonClasses - Variable in class bsh.BshClassManager
-
Global cache for things we know are *not* classes.
- ABSTRACT - Static variable in interface bsh.ParserConstants
- actionPerformed(ActionEvent) - Method in class bsh.util.JConsole
- add(NameSource) - Method in class bsh.util.NameCompletionTable
-
Add a NameSource which is monitored for names.
- add(NameCompletionTable) - Method in class bsh.util.NameCompletionTable
-
Add a NameCompletionTable, which is more optimized than the more general NameSource
- add(String) - Method in class bsh.classpath.BshClassPath.AmbiguousName
- add(URL) - Method in class bsh.classpath.BshClassPath
- add(URL[]) - Method in class bsh.classpath.BshClassPath
- add_escapes(String) - Method in exception bsh.ParseException
-
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
- addClassPath(URL) - Method in class bsh.BshClassManager
- addClassPath(URL) - Method in class bsh.classpath.ClassManagerImpl
- addComponent(BshClassPath) - Method in class bsh.classpath.BshClassPath
-
Add the specified BshClassPath as a component of our path.
- addEscapes(String) - Static method in error bsh.TokenMgrError
-
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
- AdditiveExpression() - Method in class bsh.Parser
- addListener(BshClassManager.Listener) - Method in class bsh.BshClassManager
- addListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
- addListener(ClassPathListener) - Method in class bsh.classpath.BshClassPath
- addMappingFeedback(BshClassPath.MappingFeedback) - Static method in class bsh.classpath.BshClassPath
- addModifier(int, String) - Method in class bsh.Modifiers
- addNameSourceListener(NameSource.Listener) - Method in class bsh.classpath.BshClassPath
-
Implements NameSource Add a listener who is notified upon changes to names in this space.
- addNameSourceListener(NameSource.Listener) - Method in interface bsh.NameSource
- addNameSourceListener(NameSource.Listener) - Method in class bsh.NameSpace
-
Implements NameSource Add a listener who is notified upon changes to names in this space.
- addURL(URL) - Method in class bsh.classpath.BshClassLoader
- adjustBeginLineColumn(int, int) - Method in class bsh.JavaCharStream
-
Method to adjust line and column numbers for the start of a token.
- AdjustBuffSize() - Method in class bsh.JavaCharStream
- AllocationExpression() - Method in class bsh.Parser
- AmbiguousName() - Constructor for class bsh.classpath.BshClassPath.AmbiguousName
- AmbiguousName() - Method in class bsh.Parser
- ANDASSIGN - Static variable in interface bsh.ParserConstants
- ANDASSIGNX - Static variable in interface bsh.ParserConstants
- AndExpression() - Method in class bsh.Parser
- ArgumentList() - Method in class bsh.Parser
- Arguments() - Method in class bsh.Parser
- ArrayDimensions() - Method in class bsh.Parser
- ArrayInitializer() - Method in class bsh.Parser
- ASSIGN - Static variable in interface bsh.ParserConstants
- Assignment() - Method in class bsh.Parser
- AssignmentOperator() - Method in class bsh.Parser
- AWTConsole - Class in bsh.util
-
An old AWT based console for BeanShell.
- AWTConsole() - Constructor for class bsh.util.AWTConsole
- AWTConsole(int, int, InputStream, OutputStream) - Constructor for class bsh.util.AWTConsole
- AWTConsole(InputStream, OutputStream) - Constructor for class bsh.util.AWTConsole
- AWTDemoApplet - Class in bsh.util
-
Run bsh as an applet for demo purposes.
- AWTDemoApplet() - Constructor for class bsh.util.AWTDemoApplet
- AWTRemoteApplet - Class in bsh.util
-
A lightweight console applet for remote display of a Beanshell session.
- AWTRemoteApplet() - Constructor for class bsh.util.AWTRemoteApplet
B
- backup(int) - Method in class bsh.JavaCharStream
- BANG - Static variable in interface bsh.ParserConstants
- BasicBshIterator(Object) - Constructor for class bsh.CollectionManager.BasicBshIterator
-
Construct a basic BasicBshIterator
- beginColumn - Variable in class bsh.Token
-
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.
- beginLine - Variable in class bsh.Token
-
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.
- BeginToken() - Method in class bsh.JavaCharStream
- binaryOperation(Object, Object, int) - Static method in class bsh.Primitive
-
Perform a binary operation on two Primitives or wrapper types.
- bind(This, NameSpace, Interpreter) - Static method in class bsh.This
-
Bind a This reference to a parent's namespace with the specified declaring interpreter.
- BIT_AND - Static variable in interface bsh.ParserConstants
- BIT_ANDX - Static variable in interface bsh.ParserConstants
- BIT_OR - Static variable in interface bsh.ParserConstants
- BIT_ORX - Static variable in interface bsh.ParserConstants
- Block() - Method in class bsh.Parser
- BlockingPipedInputStream(PipedOutputStream) - Constructor for class bsh.util.JConsole.BlockingPipedInputStream
- BlockStatement() - Method in class bsh.Parser
- BOOL_AND - Static variable in interface bsh.ParserConstants
- BOOL_ANDX - Static variable in interface bsh.ParserConstants
- BOOL_OR - Static variable in interface bsh.ParserConstants
- BOOL_ORX - Static variable in interface bsh.ParserConstants
- BOOLEAN - Static variable in interface bsh.ParserConstants
- BooleanLiteral() - Method in class bsh.Parser
- booleanValue() - Method in class bsh.Primitive
- boxType(Class) - Static method in class bsh.Primitive
-
Get the corresponding java.lang wrapper class for the primitive TYPE class.
- BREAK - Static variable in interface bsh.ParserConstants
- BreakStatement() - Method in class bsh.Parser
- bsh - package bsh
- bsh.classpath - package bsh.classpath
- bsh.reflect - package bsh.reflect
- bsh.util - package bsh.util
- BshCanvas - Class in bsh.util
-
Scriptable Canvas with buffered graphics.
- BshCanvas() - Constructor for class bsh.util.BshCanvas
- BshCanvas(This) - Constructor for class bsh.util.BshCanvas
- BshClassLoader - Class in bsh.classpath
-
One of the things BshClassLoader does is to address a deficiency in URLClassLoader that prevents us from specifying individual classes via URLs.
- BshClassLoader(BshClassManager) - Constructor for class bsh.classpath.BshClassLoader
-
For use by children
- BshClassLoader(BshClassManager, BshClassPath) - Constructor for class bsh.classpath.BshClassLoader
- BshClassLoader(BshClassManager, URL[]) - Constructor for class bsh.classpath.BshClassLoader
- BshClassManager - Class in bsh
-
BshClassManager manages all classloading in BeanShell.
- BshClassManager() - Constructor for class bsh.BshClassManager
- BshClassManager.Listener - Interface in bsh
- BshClassPath - Class in bsh.classpath
-
A BshClassPath encapsulates knowledge about a class path of URLs.
- BshClassPath(String) - Constructor for class bsh.classpath.BshClassPath
- BshClassPath(String, URL[]) - Constructor for class bsh.classpath.BshClassPath
- BshClassPath.AmbiguousName - Class in bsh.classpath
- BshClassPath.ClassSource - Class in bsh.classpath
- BshClassPath.DirClassSource - Class in bsh.classpath
- BshClassPath.GeneratedClassSource - Class in bsh.classpath
- BshClassPath.JarClassSource - Class in bsh.classpath
- BshClassPath.MappingFeedback - Interface in bsh.classpath
- BSHFormalComment - Class in bsh
- BSHFormalComment(int) - Constructor for class bsh.BSHFormalComment
- BshIterator - Interface in bsh
-
An interface implemented by classes wrapping instances of iterators, enumerations, collections, etc.
- BshMethod - Class in bsh
-
This represents an instance of a bsh method declaration in a particular namespace.
- BSHPackageDeclaration - Class in bsh
- BSHPackageDeclaration(int) - Constructor for class bsh.BSHPackageDeclaration
- bubbleSort(String[]) - Static method in class bsh.StringUtil
- bufcolumn - Variable in class bsh.JavaCharStream
- buffer - Variable in class bsh.JavaCharStream
- bufline - Variable in class bsh.JavaCharStream
- bufpos - Variable in class bsh.JavaCharStream
- BYTE - Static variable in interface bsh.ParserConstants
C
- cacheClassInfo(String, Class) - Method in class bsh.BshClassManager
-
Cache info about whether name is a class or not.
- cacheResolvedMethod(Class, Class[], Method) - Method in class bsh.BshClassManager
-
Cache a resolved (possibly overloaded) method based on the argument types used to invoke it, subject to classloader change.
- CallStack - Class in bsh
-
A stack of NameSpaces representing the call path.
- CallStack() - Constructor for class bsh.CallStack
- CallStack(NameSpace) - Constructor for class bsh.CallStack
- canGenerateInterfaces() - Static method in class bsh.Capabilities
- canonicalizeClassName(String) - Static method in class bsh.classpath.BshClassPath
-
Create a proper class name from a messy thing.
- Capabilities - Class in bsh
-
The map of extended features supported by the runtime in which we live.
- Capabilities() - Constructor for class bsh.Capabilities
- Capabilities.Unavailable - Exception in bsh
-
An attempt was made to use an unavailable capability supported by an optional package.
- CASE - Static variable in interface bsh.ParserConstants
- CastExpression() - Method in class bsh.Parser
- CastLookahead() - Method in class bsh.Parser
- castToType(Class, int) - Method in class bsh.Primitive
-
Cast this bsh.Primitive value to a new bsh.Primitive value This is usually a numeric type cast.
- CATCH - Static variable in interface bsh.ParserConstants
- CHAR - Static variable in interface bsh.ParserConstants
- CHARACTER_LITERAL - Static variable in interface bsh.ParserConstants
- CLASS - Static variable in class bsh.Modifiers
- CLASS - Static variable in interface bsh.ParserConstants
- ClassBrowser - Class in bsh.util
-
A simple class browser for the BeanShell desktop.
- ClassBrowser() - Constructor for class bsh.util.ClassBrowser
- ClassBrowser(BshClassManager) - Constructor for class bsh.util.ClassBrowser
- ClassDeclaration() - Method in class bsh.Parser
- classExists(String) - Method in class bsh.BshClassManager
- classExists(String) - Static method in class bsh.Capabilities
-
Use direct Class.forName() to test for the existence of a class.
- classForName(String) - Method in class bsh.BshClassManager
-
Load the specified class by name, taking into account added classpath and reloaded classes, etc.
- classForName(String) - Method in class bsh.classpath.ClassManagerImpl
- ClassGenerator - Class in bsh
- ClassGenerator() - Constructor for class bsh.ClassGenerator
- ClassGeneratorImpl - Class in bsh
- ClassGeneratorImpl() - Constructor for class bsh.ClassGeneratorImpl
- ClassGeneratorUtil - Class in bsh
-
ClassGeneratorUtil utilizes the ASM (www.objectweb.org) bytecode generator by Eric Bruneton in order to generate class "stubs" for BeanShell at runtime.
- ClassGeneratorUtil(Modifiers, String, String, Class, Class[], Variable[], DelayedEvalBshMethod[], NameSpace, boolean) - Constructor for class bsh.ClassGeneratorUtil
- ClassGeneratorUtil.ConstructorArgs - Class in bsh
-
A ConstructorArgs object holds evaluated arguments for a constructor call as well as the index of a possible alternate selector to invoke.
- ClassIdentifier - Class in bsh
- ClassIdentifier(Class) - Constructor for class bsh.ClassIdentifier
- classLoaderChanged() - Method in class bsh.BshClassManager
- classLoaderChanged() - Method in interface bsh.BshClassManager.Listener
- classLoaderChanged() - Method in class bsh.classpath.ClassManagerImpl
-
Clear global class cache and notify namespaces to clear their class caches.
- classLoaderChanged() - Method in class bsh.NameSpace
-
Clear all cached classes and names
- ClassManagerImpl - Class in bsh.classpath
-
Manage all classloading in BeanShell.
- ClassManagerImpl() - Constructor for class bsh.classpath.ClassManagerImpl
-
Used by BshClassManager singleton constructor
- classMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
-
Provide feedback on the progress of mapping the classpath
- classPathChanged() - Method in class bsh.classpath.BshClassPath
- classPathChanged() - Method in interface bsh.classpath.ClassPathListener
- classPathChanged() - Method in class bsh.util.ClassBrowser
- ClassPathException - Exception in bsh
- ClassPathException(String) - Constructor for exception bsh.ClassPathException
- ClassPathListener - Interface in bsh.classpath
- ClassSource() - Constructor for class bsh.classpath.BshClassPath.ClassSource
- ClassSourceMap() - Constructor for class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
- clear() - Method in class bsh.CallStack
- clear() - Method in class bsh.ExternalNameSpace
-
Clear all variables, methods, and imports from this namespace and clear all values from the external map (via Map clear()).
- clear() - Method in class bsh.NameSpace
-
Clear all variables, methods, and imports from this namespace.
- clearCaches() - Method in class bsh.BshClassManager
-
Clear the caches in BshClassManager
- close() - Method in class bsh.util.JConsole.BlockingPipedInputStream
- cmUnavailable() - Static method in class bsh.BshClassManager
- CollectionManager - Class in bsh
-
The default CollectionManager (which remains Java 1.1 compatible) supports iteration over objects of type: Enumeration, Vector, String, StringBuffer and array.
- CollectionManager() - Constructor for class bsh.CollectionManager
- CollectionManager.BasicBshIterator - Class in bsh
-
An implementation that works with JDK 1.1
- COLON - Static variable in interface bsh.ParserConstants
- column - Variable in class bsh.JavaCharStream
- COMMA - Static variable in interface bsh.ParserConstants
- completeName(String) - Method in interface bsh.util.NameCompletion
-
Return an array containing a string element of the maximum unambiguous namespace completion or, if there is no common prefix, return the list of ambiguous names.
- completeName(String) - Method in class bsh.util.NameCompletionTable
- ConditionalAndExpression() - Method in class bsh.Parser
- ConditionalExpression() - Method in class bsh.Parser
- ConditionalOrExpression() - Method in class bsh.Parser
- Console - Class in bsh
-
Console startup class.
- Console() - Constructor for class bsh.Console
- ConsoleInterface - Interface in bsh
-
The capabilities of a minimal console for BeanShell.
- CONST - Static variable in interface bsh.ParserConstants
- CONTINUE - Static variable in interface bsh.ParserConstants
- ContinueStatement() - Method in class bsh.Parser
- copy() - Method in class bsh.CallStack
-
Occasionally we need to freeze the callstack for error reporting purposes, etc.
- createClassManager(Interpreter) - Static method in class bsh.BshClassManager
-
Create a new instance of the class manager.
- createEnumeration(Object) - Method in class bsh.CollectionManager.BasicBshIterator
-
Create an enumeration over the given object
- curChar - Variable in class bsh.ParserTokenManager
- currentToken - Variable in exception bsh.ParseException
-
This is the last token that has been consumed successfully.
D
- debug(String) - Static method in class bsh.Interpreter
-
Print a debug message on debug stream associated with this interpreter only if debugging is turned on.
- DEBUG - Static variable in class bsh.Interpreter
- debugStream - Variable in class bsh.ParserTokenManager
- DECIMAL_LITERAL - Static variable in interface bsh.ParserConstants
- DECR - Static variable in interface bsh.ParserConstants
- DEFAULT - Static variable in class bsh.ClassGeneratorUtil.ConstructorArgs
-
A ConstructorArgs which calls the default constructor
- DEFAULT - Static variable in interface bsh.ParserConstants
- defineClass(String, byte[]) - Method in class bsh.BshClassManager
- defineClass(String, byte[]) - Method in class bsh.classpath.ClassManagerImpl
-
Get the BeanShell classloader.
- definingClass(String) - Method in class bsh.BshClassManager
-
Flag the class name as being in the process of being defined.
- definingClasses - Variable in class bsh.BshClassManager
- definingClassesBaseNames - Variable in class bsh.BshClassManager
- DelayedEvalBshMethod - Class in bsh
- depth() - Method in class bsh.CallStack
- DIGIT - Static variable in interface bsh.ParserConstants
- disable_tracing() - Method in class bsh.Parser
- DiscreteFilesClassLoader - Class in bsh.classpath
-
A classloader which can load one or more classes from specified sources.
- DiscreteFilesClassLoader(BshClassManager, DiscreteFilesClassLoader.ClassSourceMap) - Constructor for class bsh.classpath.DiscreteFilesClassLoader
- DiscreteFilesClassLoader.ClassSourceMap - Class in bsh.classpath
- DO - Static variable in interface bsh.ParserConstants
- Done() - Method in class bsh.JavaCharStream
- doneDefiningClass(String) - Method in class bsh.BshClassManager
-
Indicate that the specified class name has been defined and may be loaded normally.
- DoStatement() - Method in class bsh.Parser
- doSuperImport() - Method in class bsh.BshClassManager
-
Support for "import *;" Hide details in here as opposed to NameSpace.
- doSuperImport() - Method in class bsh.classpath.ClassManagerImpl
-
Support for "import *;" Hide details in here as opposed to NameSpace.
- doSuperImport() - Method in class bsh.NameSpace
-
Perform "import *;" causing the entire classpath to be mapped.
- DOT - Static variable in interface bsh.ParserConstants
- DOUBLE - Static variable in interface bsh.ParserConstants
- driveToClass(String) - Method in class bsh.util.ClassBrowser
- dump(PrintWriter) - Method in class bsh.BshClassManager
- dump(PrintWriter) - Method in class bsh.classpath.ClassManagerImpl
E
- ELSE - Static variable in interface bsh.ParserConstants
- EmptyStatement() - Method in class bsh.Parser
- enable_tracing() - Method in class bsh.Parser
- endClassMapping() - Method in interface bsh.classpath.BshClassPath.MappingFeedback
- endColumn - Variable in class bsh.Token
-
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 - Variable in class bsh.Token
-
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.
- endSplashScreen() - Static method in class bsh.util.Util
- EnhancedForStatement() - Method in class bsh.Parser
- ENUM - Static variable in interface bsh.ParserConstants
- EOF - Static variable in interface bsh.ParserConstants
- eol - Variable in exception bsh.ParseException
-
The end of line string for this machine.
- EQ - Static variable in interface bsh.ParserConstants
- EqualityExpression() - Method in class bsh.Parser
- equals(Object) - Method in class bsh.Primitive
-
Primitives compare equal with other Primitives containing an equal wrapped value.
- error(Object) - Method in interface bsh.ConsoleInterface
- error(Object) - Method in class bsh.Interpreter
-
Print an error message in a standard format on the output stream associated with this interpreter.
- error(Object) - Method in class bsh.util.AWTConsole
- error(Object) - Method in class bsh.util.JConsole
- errorWhileMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
- eval(CallStack, Interpreter) - Method in class bsh.BSHPackageDeclaration
- eval(Reader) - Method in class bsh.Interpreter
-
Evaluate the inputstream in this interpreter's global namespace.
- eval(Reader, NameSpace, String) - Method in class bsh.Interpreter
-
Spawn a non-interactive local interpreter to evaluate text in the specified namespace.
- eval(String) - Method in class bsh.Interpreter
-
Evaluate the string in this interpreter's global namespace.
- eval(String, NameSpace) - Method in class bsh.Interpreter
-
Evaluate the string in the specified namespace.
- eval(String, String) - Static method in class bsh.Remote
-
Evaluate text in the interpreter at url, returning a possible integer return value.
- EvalError - Exception in bsh
-
EvalError indicates that we cannot continue evaluating the script or the script has thrown an exception.
- EvalError(String, SimpleNode, CallStack) - Constructor for exception bsh.EvalError
- evalOnly - Variable in class bsh.Interpreter
- ExclusiveOrExpression() - Method in class bsh.Parser
- ExpandBuff(boolean) - Method in class bsh.JavaCharStream
- expectedTokenSequences - Variable in exception bsh.ParseException
-
Each entry in this array is an array of integers.
- EXPONENT - Static variable in interface bsh.ParserConstants
- Expression() - Method in class bsh.Parser
- EXTENDS - Static variable in interface bsh.ParserConstants
- externalClassLoader - Variable in class bsh.BshClassManager
-
An external classloader supplied by the setClassLoader() command.
- ExternalNameSpace - Class in bsh
-
A namespace which maintains an external map of values held in variables in its scope.
- ExternalNameSpace() - Constructor for class bsh.ExternalNameSpace
- ExternalNameSpace(NameSpace, String, Map) - Constructor for class bsh.ExternalNameSpace
F
- FALSE - Static variable in interface bsh.ParserConstants
- FIELD - Static variable in class bsh.Modifiers
- FillBuff() - Method in class bsh.JavaCharStream
- FINAL - Static variable in interface bsh.ParserConstants
- FINALLY - Static variable in interface bsh.ParserConstants
- findClass(String) - Method in class bsh.classpath.BshClassLoader
-
Find the correct source for the class...
- findClass(String) - Method in class bsh.classpath.DiscreteFilesClassLoader
- FLOAT - Static variable in interface bsh.ParserConstants
- FLOATING_POINT_LITERAL - Static variable in interface bsh.ParserConstants
- FOR - Static variable in interface bsh.ParserConstants
- ForInit() - Method in class bsh.Parser
- FORMAL_COMMENT - Static variable in interface bsh.ParserConstants
- FormalComment() - Method in class bsh.Parser
- FormalParameter() - Method in class bsh.Parser
- FormalParameters() - Method in class bsh.Parser
- ForStatement() - Method in class bsh.Parser
- ForUpdate() - Method in class bsh.Parser
G
- GE - Static variable in interface bsh.ParserConstants
- generateClass() - Method in class bsh.ClassGeneratorUtil
-
Generate the class bytecode for this class.
- generateClass(String, Modifiers, Class[], Class, BSHBlock, boolean, CallStack, Interpreter) - Method in class bsh.ClassGenerator
-
Parse the BSHBlock for the class definition and generate the class.
- generateClass(String, Modifiers, Class[], Class, BSHBlock, boolean, CallStack, Interpreter) - Method in class bsh.ClassGeneratorImpl
- generateClassImpl(String, Modifiers, Class[], Class, BSHBlock, boolean, CallStack, Interpreter) - Static method in class bsh.ClassGeneratorImpl
-
Parse the BSHBlock for for the class definition and generate the class using ClassGenerator.
- generateParameterReifierCode(String[], boolean, CodeVisitor) - Static method in class bsh.ClassGeneratorUtil
-
Generates the code to reify the arguments of the given method.
- generateParseException() - Method in class bsh.Parser
- generateReturnCode(String, CodeVisitor) - Static method in class bsh.ClassGeneratorUtil
-
Generates the code to unreify the result of the given method.
- get() - Method in class bsh.classpath.BshClassPath.AmbiguousName
- get(int) - Method in class bsh.CallStack
-
zero based.
- get(String) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
- get(String) - Method in class bsh.Interpreter
-
Get the value of the name.
- get(String, Interpreter) - Method in class bsh.NameSpace
-
Resolve name to an object through this namespace.
- getAllNames() - Method in class bsh.classpath.BshClassPath
- getAllNames() - Method in interface bsh.NameSource
- getAllNames() - Method in class bsh.NameSpace
-
Implements NameSource
- getAllNamesAux(Vector) - Method in class bsh.ExternalNameSpace
- getAllNamesAux(Vector) - Method in class bsh.NameSpace
-
Helper for implementing NameSource
- getBaseLoader() - Method in class bsh.classpath.ClassManagerImpl
- getBeginColumn() - Method in class bsh.JavaCharStream
- getBeginLine() - Method in class bsh.JavaCharStream
- getBoolean() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getBootClassPath() - Static method in class bsh.classpath.BshClassPath
-
Get the boot path including the lib/rt.jar if possible.
- getBshIterator(Object) - Method in class bsh.CollectionManager
- getBufferedGraphics() - Method in class bsh.util.BshCanvas
-
Get a buffered (persistent) image for drawing on this component
- getByte() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getChar() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getClass(String) - Method in class bsh.NameSpace
-
Load a class through this namespace taking into account imports.
- getClassBeingDefined(String) - Method in class bsh.BshClassManager
-
This method is a temporary workaround used with definingClass.
- getClassesForPackage(String) - Method in class bsh.classpath.BshClassPath
-
Return the set of class names in the specified package including all component paths.
- getClassGenerator() - Static method in class bsh.ClassGenerator
- getClassManager() - Method in class bsh.Interpreter
-
Get the class manager associated with this interpreter (the BshClassManager of this interpreter's global namespace).
- getClassManager() - Method in class bsh.NameSpace
- getClassNameByUnqName(String) - Method in class bsh.BshClassManager
-
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
- getClassNameByUnqName(String) - Method in class bsh.classpath.BshClassPath
-
Support for super import "*"; Get the full name associated with the unqualified name in this classpath.
- getClassNameByUnqName(String) - Method in class bsh.classpath.ClassManagerImpl
-
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
- getClassPath() - Method in class bsh.classpath.ClassManagerImpl
-
Get the full blown classpath.
- getClassSource(String) - Method in class bsh.classpath.BshClassPath
-
Return the source of the specified class which may lie in component path.
- getCode(String) - Method in class bsh.classpath.BshClassPath.DirClassSource
- getCode(String) - Method in class bsh.classpath.BshClassPath.GeneratedClassSource
- getCode(String) - Method in class bsh.classpath.BshClassPath.JarClassSource
- getCollectionManager() - Static method in class bsh.CollectionManager
- getColumn() - Method in class bsh.JavaCharStream
-
Deprecated.
- getCommand(String, Class[], Interpreter) - Method in class bsh.NameSpace
-
A command is a scripted method or compiled command class implementing a specified method signature.
- getConstructorArgs(String, This, Object[], int) - Static method in class bsh.ClassGeneratorUtil
-
Evaluate the arguments (if any) for the constructor specified by the constructor index.
- getDeclaredVariables() - Method in class bsh.ExternalNameSpace
- getDeclaredVariables() - Method in class bsh.NameSpace
- getDefaultValue(Class) - Static method in class bsh.Primitive
-
Get the appropriate default value per JLS 4.5.4
- getDir() - Method in class bsh.classpath.BshClassPath.DirClassSource
- getDouble() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getEndColumn() - Method in class bsh.JavaCharStream
- getEndLine() - Method in class bsh.JavaCharStream
- getErr() - Method in interface bsh.ConsoleInterface
- getErr() - Method in class bsh.Interpreter
-
Get the error output stream associated with this interpreter.
- getErr() - Method in class bsh.util.AWTConsole
- getErr() - Method in class bsh.util.JConsole
- getErrorLineNumber() - Method in exception bsh.EvalError
- getErrorLineNumber() - Method in exception bsh.ParseException
- getErrorSourceFile() - Method in exception bsh.EvalError
- getErrorSourceFile() - Method in exception bsh.ParseException
- getErrorText() - Method in exception bsh.EvalError
- getErrorText() - Method in exception bsh.ParseException
- getFloat() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getFromMap(Object, Object) - Method in class bsh.CollectionManager
- getFullPath() - Method in class bsh.classpath.BshClassPath
-
Get the full path including component paths.
- getGlobal(Interpreter) - Method in class bsh.NameSpace
-
Get the top level namespace or this namespace if we are the top.
- GetImage() - Method in class bsh.JavaCharStream
- getImportedMethod(String, Class[]) - Method in class bsh.NameSpace
- getImportedVar(String) - Method in class bsh.NameSpace
- getIn() - Method in interface bsh.ConsoleInterface
- getIn() - Method in class bsh.Interpreter
-
Get the input stream associated with this interpreter.
- getIn() - Method in class bsh.util.AWTConsole
- getIn() - Method in class bsh.util.JConsole
- getInputStream() - Method in class bsh.util.JConsole
- getInt() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getInterface(Class) - Method in class bsh.Interpreter
-
Get a reference to the interpreter (global namespace), cast to the specified interface type.
- getInterface(Class) - Method in class bsh.This
-
Get a version of this scripted object implementing the specified interface.
- getInterface(Class) - Method in class bsh.XThis
-
Get dynamic proxy for interface, caching those it creates.
- getInterface(Class[]) - Method in class bsh.This
-
Get a version of this scripted object implementing the specified interfaces.
- getInterface(Class[]) - Method in class bsh.XThis
-
Get dynamic proxy for interface, caching those it creates.
- getInvocationLine() - Method in class bsh.NameSpace
- getInvocationText() - Method in class bsh.NameSpace
- getLine() - Method in class bsh.JavaCharStream
-
Deprecated.
- getLong() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getMap() - Method in class bsh.ExternalNameSpace
-
Get the map view of this namespace.
- getMatchingNames(String, List) - Method in class bsh.util.NameCompletionTable
-
Add any matching names to list (including any from other tables)
- getMessage() - Method in exception bsh.EvalError
- getMessage() - Method in exception bsh.ParseException
- getMessage() - Method in error bsh.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMessage(boolean) - Method in exception bsh.ParseException
-
This method has the standard behavior when this object has been created using the standard constructors.
- getMethod(String, Class[]) - Method in class bsh.NameSpace
- getMethod(String, Class[], boolean) - Method in class bsh.ExternalNameSpace
- getMethod(String, Class[], boolean) - Method in class bsh.NameSpace
-
Get the bsh method matching the specified signature declared in this name space or a parent.
- getMethodNames() - Method in class bsh.NameSpace
-
Get the names of methods declared in this namespace.
- getMethods() - Method in class bsh.NameSpace
-
Get the methods defined in this namespace.
- getModifiers() - Method in class bsh.BshMethod
- getModifiers() - Method in class bsh.Variable
- getName() - Method in class bsh.BshMethod
- getName() - Method in class bsh.NameSpace
-
The name of this namespace.
- getName() - Method in class bsh.Variable
- getNameSpace() - Method in class bsh.Interpreter
-
Get the global namespace of this interpreter.
- getNameSpace() - Method in class bsh.This
- getNextToken() - Method in class bsh.Parser
- getNextToken() - Method in class bsh.ParserTokenManager
- getObject() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getOut() - Method in interface bsh.ConsoleInterface
- getOut() - Method in class bsh.Interpreter
-
Get the outptut stream associated with this interpreter.
- getOut() - Method in class bsh.util.AWTConsole
- getOut() - Method in class bsh.util.JConsole
- getPackagesSet() - Method in class bsh.classpath.BshClassPath
-
Get a list of all of the known packages
- getParameterNames() - Method in class bsh.BshMethod
- getParameterTypes() - Method in class bsh.BshMethod
-
Get the argument types of this method.
- getParameterTypes() - Method in class bsh.DelayedEvalBshMethod
- getParamTypeDescriptors() - Method in class bsh.DelayedEvalBshMethod
- getParent() - Method in class bsh.Interpreter
-
Get the parent Interpreter of this interpreter, if any.
- getParent() - Method in class bsh.NameSpace
-
Get the parent namespace.
- getPathComponents() - Method in class bsh.classpath.BshClassPath
-
Get the path components including any component paths.
- getReflectManager() - Static method in class bsh.ReflectManager
-
Return the singleton bsh ReflectManager.
- getResolvedMethod(Class, String, Class[], boolean) - Method in class bsh.BshClassManager
-
Return a previously cached resolved method.
- getResource(String) - Method in class bsh.BshClassManager
-
Get a resource URL using the BeanShell classpath
- getResource(String) - Method in class bsh.classpath.ClassManagerImpl
-
Get a resource URL using the BeanShell classpath
- getResourceAsStream(String) - Method in class bsh.BshClassManager
-
Get a resource stream using the BeanShell classpath
- getResourceAsStream(String) - Method in class bsh.classpath.ClassManagerImpl
-
Get a resource stream using the BeanShell classpath
- getReturnType() - Method in class bsh.BshMethod
-
Get the return type of the method.
- getReturnType() - Method in class bsh.DelayedEvalBshMethod
- getReturnTypeDescriptor() - Method in class bsh.DelayedEvalBshMethod
- getScriptStackTrace() - Method in exception bsh.EvalError
- getShort() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
- getShowResults() - Method in class bsh.Interpreter
-
Show on/off verbose printing status for the show() command.
- getSourceFileInfo() - Method in class bsh.Interpreter
-
Specify the source of the text from which this interpreter is reading.
- getStrictJava() - Method in class bsh.Interpreter
- GetSuffix(int) - Method in class bsh.JavaCharStream
- getSuper(Interpreter) - Method in class bsh.NameSpace
-
Get the parent namespace' This reference or this namespace' This reference if we are the top.
- getTarget() - Method in exception bsh.TargetError
- getTargetClass() - Method in class bsh.ClassIdentifier
- getToken(int) - Method in class bsh.Parser
- getType() - Method in class bsh.Primitive
-
Get the corresponding Java primitive TYPE class for this Primitive.
- getType() - Method in class bsh.Variable
-
A type of null means loosely typed variable
- getTypeDescriptor() - Method in class bsh.Variable
- getURL() - Method in class bsh.classpath.BshClassPath.JarClassSource
- getUserClassPath() - Static method in class bsh.classpath.BshClassPath
-
A BshClassPath initialized to the user path from java.class.path
- getUserClassPathComponents() - Static method in class bsh.classpath.BshClassPath
- getValue() - Method in class bsh.Primitive
-
Return the primitive value stored in its java.lang wrapper class
- getVariable(String) - Method in class bsh.NameSpace
-
Get the specified variable in this namespace or a parent namespace.
- getVariable(String, boolean) - Method in class bsh.NameSpace
-
Get the specified variable in this namespace.
- getVariableImpl(String, boolean) - Method in class bsh.ExternalNameSpace
- getVariableImpl(String, boolean) - Method in class bsh.NameSpace
-
Locate a variable and return the Variable object with optional recursion through parent name spaces.
- getVariableNames() - Method in class bsh.ExternalNameSpace
- getVariableNames() - Method in class bsh.NameSpace
-
Get the names of variables defined in this namespace.
- GEX - Static variable in interface bsh.ParserConstants
- GOTO - Static variable in interface bsh.ParserConstants
- GT - Static variable in interface bsh.ParserConstants
- GTX - Static variable in interface bsh.ParserConstants
- GUIConsoleInterface - Interface in bsh.util
-
Additional capabilities of an interactive console for BeanShell.
H
- HASH_BANG_COMMENT - Static variable in interface bsh.ParserConstants
- hashCode() - Method in class bsh.Primitive
-
The hash of the Primitive is tied to the hash of the wrapped value but shifted so that they are not the same.
- hasModifier(String) - Method in class bsh.BshMethod
- hasModifier(String) - Method in class bsh.Modifiers
- hasModifier(String) - Method in class bsh.Variable
- hasNext() - Method in interface bsh.BshIterator
-
Returns true if and only if there are more objects available via the
next()
method - hasNext() - Method in class bsh.CollectionManager.BasicBshIterator
-
Returns true if and only if there are more objects available via the
next()
method - hasSuperImport() - Method in class bsh.BshClassManager
-
A "super import" ("import *") operation has been performed.
- hasSuperImport() - Method in class bsh.classpath.ClassManagerImpl
- haveAccessibility() - Static method in class bsh.Capabilities
-
If accessibility is enabled determine if the accessibility mechanism exists and if we have the optional bsh package to use it.
- haveSwing() - Static method in class bsh.Capabilities
- HEX_LITERAL - Static variable in interface bsh.ParserConstants
- HOOK - Static variable in interface bsh.ParserConstants
- Httpd - Class in bsh.util
-
A very simple httpd that supports the remote server mode.
- Httpd(int) - Constructor for class bsh.util.Httpd
I
- IDENTIFIER - Static variable in interface bsh.ParserConstants
- identifierToClass(ClassIdentifier) - Static method in class bsh.NameSpace
-
This is a helper method for working inside of bsh scripts and commands.
- IF - Static variable in interface bsh.ParserConstants
- IfStatement() - Method in class bsh.Parser
- image - Variable in class bsh.Token
-
The string image of the token.
- IMPLEMENTS - Static variable in interface bsh.ParserConstants
- IMPORT - Static variable in interface bsh.ParserConstants
- importClass(String) - Method in class bsh.NameSpace
-
Import a class name.
- importCommands(String) - Method in class bsh.NameSpace
-
Import scripted or compiled BeanShell commands in the following package in the classpath.
- ImportDeclaration() - Method in class bsh.Parser
- importedClasses - Variable in class bsh.NameSpace
- importObject(Object) - Method in class bsh.NameSpace
-
Import a compiled Java object's methods and variables into this namespace.
- importPackage(String) - Method in class bsh.NameSpace
-
subsequent imports override earlier ones
- importStatic(Class) - Method in class bsh.NameSpace
- inBuf - Variable in class bsh.JavaCharStream
- InclusiveOrExpression() - Method in class bsh.Parser
- INCR - Static variable in interface bsh.ParserConstants
- init() - Method in class bsh.util.AWTDemoApplet
- init() - Method in class bsh.util.AWTRemoteApplet
- init() - Method in class bsh.util.ClassBrowser
- init() - Method in class bsh.util.JDemoApplet
- init() - Method in class bsh.util.JRemoteApplet
- initInstance(Object, String, Object[]) - Static method in class bsh.ClassGeneratorUtil
-
Initialize an instance of the class.
- inNativeCode() - Method in exception bsh.TargetError
-
Return true if the TargetError was generated from native code.
- input_stream - Variable in class bsh.ParserTokenManager
- inputStream - Variable in class bsh.JavaCharStream
- INSTANCEOF - Static variable in interface bsh.ParserConstants
- InstanceOfExpression() - Method in class bsh.Parser
- insureInitialized() - Method in class bsh.classpath.BshClassPath
-
If the claspath map is not initialized, do it now.
- insureInitialized(boolean) - Method in class bsh.classpath.BshClassPath
- INT - Static variable in interface bsh.ParserConstants
- INTEGER_LITERAL - Static variable in interface bsh.ParserConstants
- interactive - Variable in class bsh.Interpreter
- INTERFACE - Static variable in interface bsh.ParserConstants
- Interpreter - Class in bsh
-
The BeanShell script interpreter.
- Interpreter() - Constructor for class bsh.Interpreter
-
Create an interpreter for evaluation only.
- Interpreter(ConsoleInterface) - Constructor for class bsh.Interpreter
-
Construct a new interactive interpreter attached to the specified console.
- Interpreter(ConsoleInterface, NameSpace) - Constructor for class bsh.Interpreter
-
Construct a new interactive interpreter attached to the specified console using the specified parent namespace.
- Interpreter(Reader, PrintStream, PrintStream, boolean) - Constructor for class bsh.Interpreter
- Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace) - Constructor for class bsh.Interpreter
- Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
-
The main constructor.
- InterpreterError - Exception in bsh
-
An internal error in the interpreter has occurred.
- InterpreterError(String) - Constructor for exception bsh.InterpreterError
- intValue() - Method in class bsh.Primitive
- invoke(Object[], Interpreter) - Method in class bsh.BshMethod
-
Invoke the declared method with the specified arguments and interpreter reference.
- invoke(Object[], Interpreter, CallStack, SimpleNode) - Method in class bsh.BshMethod
-
Invoke the bsh method with the specified args, interpreter ref, and callstack.
- invokeMain(Class, String[]) - Static method in class bsh.Interpreter
- invokeMethod(String, Object[]) - Method in class bsh.This
-
Invoke specified method as from outside java code, using the declaring interpreter and current namespace.
- invokeMethod(String, Object[], Interpreter) - Method in class bsh.NameSpace
-
Invoke a method in this namespace with the specified args and interpreter reference.
- invokeMethod(String, Object[], Interpreter, CallStack, SimpleNode) - Method in class bsh.NameSpace
-
This method simply delegates to This.invokeMethod();
- invokeMethod(String, Object[], Interpreter, CallStack, SimpleNode, boolean) - Method in class bsh.This
-
Invoke a method in this namespace with the specified args, interpreter reference, callstack, and caller info.
- invokeSuperclassMethod(BshClassManager, Object, String, Object[]) - Method in class bsh.ClassGenerator
-
Invoke a super.method() style superclass method on an object instance.
- invokeSuperclassMethod(BshClassManager, Object, String, Object[]) - Method in class bsh.ClassGeneratorImpl
- invokeSuperclassMethodImpl(BshClassManager, Object, String, Object[]) - Static method in class bsh.ClassGeneratorImpl
- isArchiveFileName(String) - Static method in class bsh.classpath.BshClassPath
- isBshIterable(Object) - Method in class bsh.CollectionManager
- isClassBeingDefined(String) - Method in class bsh.BshClassManager
- isClassFileName(String) - Static method in class bsh.classpath.BshClassPath
- isMap(Object) - Method in class bsh.CollectionManager
- isNumber() - Method in class bsh.Primitive
-
Determine if this primitive is a numeric type.
- isWrapperType(Class) - Static method in class bsh.Primitive
J
- JavaCharStream - Class in bsh
-
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
- JavaCharStream(InputStream) - Constructor for class bsh.JavaCharStream
- JavaCharStream(InputStream, int, int) - Constructor for class bsh.JavaCharStream
- JavaCharStream(InputStream, int, int, int) - Constructor for class bsh.JavaCharStream
- JavaCharStream(Reader) - Constructor for class bsh.JavaCharStream
- JavaCharStream(Reader, int, int) - Constructor for class bsh.JavaCharStream
- JavaCharStream(Reader, int, int, int) - Constructor for class bsh.JavaCharStream
- JAVACODE - Static variable in class bsh.NameSpace
- JConsole - Class in bsh.util
-
A JFC/Swing based console for the BeanShell desktop.
- JConsole() - Constructor for class bsh.util.JConsole
- JConsole(InputStream, OutputStream) - Constructor for class bsh.util.JConsole
- JConsole.BlockingPipedInputStream - Class in bsh.util
-
The overridden read method in this class will not throw "Broken pipe" IOExceptions; It will simply wait for new writers and data.
- JDemoApplet - Class in bsh.util
-
Run bsh as an applet for demo purposes.
- JDemoApplet() - Constructor for class bsh.util.JDemoApplet
- jj_nt - Variable in class bsh.Parser
- jjFillToken() - Method in class bsh.ParserTokenManager
- jjstrLiteralImages - Static variable in class bsh.ParserTokenManager
- JJTALLOCATIONEXPRESSION - Static variable in interface bsh.ParserTreeConstants
- JJTAMBIGUOUSNAME - Static variable in interface bsh.ParserTreeConstants
- JJTARGUMENTS - Static variable in interface bsh.ParserTreeConstants
- JJTARRAYDIMENSIONS - Static variable in interface bsh.ParserTreeConstants
- JJTARRAYINITIALIZER - Static variable in interface bsh.ParserTreeConstants
- JJTASSIGNMENT - Static variable in interface bsh.ParserTreeConstants
- JJTBINARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
- JJTBLOCK - Static variable in interface bsh.ParserTreeConstants
- JJTCASTEXPRESSION - Static variable in interface bsh.ParserTreeConstants
- JJTCLASSDECLARATION - Static variable in interface bsh.ParserTreeConstants
- JJTENHANCEDFORSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTFORMALCOMMENT - Static variable in interface bsh.ParserTreeConstants
- JJTFORMALPARAMETER - Static variable in interface bsh.ParserTreeConstants
- JJTFORMALPARAMETERS - Static variable in interface bsh.ParserTreeConstants
- JJTFORSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTIFSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTIMPORTDECLARATION - Static variable in interface bsh.ParserTreeConstants
- JJTLITERAL - Static variable in interface bsh.ParserTreeConstants
- JJTMETHODDECLARATION - Static variable in interface bsh.ParserTreeConstants
- JJTMETHODINVOCATION - Static variable in interface bsh.ParserTreeConstants
- jjtNodeName - Static variable in interface bsh.ParserTreeConstants
- JJTPACKAGEDECLARATION - Static variable in interface bsh.ParserTreeConstants
- JJTPRIMARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
- JJTPRIMARYSUFFIX - Static variable in interface bsh.ParserTreeConstants
- JJTPRIMITIVETYPE - Static variable in interface bsh.ParserTreeConstants
- jjtree - Variable in class bsh.Parser
- JJTRETURNSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTRETURNTYPE - Static variable in interface bsh.ParserTreeConstants
- JJTSTATEMENTEXPRESSIONLIST - Static variable in interface bsh.ParserTreeConstants
- JJTSWITCHLABEL - Static variable in interface bsh.ParserTreeConstants
- JJTSWITCHSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTTERNARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
- JJTTHROWSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTTRYSTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JJTTYPE - Static variable in interface bsh.ParserTreeConstants
- JJTTYPEDVARIABLEDECLARATION - Static variable in interface bsh.ParserTreeConstants
- JJTUNARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
- JJTVARIABLEDECLARATOR - Static variable in interface bsh.ParserTreeConstants
- JJTVOID - Static variable in interface bsh.ParserTreeConstants
- JJTWHILESTATEMENT - Static variable in interface bsh.ParserTreeConstants
- JRemoteApplet - Class in bsh.util
-
A lightweight console applet for remote display of a Beanshell session.
- JRemoteApplet() - Constructor for class bsh.util.JRemoteApplet
K
- keyPressed(KeyEvent) - Method in class bsh.util.AWTConsole
- keyPressed(KeyEvent) - Method in class bsh.util.JConsole
- keyReleased(KeyEvent) - Method in class bsh.util.AWTConsole
- keyReleased(KeyEvent) - Method in class bsh.util.JConsole
- keyTyped(KeyEvent) - Method in class bsh.util.AWTConsole
- keyTyped(KeyEvent) - Method in class bsh.util.JConsole
- kind - Variable in class bsh.Token
-
An integer that describes the kind of this token.
L
- LabeledStatement() - Method in class bsh.Parser
- LBRACE - Static variable in interface bsh.ParserConstants
- LBRACKET - Static variable in interface bsh.ParserConstants
- LE - Static variable in interface bsh.ParserConstants
- LETTER - Static variable in interface bsh.ParserConstants
- LEX - Static variable in interface bsh.ParserConstants
- LexicalError(boolean, int, int, int, String, char) - Static method in error bsh.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- lexStateNames - Static variable in class bsh.ParserTokenManager
- line - Variable in class bsh.JavaCharStream
- Line() - Method in class bsh.Parser
- Literal() - Method in class bsh.Parser
- loadClass(String, boolean) - Method in class bsh.classpath.BshClassLoader
-
This modification allows us to reload classes which are in the Java VM user classpath.
- loadDefaultImports() - Method in class bsh.NameSpace
-
Import standard packages.
- loadSourceClass(String) - Method in class bsh.BshClassManager
- LOCALSCOPING - Static variable in class bsh.Interpreter
- LONG - Static variable in interface bsh.ParserConstants
- lookingAhead - Variable in class bsh.Parser
- LPAREN - Static variable in interface bsh.ParserConstants
- LSHIFT - Static variable in interface bsh.ParserConstants
- LSHIFTASSIGN - Static variable in interface bsh.ParserConstants
- LSHIFTASSIGNX - Static variable in interface bsh.ParserConstants
- LSHIFTX - Static variable in interface bsh.ParserConstants
- LT - Static variable in interface bsh.ParserConstants
- LTX - Static variable in interface bsh.ParserConstants
M
- main(String[]) - Static method in class bsh.classpath.BshClassPath
- main(String[]) - Static method in class bsh.Console
- main(String[]) - Static method in class bsh.Interpreter
-
Run the text only interpreter on the command line or specify a file.
- main(String[]) - Static method in class bsh.Parser
- main(String[]) - Static method in class bsh.Remote
- main(String[]) - Static method in class bsh.util.AWTConsole
- main(String[]) - Static method in class bsh.util.ClassBrowser
- main(String[]) - Static method in class bsh.util.Httpd
- maxCommonPrefix(String, String) - Static method in class bsh.StringUtil
- maxNextCharInd - Variable in class bsh.JavaCharStream
- METHOD - Static variable in class bsh.Modifiers
- MethodDeclaration() - Method in class bsh.Parser
- MethodInvocation() - Method in class bsh.Parser
- methodString(String, Class[]) - Static method in class bsh.StringUtil
- MINUS - Static variable in interface bsh.ParserConstants
- MINUSASSIGN - Static variable in interface bsh.ParserConstants
- MOD - Static variable in interface bsh.ParserConstants
- MODASSIGN - Static variable in interface bsh.ParserConstants
- Modifiers - Class in bsh
- Modifiers() - Constructor for class bsh.Modifiers
- Modifiers(int, boolean) - Method in class bsh.Parser
-
THE JAVA LANGUAGE GRAMMAR STARTS HERE *
- mouseClicked(MouseEvent) - Method in class bsh.util.JConsole
- mouseEntered(MouseEvent) - Method in class bsh.util.JConsole
- mouseExited(MouseEvent) - Method in class bsh.util.JConsole
- mousePressed(MouseEvent) - Method in class bsh.util.JConsole
- mouseReleased(MouseEvent) - Method in class bsh.util.JConsole
- MULTI_LINE_COMMENT - Static variable in interface bsh.ParserConstants
- MultiplicativeExpression() - Method in class bsh.Parser
N
- NameCompletion - Interface in bsh.util
-
The interface for name completion.
- NameCompletionTable - Class in bsh.util
-
NameCompletionTable is a utility that implements simple name completion for a collection of names, NameSources, and other NameCompletionTables.
- NameCompletionTable() - Constructor for class bsh.util.NameCompletionTable
- NameList() - Method in class bsh.Parser
- NameSource - Interface in bsh
-
This interface supports name completion, which is used primarily for command line tools, etc.
- NameSource.Listener - Interface in bsh
- nameSourceChanged(NameSource) - Method in interface bsh.NameSource.Listener
- NameSpace - Class in bsh
-
A namespace in which methods, variables, and imports (class names) live.
- NameSpace(BshClassManager, String) - Constructor for class bsh.NameSpace
- NameSpace(NameSpace, BshClassManager, String) - Constructor for class bsh.NameSpace
- NameSpace(NameSpace, String) - Constructor for class bsh.NameSpace
- nameSpaceChanged() - Method in class bsh.NameSpace
-
Clear all cached classes and names
- NATIVE - Static variable in interface bsh.ParserConstants
- NE - Static variable in interface bsh.ParserConstants
- NEW - Static variable in interface bsh.ParserConstants
- newToken(int) - Static method in class bsh.Token
-
Returns a new Token object, by default.
- next - Variable in class bsh.Token
-
A reference to the next regular (non-special) token from the input stream.
- next() - Method in interface bsh.BshIterator
-
Fetch the next object in the iteration
- next() - Method in class bsh.CollectionManager.BasicBshIterator
-
Fetch the next object in the iteration
- nextCharBuf - Variable in class bsh.JavaCharStream
- nextCharInd - Variable in class bsh.JavaCharStream
- noClassDefFound(String, Error) - Static method in class bsh.BshClassManager
-
Annotate the NoClassDefFoundError with some info about the class we were trying to load.
- NONPRINTABLE - Static variable in interface bsh.ParserConstants
- normalizeClassName(Class) - Static method in class bsh.StringUtil
-
Hack - The real method is in Reflect.java which is not public.
- NULL - Static variable in interface bsh.ParserConstants
- NULL - Static variable in class bsh.Primitive
- NullLiteral() - Method in class bsh.Parser
- numberValue() - Method in class bsh.Primitive
O
- OCTAL_LITERAL - Static variable in interface bsh.ParserConstants
- ORASSIGN - Static variable in interface bsh.ParserConstants
- ORASSIGNX - Static variable in interface bsh.ParserConstants
P
- PACKAGE - Static variable in interface bsh.ParserConstants
- PackageDeclaration() - Method in class bsh.Parser
- paintComponent(Graphics) - Method in class bsh.util.BshCanvas
- ParseException - Exception in bsh
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception bsh.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(Token, int[][], String[]) - Constructor for exception bsh.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(String) - Constructor for exception bsh.ParseException
- Parser - Class in bsh
-
This is the BeanShell parser.
- Parser(ParserTokenManager) - Constructor for class bsh.Parser
- Parser(InputStream) - Constructor for class bsh.Parser
- Parser(Reader) - Constructor for class bsh.Parser
- ParserConstants - Interface in bsh
- ParserTokenManager - Class in bsh
- ParserTokenManager(JavaCharStream) - Constructor for class bsh.ParserTokenManager
- ParserTokenManager(JavaCharStream, int) - Constructor for class bsh.ParserTokenManager
- ParserTreeConstants - Interface in bsh
- pathToFile(String) - Method in class bsh.Interpreter
-
Localize a path to the file name based on the bsh.cwd interpreter working directory.
- plainClassForName(String) - Method in class bsh.BshClassManager
-
Perform a plain Class.forName() or call the externally provided classloader.
- PLUS - Static variable in interface bsh.ParserConstants
- PLUSASSIGN - Static variable in interface bsh.ParserConstants
- pop() - Method in class bsh.CallStack
- popNode() - Method in class bsh.Parser
- PostfixExpression() - Method in class bsh.Parser
- PreDecrementExpression() - Method in class bsh.Parser
- PreIncrementExpression() - Method in class bsh.Parser
- prependMessage(String) - Method in exception bsh.EvalError
-
Prepend the message if it is non-null.
- prevCharIsCR - Variable in class bsh.JavaCharStream
- prevCharIsLF - Variable in class bsh.JavaCharStream
- PrimaryExpression() - Method in class bsh.Parser
- PrimaryPrefix() - Method in class bsh.Parser
- PrimarySuffix() - Method in class bsh.Parser
- Primitive - Class in bsh
-
Wrapper for primitive types in Bsh.
- Primitive(boolean) - Constructor for class bsh.Primitive
- Primitive(byte) - Constructor for class bsh.Primitive
- Primitive(char) - Constructor for class bsh.Primitive
- Primitive(double) - Constructor for class bsh.Primitive
- Primitive(float) - Constructor for class bsh.Primitive
- Primitive(int) - Constructor for class bsh.Primitive
- Primitive(long) - Constructor for class bsh.Primitive
- Primitive(short) - Constructor for class bsh.Primitive
- Primitive(Object) - Constructor for class bsh.Primitive
- PrimitiveType() - Method in class bsh.Parser
- print(Object) - Method in interface bsh.ConsoleInterface
- print(Object) - Method in class bsh.Interpreter
- print(Object) - Method in class bsh.util.AWTConsole
- print(Object) - Method in class bsh.util.JConsole
- print(Object, Color) - Method in class bsh.util.AWTConsole
- print(Object, Color) - Method in interface bsh.util.GUIConsoleInterface
- print(Object, Color) - Method in class bsh.util.JConsole
- print(Object, Font) - Method in class bsh.util.JConsole
- print(Object, Font, Color) - Method in class bsh.util.JConsole
- print(Object, String, int, Color) - Method in class bsh.util.JConsole
- print(Object, String, int, Color, boolean, boolean, boolean) - Method in class bsh.util.JConsole
- print(Icon) - Method in class bsh.util.JConsole
- println() - Method in class bsh.util.JConsole
-
Prints "\\n" (i.e.
- println(Object) - Method in interface bsh.ConsoleInterface
- println(Object) - Method in class bsh.Interpreter
- println(Object) - Method in class bsh.util.AWTConsole
- println(Object) - Method in class bsh.util.JConsole
- println(Icon) - Method in class bsh.util.JConsole
- printStackTrace() - Method in exception bsh.TargetError
- printStackTrace(boolean, PrintStream) - Method in exception bsh.TargetError
- printStackTrace(PrintStream) - Method in exception bsh.TargetError
- printTargetError(Throwable) - Method in exception bsh.TargetError
-
Generate a printable string showing the wrapped target exception.
- PRIVATE - Static variable in interface bsh.ParserConstants
- propertyChange(PropertyChangeEvent) - Method in class bsh.util.JConsole
- PROTECTED - Static variable in interface bsh.ParserConstants
- prune() - Method in class bsh.NameSpace
-
Used for serialization
- PUBLIC - Static variable in interface bsh.ParserConstants
- push(NameSpace) - Method in class bsh.CallStack
- put(String, BshClassPath.ClassSource) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
- putExternalMap(String, Object) - Method in class bsh.ExternalNameSpace
-
Place an unwrapped value in the external map.
- putInMap(Object, Object, Object) - Method in class bsh.CollectionManager
R
- RBRACE - Static variable in interface bsh.ParserConstants
- RBRACKET - Static variable in interface bsh.ParserConstants
- read() - Method in class bsh.util.JConsole.BlockingPipedInputStream
- ReadByte() - Method in class bsh.JavaCharStream
- readBytesFromFile(File, String) - Static method in class bsh.classpath.BshClassPath.DirClassSource
- readChar() - Method in class bsh.JavaCharStream
- redirectOutputToFile(String) - Static method in class bsh.Interpreter
- ReflectManager - Class in bsh
-
ReflectManager is a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater.
- ReflectManager() - Constructor for class bsh.ReflectManager
- ReflectManagerImpl - Class in bsh.reflect
-
This is the implementation of: ReflectManager - a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater.
- ReflectManagerImpl() - Constructor for class bsh.reflect.ReflectManagerImpl
- ReInit(JavaCharStream) - Method in class bsh.ParserTokenManager
- ReInit(JavaCharStream, int) - Method in class bsh.ParserTokenManager
- ReInit(ParserTokenManager) - Method in class bsh.Parser
- ReInit(InputStream) - Method in class bsh.JavaCharStream
- ReInit(InputStream) - Method in class bsh.Parser
- ReInit(InputStream, int, int) - Method in class bsh.JavaCharStream
- ReInit(InputStream, int, int, int) - Method in class bsh.JavaCharStream
- ReInit(Reader) - Method in class bsh.JavaCharStream
- ReInit(Reader) - Method in class bsh.Parser
- ReInit(Reader, int, int) - Method in class bsh.JavaCharStream
- ReInit(Reader, int, int, int) - Method in class bsh.JavaCharStream
- RelationalExpression() - Method in class bsh.Parser
- reloadAllClasses() - Method in class bsh.BshClassManager
-
Overlay the entire path with a new class loader.
- reloadAllClasses() - Method in class bsh.classpath.ClassManagerImpl
-
Overlay the entire path with a new class loader.
- reloadClasses(String[]) - Method in class bsh.BshClassManager
-
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
- reloadClasses(String[]) - Method in class bsh.classpath.ClassManagerImpl
-
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
- reloadPackage(String) - Method in class bsh.BshClassManager
-
Reload all classes in the specified package: e.g.
- reloadPackage(String) - Method in class bsh.classpath.ClassManagerImpl
-
Reload all classes in the specified package: e.g.
- Remote - Class in bsh
-
Remote executor class.
- Remote() - Constructor for class bsh.Remote
- removeInnerClassNames(Collection) - Static method in class bsh.classpath.BshClassPath
-
Return a new collection without any inner class names
- removeListener(BshClassManager.Listener) - Method in class bsh.BshClassManager
- removeListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
- removeListener(ClassPathListener) - Method in class bsh.classpath.BshClassPath
- requestFocus() - Method in class bsh.util.JConsole
- reset() - Method in class bsh.BshClassManager
-
Clear all loaders and start over.
- reset() - Method in class bsh.classpath.ClassManagerImpl
-
Clear all classloading behavior and class caches and reset to initial state.
- resolvedObjectMethods - Variable in class bsh.BshClassManager
-
Caches for resolved object and static methods.
- resolvedStaticMethods - Variable in class bsh.BshClassManager
- reThrow(String) - Method in exception bsh.EvalError
-
Re-throw the error, prepending the specified message.
- RETURN - Static variable in interface bsh.ParserConstants
- ReturnStatement() - Method in class bsh.Parser
- ReturnType() - Method in class bsh.Parser
- RMSetAccessible(Object) - Static method in class bsh.ReflectManager
-
Reflect Manager Set Accessible.
- RPAREN - Static variable in interface bsh.ParserConstants
- RSIGNEDSHIFT - Static variable in interface bsh.ParserConstants
- RSIGNEDSHIFTASSIGN - Static variable in interface bsh.ParserConstants
- RSIGNEDSHIFTASSIGNX - Static variable in interface bsh.ParserConstants
- RSIGNEDSHIFTX - Static variable in interface bsh.ParserConstants
- run() - Method in class bsh.Interpreter
-
Run interactively.
- run() - Method in class bsh.This
- run() - Method in class bsh.util.AWTConsole
- run() - Method in class bsh.util.Httpd
- run() - Method in class bsh.util.JConsole
- run() - Method in class bsh.util.Sessiond
- RUNSIGNEDSHIFT - Static variable in interface bsh.ParserConstants
- RUNSIGNEDSHIFTASSIGN - Static variable in interface bsh.ParserConstants
- RUNSIGNEDSHIFTASSIGNX - Static variable in interface bsh.ParserConstants
- RUNSIGNEDSHIFTX - Static variable in interface bsh.ParserConstants
S
- selector - Variable in class bsh.ClassGeneratorUtil.ConstructorArgs
- SEMICOLON - Static variable in interface bsh.ParserConstants
- Sessiond - Class in bsh.util
-
BeanShell remote session server.
- Sessiond(NameSpace, int) - Constructor for class bsh.util.Sessiond
- set(int, NameSpace) - Method in class bsh.CallStack
-
This is kind of crazy, but used by the setNameSpace command.
- set(String, boolean) - Method in class bsh.Interpreter
- set(String, double) - Method in class bsh.Interpreter
- set(String, float) - Method in class bsh.Interpreter
- set(String, int) - Method in class bsh.Interpreter
- set(String, long) - Method in class bsh.Interpreter
- set(String, Object) - Method in class bsh.Interpreter
-
Assign the value to the name.
- setAccessibility(boolean) - Static method in class bsh.Capabilities
- setAccessible(Object) - Method in class bsh.reflect.ReflectManagerImpl
-
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
- setAccessible(Object) - Method in class bsh.ReflectManager
-
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
- setBounds(int, int, int, int) - Method in class bsh.util.BshCanvas
- setCaretPosition(int) - Method in class bsh.util.AWTConsole
- setClassLoader(ClassLoader) - Method in class bsh.BshClassManager
-
Set an external class loader.
- setClassLoader(ClassLoader) - Method in class bsh.Interpreter
-
Set an external class loader to be used as the base classloader for BeanShell.
- setClassPath(URL[]) - Method in class bsh.BshClassManager
-
Set a new base classpath and create a new base classloader.
- setClassPath(URL[]) - Method in class bsh.classpath.ClassManagerImpl
-
Set a new base classpath and create a new base classloader.
- setClassSource(String, BshClassPath.ClassSource) - Method in class bsh.classpath.BshClassPath
-
Explicitly set a class source.
- setConsole(ConsoleInterface) - Method in class bsh.Interpreter
-
Attach a console Note: this method is incomplete.
- setDebugStream(PrintStream) - Method in class bsh.ParserTokenManager
- setErr(PrintStream) - Method in class bsh.Interpreter
- setErrorSourceFile(String) - Method in exception bsh.ParseException
-
Used to add source file info to exception
- setExitOnEOF(boolean) - Method in class bsh.Interpreter
-
Specify whether, in interactive mode, the interpreter exits Java upon end of input.
- setFont(Font) - Method in class bsh.util.JConsole
- setFrame(JFrame) - Method in class bsh.util.ClassBrowser
- setFrame(JInternalFrame) - Method in class bsh.util.ClassBrowser
- setInstanceNameSpaceParent(Object, String, NameSpace) - Method in class bsh.ClassGenerator
-
Change the parent of the class instance namespace.
- setInstanceNameSpaceParent(Object, String, NameSpace) - Method in class bsh.ClassGeneratorImpl
-
Change the parent of the class instance namespace.
- setMap(Map) - Method in class bsh.ExternalNameSpace
-
Set the external Map which to which this namespace synchronizes.
- setMessage(String) - Method in exception bsh.EvalError
- setMethod(String, BshMethod) - Method in class bsh.ExternalNameSpace
- setMethod(String, BshMethod) - Method in class bsh.NameSpace
-
Note: this is primarily for internal use.
- setName(String) - Method in class bsh.NameSpace
- setNameCompletion(NameCompletion) - Method in interface bsh.util.GUIConsoleInterface
- setNameCompletion(NameCompletion) - Method in class bsh.util.JConsole
- setNameSpace(NameSpace) - Method in class bsh.Interpreter
-
Set the global namespace for this interpreter.
- setOut(PrintStream) - Method in class bsh.Interpreter
- setParent(NameSpace) - Method in class bsh.NameSpace
- setPath(URL[]) - Method in class bsh.classpath.BshClassPath
- setRetainComments(boolean) - Method in class bsh.Parser
- setShowResults(boolean) - Method in class bsh.Interpreter
-
Turn on/off the verbose printing of results as for the show() command.
- setStrictJava(boolean) - Method in class bsh.Interpreter
-
Set strict Java mode on or off.
- setTypedVariable(String, Class, Object, boolean) - Method in class bsh.NameSpace
-
Deprecated.See #setTypedVariable( String, Class, Object, Modifiers )
- setTypedVariable(String, Class, Object, Modifiers) - Method in class bsh.ExternalNameSpace
- setTypedVariable(String, Class, Object, Modifiers) - Method in class bsh.NameSpace
-
Declare a variable in the local scope and set its initial value.
- setValue(Object, int) - Method in class bsh.Variable
-
Set the value of the typed variable.
- setVariable(String, Object, boolean) - Method in class bsh.NameSpace
-
Set the variable through this namespace.
- setWaitFeedback(boolean) - Method in interface bsh.util.GUIConsoleInterface
-
e.g.
- setWaitFeedback(boolean) - Method in class bsh.util.JConsole
- ShiftExpression() - Method in class bsh.Parser
- SHORT - Static variable in interface bsh.ParserConstants
- SINGLE_LINE_COMMENT - Static variable in interface bsh.ParserConstants
- SLASH - Static variable in interface bsh.ParserConstants
- SLASHASSIGN - Static variable in interface bsh.ParserConstants
- source(String) - Method in class bsh.Interpreter
-
Read text from fileName and eval it.
- source(String, NameSpace) - Method in class bsh.Interpreter
-
Read text from fileName and eval it.
- specialConstructor - Variable in exception bsh.ParseException
-
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
- specialToken - Variable in class bsh.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- split(String, String) - Static method in class bsh.StringUtil
- splitClassname(String) - Static method in class bsh.classpath.BshClassPath
-
Split class name into package and name
- STAR - Static variable in interface bsh.ParserConstants
- STARASSIGN - Static variable in interface bsh.ParserConstants
- startClassMapping() - Method in interface bsh.classpath.BshClassPath.MappingFeedback
- startSplashScreen() - Static method in class bsh.util.Util
- Statement() - Method in class bsh.Parser
- StatementExpression() - Method in class bsh.Parser
- StatementExpressionList() - Method in class bsh.Parser
- STATIC - Static variable in interface bsh.ParserConstants
- staticFlag - Static variable in class bsh.JavaCharStream
- STRICTFP - Static variable in interface bsh.ParserConstants
- STRING_LITERAL - Static variable in interface bsh.ParserConstants
- StringUtil - Class in bsh
- StringUtil() - Constructor for class bsh.StringUtil
- swap(NameSpace) - Method in class bsh.CallStack
-
Swap in the value as the new top of the stack and return the old value.
- SWITCH - Static variable in interface bsh.ParserConstants
- SwitchLabel() - Method in class bsh.Parser
- SwitchStatement() - Method in class bsh.Parser
- SwitchTo(int) - Method in class bsh.ParserTokenManager
- SYNCHRONIZED - Static variable in interface bsh.ParserConstants
- SynchronizedStatement() - Method in class bsh.Parser
T
- t - Variable in exception bsh.UtilTargetError
- TargetError - Exception in bsh
-
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script).
- TargetError(String, Throwable, SimpleNode, CallStack, boolean) - Constructor for exception bsh.TargetError
- TargetError(Throwable, SimpleNode, CallStack) - Constructor for exception bsh.TargetError
- text - Variable in class bsh.BSHFormalComment
- This - Class in bsh
-
'This' is the type of bsh scripted objects.
- This(NameSpace, Interpreter) - Constructor for class bsh.This
- THROW - Static variable in interface bsh.ParserConstants
- THROWS - Static variable in interface bsh.ParserConstants
- ThrowStatement() - Method in class bsh.Parser
- TILDE - Static variable in interface bsh.ParserConstants
- toArray() - Method in class bsh.CallStack
- toEvalError(SimpleNode, CallStack) - Method in exception bsh.UtilEvalError
- toEvalError(String, SimpleNode, CallStack) - Method in exception bsh.UtilEvalError
-
Re-throw as an eval error, prefixing msg to the message and specifying the node.
- toEvalError(String, SimpleNode, CallStack) - Method in exception bsh.UtilTargetError
-
Override toEvalError to throw TargetError type.
- toFront() - Method in class bsh.util.ClassBrowser
- token - Variable in class bsh.Parser
- Token - Class in bsh
-
Describes the input token stream.
- Token() - Constructor for class bsh.Token
- token_source - Variable in class bsh.Parser
- tokenImage - Variable in exception bsh.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- tokenImage - Static variable in interface bsh.ParserConstants
- TokenMgrError - Error in bsh
- TokenMgrError() - Constructor for error bsh.TokenMgrError
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error bsh.TokenMgrError
- TokenMgrError(String, int) - Constructor for error bsh.TokenMgrError
- top() - Method in class bsh.CallStack
- toString() - Method in class bsh.BshMethod
- toString() - Method in class bsh.CallStack
- toString() - Method in class bsh.ClassIdentifier
- toString() - Method in class bsh.classpath.BshClassPath.DirClassSource
- toString() - Method in class bsh.classpath.BshClassPath.JarClassSource
- toString() - Method in class bsh.classpath.BshClassPath
- toString() - Method in class bsh.classpath.DiscreteFilesClassLoader
- toString() - Method in exception bsh.EvalError
-
Print the error with line number and stack trace.
- toString() - Method in class bsh.Modifiers
- toString() - Method in class bsh.NameSpace
- toString() - Method in exception bsh.ParseException
- toString() - Method in class bsh.Primitive
- toString() - Method in exception bsh.TargetError
- toString() - Method in class bsh.This
- toString() - Method in class bsh.Token
-
Returns the image.
- toString() - Method in class bsh.util.AWTConsole
- toString() - Method in class bsh.util.JConsole
- toString() - Method in class bsh.Variable
- toString() - Method in class bsh.XThis
- TRACE - Static variable in class bsh.Interpreter
- TRANSIENT - Static variable in interface bsh.ParserConstants
- TRUE - Static variable in interface bsh.ParserConstants
- TRY - Static variable in interface bsh.ParserConstants
- TryStatement() - Method in class bsh.Parser
- type(int, char, int) - Method in class bsh.util.AWTConsole
- Type() - Method in class bsh.Parser
- TypedVariableDeclaration() - Method in class bsh.Parser
-
Declared a typed variable.
U
- UnaryExpression() - Method in class bsh.Parser
- UnaryExpressionNotPlusMinus() - Method in class bsh.Parser
- unaryOperation(Primitive, int) - Static method in class bsh.Primitive
- Unavailable(String) - Constructor for exception bsh.Capabilities.Unavailable
- unboxType(Class) - Static method in class bsh.Primitive
-
Get the corresponding primitive TYPE class for the java.lang wrapper class type.
- unset(String) - Method in class bsh.Interpreter
-
Unassign the variable name.
- unsetVariable(String) - Method in class bsh.ExternalNameSpace
- unsetVariable(String) - Method in class bsh.NameSpace
-
Remove the variable from the namespace.
- unwrap(Object) - Static method in class bsh.Primitive
-
Unwrap primitive values and map voids to nulls.
- unwrap(Object[]) - Static method in class bsh.Primitive
- unwrapVariable(Variable) - Method in class bsh.NameSpace
-
Unwrap a variable to its value.
- UpdateLineColumn(char) - Method in class bsh.JavaCharStream
- Util - Class in bsh.util
-
Misc utilities for the bsh.util package.
- Util() - Constructor for class bsh.util.Util
- UtilEvalError - Exception in bsh
-
UtilEvalError is an error corresponding to an EvalError but thrown by a utility or other class that does not have the caller context (Node) available to it.
- UtilEvalError() - Constructor for exception bsh.UtilEvalError
- UtilEvalError(String) - Constructor for exception bsh.UtilEvalError
- UtilTargetError - Exception in bsh
-
UtilTargetError is an error corresponding to a TargetError but thrown by a utility or other class that does not have the caller context (Node) available to it.
- UtilTargetError(String, Throwable) - Constructor for exception bsh.UtilTargetError
- UtilTargetError(Throwable) - Constructor for exception bsh.UtilTargetError
V
- valueChanged(ListSelectionEvent) - Method in class bsh.util.ClassBrowser
- Variable - Class in bsh
- VariableDeclarator() - Method in class bsh.Parser
- VariableInitializer() - Method in class bsh.Parser
- VERSION - Static variable in class bsh.Interpreter
- VOID - Static variable in interface bsh.ParserConstants
- VOID - Static variable in class bsh.Primitive
-
VOID means "no type".
- VoidLiteral() - Method in class bsh.Parser
- VOLATILE - Static variable in interface bsh.ParserConstants
W
- WHILE - Static variable in interface bsh.ParserConstants
- WhileStatement() - Method in class bsh.Parser
- wrap(Object[], Class[]) - Static method in class bsh.Primitive
- wrap(Object, Class) - Static method in class bsh.Primitive
-
Wrap primitive values (as indicated by type param) and nulls in the Primitive class.
X
- XOR - Static variable in interface bsh.ParserConstants
- XORASSIGN - Static variable in interface bsh.ParserConstants
- xPrintTargetError(Throwable) - Method in exception bsh.TargetError
-
Extended form of print target error.
- XThis - Class in bsh
-
XThis is a dynamically loaded extension which extends This.java and adds support for the generalized interface proxy mechanism introduced in JDK1.3.
- XThis(NameSpace, Interpreter) - Constructor for class bsh.XThis
_
- _DEFAULT - Static variable in interface bsh.ParserConstants
All Classes All Packages