A B C D E F G H I J K L M N O P R S T U V W X Z _

A

ABSTRACT - Static variable in interface bsh.ParserConstants
 
ANDASSIGN - Static variable in interface bsh.ParserConstants
 
ANDASSIGNX - Static variable in interface bsh.ParserConstants
 
ASSIGN - Static variable in interface bsh.ParserConstants
 
ASSIGNMENT - Static variable in class bsh.Types
 
ASSIGNMENT - Static variable in class bsh.Variable
 
AWTConsole - class bsh.util.AWTConsole.
An old AWT based console for BeanShell.
AWTConsole(int, int, InputStream, OutputStream) - Constructor for class bsh.util.AWTConsole
 
AWTConsole() - Constructor for class bsh.util.AWTConsole
 
AWTConsole(InputStream, OutputStream) - Constructor for class bsh.util.AWTConsole
 
AWTDemoApplet - class bsh.util.AWTDemoApplet.
Run bsh as an applet for demo purposes.
AWTDemoApplet() - Constructor for class bsh.util.AWTDemoApplet
 
AWTRemoteApplet - class bsh.util.AWTRemoteApplet.
A lightweight console applet for remote display of a Beanshell session.
AWTRemoteApplet() - Constructor for class bsh.util.AWTRemoteApplet
 
AdditiveExpression() - Method in class bsh.Parser
 
AdjustBuffSize() - Method in class bsh.JavaCharStream
 
AllocationExpression() - Method in class bsh.Parser
 
AmbiguousName() - Method in class bsh.Parser
 
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
 
Assignment() - Method in class bsh.Parser
 
AssignmentOperator() - Method in class bsh.Parser
 
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.
actionPerformed(ActionEvent) - Method in class bsh.JThis
 
actionPerformed(ActionEvent) - Method in class bsh.util.JConsole
 
add(String) - Method in class bsh.classpath.BshClassPath.AmbiguousName
 
add(String) - Method in class bsh.classpath.BshClassPath.UnqualifiedNameTable
 
add(URL[]) - Method in class bsh.classpath.BshClassPath
 
add(URL) - Method in class bsh.classpath.BshClassPath
 
add(NameCompletionTable) - Method in class bsh.util.NameCompletionTable
Add a NameCompletionTable, which is more optimized than the more general NameSource
add(NameSource) - Method in class bsh.util.NameCompletionTable
Add a NameSource which is monitored for names.
addArrayDimension() - Method in class bsh.BSHType
Used by the grammar to indicate dimensions of array types during parsing.
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.
addDefinedDimension() - Method in class bsh.BSHArrayDimensions
 
addEscapes(String) - Static method in class bsh.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addListener(BshClassManager.Listener) - Method in class bsh.BshClassManager
 
addListener(ClassPathListener) - Method in class bsh.classpath.BshClassPath
 
addListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
 
addMappingFeedback(BshClassPath.MappingFeedback) - Static method in class bsh.classpath.BshClassPath
 
addModifier(int, String) - Method in class bsh.Modifiers
 
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.
addNameSourceListener(NameSource.Listener) - Method in class bsh.classpath.BshClassPath
Implements NameSource Add a listener who is notified upon changes to names in this space.
addNodeMap(TreeNode) - Method in class bsh.util.ClassBrowser.PackageTree
map a single node up to the root
addURL(URL) - Method in class bsh.classpath.BshClassLoader
 
addUndefinedDimension() - Method in class bsh.BSHArrayDimensions
 
add_escapes(String) - Method in class 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.
adjustBeginLineColumn(int, int) - Method in class bsh.JavaCharStream
Method to adjust line and column numbers for the start of a token.
adjustmentValueChanged(AdjustmentEvent) - Method in class bsh.JThis
 
ancestorAdded(AncestorEvent) - Method in class bsh.JThis
 
ancestorMoved(AncestorEvent) - Method in class bsh.JThis
 
ancestorRemoved(AncestorEvent) - Method in class bsh.JThis
 
arg - Variable in class bsh.ClassGeneratorUtil.ConstructorArgs
 
args - Variable in class bsh.ClassGeneratorUtil.ConstructorArgs
 
argsAssignable(Class[], Object[]) - Static method in class bsh.Types
Deprecated. fix this! need to stop catching exception
asClass - Variable in class bsh.Name
The result is a class
assign(Object, boolean) - Method in class bsh.LHS
Assign a value to the LHS.
available - Variable in class bsh.JavaCharStream
 

B

BANG - Static variable in interface bsh.ParserConstants
 
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
 
BOOLEAN - Static variable in interface bsh.ParserConstants
 
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
 
BREAK - Static variable in interface bsh.ParserConstants
 
BSHAllocationExpression - class bsh.BSHAllocationExpression.
New object, new array, or inner class style allocation with body.
BSHAllocationExpression(int) - Constructor for class bsh.BSHAllocationExpression
 
BSHAmbiguousName - class bsh.BSHAmbiguousName.
 
BSHAmbiguousName(int) - Constructor for class bsh.BSHAmbiguousName
 
BSHArguments - class bsh.BSHArguments.
 
BSHArguments(int) - Constructor for class bsh.BSHArguments
 
BSHArrayDimensions - class bsh.BSHArrayDimensions.
The name of this class is somewhat misleading.
BSHArrayDimensions(int) - Constructor for class bsh.BSHArrayDimensions
 
BSHArrayInitializer - class bsh.BSHArrayInitializer.
 
BSHArrayInitializer(int) - Constructor for class bsh.BSHArrayInitializer
 
BSHAssignment - class bsh.BSHAssignment.
 
BSHAssignment(int) - Constructor for class bsh.BSHAssignment
 
BSHBinaryExpression - class bsh.BSHBinaryExpression.
Implement binary expressions...
BSHBinaryExpression(int) - Constructor for class bsh.BSHBinaryExpression
 
BSHBlock - class bsh.BSHBlock.
 
BSHBlock(int) - Constructor for class bsh.BSHBlock
 
BSHBlock.NodeFilter - interface bsh.BSHBlock.NodeFilter.
 
BSHCONSTRUCTORS - Static variable in class bsh.ClassGeneratorUtil
The bsh static namespace variable that holds the constructor methods
BSHCastExpression - class bsh.BSHCastExpression.
Implement casts.
BSHCastExpression(int) - Constructor for class bsh.BSHCastExpression
 
BSHClassDeclaration - class bsh.BSHClassDeclaration.
 
BSHClassDeclaration(int) - Constructor for class bsh.BSHClassDeclaration
 
BSHEnhancedForStatement - class bsh.BSHEnhancedForStatement.
Implementation of the enhanced for(:) statement.
BSHEnhancedForStatement(int) - Constructor for class bsh.BSHEnhancedForStatement
 
BSHForStatement - class bsh.BSHForStatement.
Implementation of the for(;;) statement.
BSHForStatement(int) - Constructor for class bsh.BSHForStatement
 
BSHFormalComment - class bsh.BSHFormalComment.
 
BSHFormalComment(int) - Constructor for class bsh.BSHFormalComment
 
BSHFormalParameter - class bsh.BSHFormalParameter.
A formal parameter declaration.
BSHFormalParameter(int) - Constructor for class bsh.BSHFormalParameter
 
BSHFormalParameters - class bsh.BSHFormalParameters.
 
BSHFormalParameters(int) - Constructor for class bsh.BSHFormalParameters
 
BSHINIT - Static variable in class bsh.ClassGeneratorUtil
The bsh static namespace variable name of the instance initializer
BSHIfStatement - class bsh.BSHIfStatement.
 
BSHIfStatement(int) - Constructor for class bsh.BSHIfStatement
 
BSHImportDeclaration - class bsh.BSHImportDeclaration.
 
BSHImportDeclaration(int) - Constructor for class bsh.BSHImportDeclaration
 
BSHLiteral - class bsh.BSHLiteral.
 
BSHLiteral(int) - Constructor for class bsh.BSHLiteral
 
BSHMethodDeclaration - class bsh.BSHMethodDeclaration.
 
BSHMethodDeclaration(int) - Constructor for class bsh.BSHMethodDeclaration
 
BSHMethodInvocation - class bsh.BSHMethodInvocation.
 
BSHMethodInvocation(int) - Constructor for class bsh.BSHMethodInvocation
 
BSHPackageDeclaration - class bsh.BSHPackageDeclaration.
 
BSHPackageDeclaration(int) - Constructor for class bsh.BSHPackageDeclaration
 
BSHPrimaryExpression - class bsh.BSHPrimaryExpression.
 
BSHPrimaryExpression(int) - Constructor for class bsh.BSHPrimaryExpression
 
BSHPrimarySuffix - class bsh.BSHPrimarySuffix.
 
BSHPrimarySuffix(int) - Constructor for class bsh.BSHPrimarySuffix
 
BSHPrimitiveType - class bsh.BSHPrimitiveType.
 
BSHPrimitiveType(int) - Constructor for class bsh.BSHPrimitiveType
 
BSHReturnStatement - class bsh.BSHReturnStatement.
 
BSHReturnStatement(int) - Constructor for class bsh.BSHReturnStatement
 
BSHReturnType - class bsh.BSHReturnType.
 
BSHReturnType(int) - Constructor for class bsh.BSHReturnType
 
BSHSTATIC - Static variable in class bsh.ClassGeneratorUtil
The name of the static field holding the reference to the bsh static This (the callback namespace for static methods)
BSHSUPER - Static variable in class bsh.ClassGeneratorUtil
The prefix for the name of the super delegate methods.
BSHStatementExpressionList - class bsh.BSHStatementExpressionList.
 
BSHStatementExpressionList(int) - Constructor for class bsh.BSHStatementExpressionList
 
BSHSwitchLabel - class bsh.BSHSwitchLabel.
 
BSHSwitchLabel(int) - Constructor for class bsh.BSHSwitchLabel
 
BSHSwitchStatement - class bsh.BSHSwitchStatement.
 
BSHSwitchStatement(int) - Constructor for class bsh.BSHSwitchStatement
 
BSHTHIS - Static variable in class bsh.ClassGeneratorUtil
The name of the instance field holding the reference to the bsh instance This (the callback namespace for instance methods)
BSHTernaryExpression - class bsh.BSHTernaryExpression.
This class needs logic to prevent the right hand side of boolean logical expressions from being naively evaluated...
BSHTernaryExpression(int) - Constructor for class bsh.BSHTernaryExpression
 
BSHThrowStatement - class bsh.BSHThrowStatement.
 
BSHThrowStatement(int) - Constructor for class bsh.BSHThrowStatement
 
BSHTryStatement - class bsh.BSHTryStatement.
 
BSHTryStatement(int) - Constructor for class bsh.BSHTryStatement
 
BSHType - class bsh.BSHType.
 
BSHType(int) - Constructor for class bsh.BSHType
 
BSHTypedVariableDeclaration - class bsh.BSHTypedVariableDeclaration.
 
BSHTypedVariableDeclaration(int) - Constructor for class bsh.BSHTypedVariableDeclaration
 
BSHUnaryExpression - class bsh.BSHUnaryExpression.
 
BSHUnaryExpression(int) - Constructor for class bsh.BSHUnaryExpression
 
BSHVariableDeclarator - class bsh.BSHVariableDeclarator.
name [ = initializer ] evaluate name and return optional initializer
BSHVariableDeclarator(int) - Constructor for class bsh.BSHVariableDeclarator
 
BSHWhileStatement - class bsh.BSHWhileStatement.
This class handles both while(){} statements and do{}while() statements.
BSHWhileStatement(int) - Constructor for class bsh.BSHWhileStatement
 
BSH_PACKAGE - Static variable in class bsh.classpath.ClassManagerImpl
 
BYTE - Static variable in interface bsh.ParserConstants
 
BeginToken() - Method in class bsh.JavaCharStream
 
Block() - Method in class bsh.Parser
 
BlockNameSpace - class bsh.BlockNameSpace.
A specialized namespace for Blocks (e.g.
BlockNameSpace(NameSpace) - Constructor for class bsh.BlockNameSpace
 
BlockStatement() - Method in class bsh.Parser
 
BooleanLiteral() - Method in class bsh.Parser
 
BreakStatement() - Method in class bsh.Parser
 
BshCanvas - class bsh.util.BshCanvas.
Scriptable Canvas with buffered graphics.
BshCanvas() - Constructor for class bsh.util.BshCanvas
 
BshCanvas(This) - Constructor for class bsh.util.BshCanvas
 
BshClassLoader - class bsh.classpath.BshClassLoader.
One of the things BshClassLoader does is to address a deficiency in URLClassLoader that prevents us from specifying individual classes via URLs.
BshClassLoader(BshClassManager, URL[]) - Constructor for class bsh.classpath.BshClassLoader
 
BshClassLoader(BshClassManager, BshClassPath) - Constructor for class bsh.classpath.BshClassLoader
 
BshClassLoader(BshClassManager) - Constructor for class bsh.classpath.BshClassLoader
For use by children
BshClassManager - class bsh.BshClassManager.
BshClassManager manages all classloading in BeanShell.
BshClassManager() - Constructor for class bsh.BshClassManager
 
BshClassManager.Listener - interface bsh.BshClassManager.Listener.
 
BshClassManager.SignatureKey - class bsh.BshClassManager.SignatureKey.
SignatureKey serves as a hash of a method signature on a class for fast lookup of overloaded and general resolved Java methods.
BshClassManager.SignatureKey(Class, String, Class[]) - Constructor for class bsh.BshClassManager.SignatureKey
 
BshClassPath - class bsh.classpath.BshClassPath.
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 bsh.classpath.BshClassPath.AmbiguousName.
 
BshClassPath.AmbiguousName() - Constructor for class bsh.classpath.BshClassPath.AmbiguousName
 
BshClassPath.ClassSource - class bsh.classpath.BshClassPath.ClassSource.
 
BshClassPath.ClassSource() - Constructor for class bsh.classpath.BshClassPath.ClassSource
 
BshClassPath.DirClassSource - class bsh.classpath.BshClassPath.DirClassSource.
 
BshClassPath.DirClassSource(File) - Constructor for class bsh.classpath.BshClassPath.DirClassSource
 
BshClassPath.GeneratedClassSource - class bsh.classpath.BshClassPath.GeneratedClassSource.
 
BshClassPath.GeneratedClassSource(byte[]) - Constructor for class bsh.classpath.BshClassPath.GeneratedClassSource
 
BshClassPath.JarClassSource - class bsh.classpath.BshClassPath.JarClassSource.
 
BshClassPath.JarClassSource(URL) - Constructor for class bsh.classpath.BshClassPath.JarClassSource
 
BshClassPath.MappingFeedback - interface bsh.classpath.BshClassPath.MappingFeedback.
 
BshClassPath.UnqualifiedNameTable - class bsh.classpath.BshClassPath.UnqualifiedNameTable.
 
BshClassPath.UnqualifiedNameTable() - Constructor for class bsh.classpath.BshClassPath.UnqualifiedNameTable
 
BshIterator - interface bsh.BshIterator.
An interface implemented by classes wrapping instances of iterators, enumerations, collections, etc.
BshMethod - class bsh.BshMethod.
This represents an instance of a bsh method declaration in a particular namespace.
BshMethod(BSHMethodDeclaration, NameSpace, Modifiers) - Constructor for class bsh.BshMethod
 
BshMethod(String, Class, String[], Class[], BSHBlock, NameSpace, Modifiers) - Constructor for class bsh.BshMethod
 
BshMethod(Method, Object) - Constructor for class bsh.BshMethod
 
BshServlet - class bsh.servlet.BshServlet.
This file is part of BeanShell - www.beanshell.org
BshServlet() - Constructor for class bsh.servlet.BshServlet
 
backup(int) - Method in class bsh.JavaCharStream
 
baseType - Variable in class bsh.BSHArrayDimensions
 
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.
binaryOperation(Object, Object, int) - Static method in class bsh.Primitive
Perform a binary operation on two Primitives or wrapper types.
binaryOperationImpl(Object, Object, int) - Static method in class bsh.Primitive
 
bind(This, NameSpace, Interpreter) - Static method in class bsh.This
Bind a This reference to a parent's namespace with the specified declaring interpreter.
blockNode - Variable in class bsh.BSHMethodDeclaration
 
booleanBinaryOperation(Boolean, Boolean, int) - Static method in class bsh.Primitive
 
booleanUnaryOperation(Boolean, int) - Static method in class bsh.Primitive
 
booleanValue() - Method in class bsh.Primitive
 
bootClassPath - Static variable in class bsh.classpath.BshClassPath
 
boxType(Class) - Static method in class bsh.Primitive
Get the corresponding java.lang wrapper class for the primitive TYPE class.
bsh - package bsh
 
bsh.classpath - package bsh.classpath
 
bsh.collection - package bsh.collection
 
bsh.commands - package bsh.commands
 
bsh.reflect - package bsh.reflect
 
bsh.servlet - package bsh.servlet
 
bsh.util - package bsh.util
 
bshVersion - Static variable in class bsh.servlet.BshServlet
 
bubbleSort(String[]) - Static method in class bsh.StringUtil
 
bufcolumn - Variable in class bsh.JavaCharStream
 
buff - Variable in class bsh.servlet.SimpleTemplate
 
buffer - Variable in class bsh.JavaCharStream
 
bufline - Variable in class bsh.JavaCharStream
 
bufpos - Variable in class bsh.JavaCharStream
 
bufsize - Variable in class bsh.JavaCharStream
 

C

CASE - Static variable in interface bsh.ParserConstants
 
CAST - Static variable in class bsh.Types
 
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.BSHPrimarySuffix
 
CLASS - Static variable in class bsh.Modifiers
 
CLASS - Static variable in interface bsh.ParserConstants
 
CLASSCLASSES - Static variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
CLASSES - Static variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
CLASSINITNAME - Static variable in class bsh.BSHClassDeclaration
The class instance initializer method name.
CLASSINSTANCE - Static variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
CLASSSTATIC - Static variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
COLON - Static variable in interface bsh.ParserConstants
 
COMMA - Static variable in interface bsh.ParserConstants
 
CONST - Static variable in interface bsh.ParserConstants
 
CONTINUE - Static variable in interface bsh.ParserConstants
 
CallStack - class bsh.CallStack.
A stack of NameSpaces representing the call path.
CallStack() - Constructor for class bsh.CallStack
 
CallStack(NameSpace) - Constructor for class bsh.CallStack
 
Capabilities - class bsh.Capabilities.
The map of extended features supported by the runtime in which we live.
Capabilities() - Constructor for class bsh.Capabilities
 
Capabilities.Unavailable - exception bsh.Capabilities.Unavailable.
An attempt was made to use an unavailable capability supported by an optional package.
Capabilities.Unavailable(String) - Constructor for class bsh.Capabilities.Unavailable
 
CastExpression() - Method in class bsh.Parser
 
CastLookahead() - Method in class bsh.Parser
 
ClassBrowser - class bsh.util.ClassBrowser.
A simple class browser for the BeanShell desktop.
ClassBrowser() - Constructor for class bsh.util.ClassBrowser
 
ClassBrowser(BshClassManager) - Constructor for class bsh.util.ClassBrowser
 
ClassBrowser.PackageTree - class bsh.util.ClassBrowser.PackageTree.
 
ClassBrowser.PackageTree(Collection) - Constructor for class bsh.util.ClassBrowser.PackageTree
 
ClassDeclaration() - Method in class bsh.Parser
 
ClassGenerator - class bsh.ClassGenerator.
 
ClassGenerator() - Constructor for class bsh.ClassGenerator
 
ClassGeneratorImpl - class bsh.ClassGeneratorImpl.
 
ClassGeneratorImpl() - Constructor for class bsh.ClassGeneratorImpl
 
ClassGeneratorImpl.ClassNodeFilter - class bsh.ClassGeneratorImpl.ClassNodeFilter.
A node filter that filters nodes for either a class body static initializer or instance initializer.
ClassGeneratorUtil - class bsh.ClassGeneratorUtil.
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 bsh.ClassGeneratorUtil.ConstructorArgs.
A ConstructorArgs object holds evaluated arguments for a constructor call as well as the index of a possible alternate selector to invoke.
ClassGeneratorUtil.ConstructorArgs() - Constructor for class bsh.ClassGeneratorUtil.ConstructorArgs
The index of the constructor to call.
ClassGeneratorUtil.ConstructorArgs(int, Object[]) - Constructor for class bsh.ClassGeneratorUtil.ConstructorArgs
 
ClassIdentifier - class bsh.ClassIdentifier.
 
ClassIdentifier(Class) - Constructor for class bsh.ClassIdentifier
 
ClassManagerImpl - class bsh.classpath.ClassManagerImpl.
Manage all classloading in BeanShell.
ClassManagerImpl() - Constructor for class bsh.classpath.ClassManagerImpl
Used by BshClassManager singleton constructor
ClassPathException - exception bsh.ClassPathException.
 
ClassPathException(String) - Constructor for class bsh.ClassPathException
 
ClassPathListener - interface bsh.classpath.ClassPathListener.
 
CollectionIterator - class bsh.collection.CollectionIterator.
This is the implementation of: BshIterator - a dynamically loaded extension that supports the collections API supported by JDK1.2 and greater.
CollectionIterator(Object) - Constructor for class bsh.collection.CollectionIterator
Construct a basic CollectionIterator
CollectionManager - class bsh.CollectionManager.
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 bsh.CollectionManager.BasicBshIterator.
An implementation that works with JDK 1.1
CollectionManager.BasicBshIterator(Object) - Constructor for class bsh.CollectionManager.BasicBshIterator
Construct a basic BasicBshIterator
CollectionManagerImpl - class bsh.collection.CollectionManagerImpl.
Dynamically loaded extension supporting post 1.1 collections iterator.
CollectionManagerImpl() - Constructor for class bsh.collection.CollectionManagerImpl
 
CommandLineReader - class bsh.CommandLineReader.
This is a quick hack to turn empty lines entered interactively on the command line into ';\n' empty lines for the interpreter.
CommandLineReader(Reader) - Constructor for class bsh.CommandLineReader
 
ConditionalAndExpression() - Method in class bsh.Parser
 
ConditionalExpression() - Method in class bsh.Parser
 
ConditionalOrExpression() - Method in class bsh.Parser
 
Console - class bsh.Console.
Console startup class.
Console() - Constructor for class bsh.Console
 
ConsoleInterface - interface bsh.ConsoleInterface.
The capabilities of a minimal console for BeanShell.
ContinueStatement() - Method in class bsh.Parser
 
cacheClass(String, Class) - Method in class bsh.NameSpace
Helper that caches class.
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.
cacheTemplates - Static variable in class bsh.servlet.SimpleTemplate
 
callerInfoNode - Variable in class bsh.NameSpace
The node associated with the creation of this namespace.
callstack - Variable in class bsh.DelayedEvalBshMethod
 
callstack - Variable in class bsh.EvalError
 
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.
caretUpdate(CaretEvent) - Method in class bsh.JThis
 
castError(Class, Class, int) - Static method in class bsh.Types
Return a UtilEvalError or UtilTargetError wrapping a ClassCastException describing an illegal assignment or illegal cast, respectively.
castError(String, String, int) - Static method in class bsh.Types
 
castObject(Object, Class, int) - Static method in class bsh.Types
Attempt to cast an object instance to a new type.
castObject(Class, Class, Object, int, boolean) - Static method in class bsh.Types
 
castPrimitive(Class, Class, Primitive, boolean, int) - Static method in class bsh.Primitive
 
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.
castWrapper(Class, Object) - Static method in class bsh.Primitive
Cast a primitive value represented by its java.lang wrapper type to the specified java.lang wrapper type.
changedUpdate(DocumentEvent) - Method in class bsh.JThis
 
charSetup(String) - Method in class bsh.BSHLiteral
 
children - Variable in class bsh.SimpleNode
 
clas - Variable in class bsh.BshClassManager.SignatureKey
 
clas - Variable in class bsh.ClassIdentifier
 
classContainsMethod(Class, String, String[]) - Method in class bsh.ClassGeneratorUtil
 
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
 
classInstance - Variable in class bsh.NameSpace
 
classLoaderChanged() - Method in class bsh.BSHType
 
classLoaderChanged() - Method in interface bsh.BshClassManager.Listener
 
classLoaderChanged() - Method in class bsh.BshClassManager
 
classLoaderChanged() - Method in class bsh.NameSpace
Clear all cached classes and names
classLoaderChanged() - Method in class bsh.classpath.ClassManagerImpl
Clear global class cache and notify namespaces to clear their class caches.
classManager - Variable in class bsh.classpath.BshClassLoader
 
classManager - Variable in class bsh.util.ClassBrowser
 
classMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
Provide feedback on the progress of mapping the classpath
classMapping(String) - Method in class bsh.classpath.BshClassPath
 
classModifiers - Variable in class bsh.ClassGeneratorUtil
 
className - Variable in class bsh.ClassGeneratorUtil
 
classOfStaticMethod - Variable in class bsh.Name
The result is a static method call on the following class
classPath - Variable in class bsh.util.ClassBrowser
 
classPathChanged() - Method in class bsh.classpath.BshClassPath
 
classPathChanged() - Method in interface bsh.classpath.ClassPathListener
 
classPathChanged() - Method in class bsh.util.ClassBrowser
 
classStatic - Variable in class bsh.NameSpace
 
classStaticNameSpace - Variable in class bsh.ClassGeneratorUtil
 
classesList - Variable in class bsh.util.ClassBrowser
 
classlist - Variable in class bsh.util.ClassBrowser
 
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
clearNodeScope(Node) - Method in class bsh.JJTParserState
 
client - Variable in class bsh.util.HttpdConnection
 
client - Variable in class bsh.util.SessiondConnection
 
close() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
closeNodeScope(Node, int) - Method in class bsh.JJTParserState
 
closeNodeScope(Node, boolean) - Method in class bsh.JJTParserState
 
closed - Variable in class bsh.util.JConsole.BlockingPipedInputStream
 
cmUnavailable() - Static method in class bsh.BshClassManager
 
column - Variable in class bsh.JavaCharStream
 
columnAdded(TableColumnModelEvent) - Method in class bsh.JThis
 
columnMarginChanged(ChangeEvent) - Method in class bsh.JThis
 
columnMoved(TableColumnModelEvent) - Method in class bsh.JThis
 
columnRemoved(TableColumnModelEvent) - Method in class bsh.JThis
 
columnSelectionChanged(ListSelectionEvent) - Method in class bsh.JThis
 
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
 
componentAdded(ContainerEvent) - Method in class bsh.JThis
 
componentHidden(ComponentEvent) - Method in class bsh.JThis
 
componentMoved(ComponentEvent) - Method in class bsh.JThis
 
componentRemoved(ContainerEvent) - Method in class bsh.JThis
 
componentResized(ComponentEvent) - Method in class bsh.JThis
 
componentShown(ComponentEvent) - Method in class bsh.JThis
 
consList - Variable in class bsh.util.ClassBrowser
 
conslist - Variable in class bsh.util.ClassBrowser
 
console - Variable in class bsh.Interpreter
 
constructObject(Class, Object[]) - Static method in class bsh.Reflect
Primary object constructor This method is simpler than those that must resolve general method invocation because constructors are not inherited.
constructors - Variable in class bsh.ClassGeneratorUtil
 
contentsChanged(ListDataEvent) - Method in class bsh.JThis
 
context - Variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
copy() - Method in class bsh.CallStack
Occasionally we need to freeze the callstack for error reporting purposes, etc.
countParts(String) - Static method in class bsh.Name
 
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
createIterator(Object) - Method in class bsh.collection.CollectionIterator
Create an iterator over the given object
createParseException(String) - Method in class bsh.Parser
Generate a ParseException with the specified message, pointing to the current token.
curChar - Variable in class bsh.ParserTokenManager
 
curLexState - Variable in class bsh.ParserTokenManager
 
currentToken - Variable in class bsh.ParseException
This is the last token that has been consumed successfully.

D

DEBUG - Static variable in class bsh.Interpreter
 
DECIMAL_LITERAL - Static variable in interface bsh.ParserConstants
 
DECLARATION - Static variable in class bsh.Variable
 
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
 
DEFAULTCONSTRUCTOR - Static variable in class bsh.ClassGeneratorUtil
The switch branch number for the default constructor.
DIGIT - Static variable in interface bsh.ParserConstants
 
DO - Static variable in interface bsh.ParserConstants
 
DOT - Static variable in interface bsh.ParserConstants
 
DOUBLE - Static variable in interface bsh.ParserConstants
 
DelayedEvalBshMethod - class bsh.DelayedEvalBshMethod.
 
DelayedEvalBshMethod(String, String, BSHReturnType, String[], String[], BSHFormalParameters, BSHBlock, NameSpace, Modifiers, CallStack, Interpreter) - Constructor for class bsh.DelayedEvalBshMethod
This constructor is used in class generation.
DiscreteFilesClassLoader - class bsh.classpath.DiscreteFilesClassLoader.
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 bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap.
 
DiscreteFilesClassLoader.ClassSourceMap() - Constructor for class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
DoStatement() - Method in class bsh.Parser
 
Done() - Method in class bsh.JavaCharStream
 
debug - Static variable in class bsh.Interpreter
 
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.
debugStream - Variable in class bsh.ParserTokenManager
 
declaringInterpreter - Variable in class bsh.This
This is the interpreter running when the This ref was created.
declaringNameSpace - Variable in class bsh.BshMethod
 
defaultLexState - Variable in class bsh.ParserTokenManager
 
defineClass(String, byte[]) - Method in class bsh.BshClassManager
 
defineClass(String, byte[]) - Method in class bsh.classpath.ClassManagerImpl
Get the BeanShell classloader.
definedDimensions - Variable in class bsh.BSHArrayDimensions
The Length in each defined dimension.
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
 
depth() - Method in class bsh.CallStack
 
descriptor - Variable in class bsh.BSHType
 
dir - class bsh.commands.dir.
 
dir() - Constructor for class bsh.commands.dir
 
disable_tracing() - Method in class bsh.Parser
 
doBsh(String, String) - Static method in class bsh.Remote
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class bsh.servlet.BshServlet
 
doHttp(String, String) - Static method in class bsh.Remote
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class bsh.servlet.BshServlet
 
doSuffix(Object, boolean, CallStack, Interpreter) - Method in class bsh.BSHPrimarySuffix
 
doSuperImport() - Method in class bsh.BshClassManager
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.
doSuperImport() - Method in class bsh.classpath.ClassManagerImpl
Support for "import *;" Hide details in here as opposed to NameSpace.
doSwitchBranch(int, String, String[], Label, Label[], int, CodeVisitor) - Static method in class bsh.ClassGeneratorUtil
 
doneDefiningClass(String) - Method in class bsh.BshClassManager
Indicate that the specified class name has been defined and may be loaded normally.
doubleBinaryOperation(Double, Double, int) - Static method in class bsh.Primitive
 
doubleUnaryOperation(Double, int) - Static method in class bsh.Primitive
 
driveToClass(String) - Method in class bsh.util.ClassBrowser
 
dump(PrintWriter) - Method in class bsh.BshClassManager
 
dump(String) - Method in class bsh.SimpleNode
 
dump(PrintWriter) - Method in class bsh.classpath.ClassManagerImpl
 

E

ELSE - Static variable in interface bsh.ParserConstants
 
ENUM - Static variable in interface bsh.ParserConstants
 
EOF - Static variable in interface bsh.ParserConstants
 
EQ - Static variable in interface bsh.ParserConstants
 
EXPONENT - Static variable in interface bsh.ParserConstants
 
EXTENDS - Static variable in interface bsh.ParserConstants
 
EmptyStatement() - Method in class bsh.Parser
 
EnhancedForStatement() - Method in class bsh.Parser
 
EqualityExpression() - Method in class bsh.Parser
 
EvalError - exception bsh.EvalError.
EvalError indicates that we cannot continue evaluating the script or the script has thrown an exception.
EvalError(String, SimpleNode, CallStack) - Constructor for class bsh.EvalError
 
ExclusiveOrExpression() - Method in class bsh.Parser
 
ExpandBuff(boolean) - Method in class bsh.JavaCharStream
 
Expression() - Method in class bsh.Parser
 
ExternalNameSpace - class bsh.ExternalNameSpace.
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
 
editingCanceled(ChangeEvent) - Method in class bsh.JThis
 
editingStopped(ChangeEvent) - Method in class bsh.JThis
 
enable_tracing() - Method in class bsh.Parser
 
endClassMapping() - Method in interface bsh.classpath.BshClassPath.MappingFeedback
 
endClassMapping() - Method in class bsh.classpath.BshClassPath
 
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
 
enumeration - Variable in class bsh.CollectionManager.BasicBshIterator
 
eol - Variable in class bsh.ParseException
The end of line string for this machine.
equals(Object) - Method in class bsh.BshClassManager.SignatureKey
 
equals(Object) - Method in class bsh.Primitive
Primitives compare equal with other Primitives containing an equal wrapped value.
err - Variable in class bsh.Interpreter
 
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
 
errorCode - Variable in class bsh.TokenMgrError
Indicates the reason why the exception is thrown.
errorWhileMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
 
errorWhileMapping(String) - Method in class bsh.classpath.BshClassPath
 
escape(String) - Static method in class bsh.servlet.BshServlet
Convert special characters to entities for XML output
eval(CallStack, Interpreter) - Method in class bsh.BSHAllocationExpression
 
eval(CallStack, Interpreter) - Method in class bsh.BSHAmbiguousName
 
eval(Class, CallStack, Interpreter) - Method in class bsh.BSHArrayDimensions
 
eval(CallStack, Interpreter) - Method in class bsh.BSHArrayDimensions
Evaluate the structure of the array in one of two ways: a) an initializer exists, evaluate it and return the fully constructed array object, also record the dimensions of that array b) evaluate and record the lengths in each dimension and return void.
eval(CallStack, Interpreter) - Method in class bsh.BSHArrayInitializer
 
eval(Class, int, CallStack, Interpreter) - Method in class bsh.BSHArrayInitializer
Construct the array from the initializer syntax.
eval(CallStack, Interpreter) - Method in class bsh.BSHAssignment
 
eval(CallStack, Interpreter) - Method in class bsh.BSHBinaryExpression
 
eval(CallStack, Interpreter) - Method in class bsh.BSHBlock
 
eval(CallStack, Interpreter, boolean) - Method in class bsh.BSHBlock
 
eval(CallStack, Interpreter) - Method in class bsh.BSHCastExpression
 
eval(CallStack, Interpreter) - Method in class bsh.BSHClassDeclaration
 
eval(CallStack, Interpreter) - Method in class bsh.BSHEnhancedForStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHForStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHFormalParameter
Evaluate the type.
eval(CallStack, Interpreter) - Method in class bsh.BSHFormalParameters
Evaluate the types.
eval(CallStack, Interpreter) - Method in class bsh.BSHIfStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHImportDeclaration
 
eval(CallStack, Interpreter) - Method in class bsh.BSHLiteral
 
eval(CallStack, Interpreter) - Method in class bsh.BSHMethodDeclaration
Evaluate the declaration of the method.
eval(CallStack, Interpreter) - Method in class bsh.BSHMethodInvocation
Evaluate the method invocation with the specified callstack and interpreter
eval(CallStack, Interpreter) - Method in class bsh.BSHPackageDeclaration
 
eval(CallStack, Interpreter) - Method in class bsh.BSHPrimaryExpression
Evaluate to a value object.
eval(CallStack, Interpreter) - Method in class bsh.BSHReturnStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHStatementExpressionList
 
eval(CallStack, Interpreter) - Method in class bsh.BSHSwitchLabel
 
eval(CallStack, Interpreter) - Method in class bsh.BSHSwitchStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHTernaryExpression
 
eval(CallStack, Interpreter) - Method in class bsh.BSHThrowStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHTryStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHTypedVariableDeclaration
evaluate the type and one or more variable declarators, e.g.: int a, b=5, c;
eval(CallStack, Interpreter) - Method in class bsh.BSHUnaryExpression
 
eval(BSHType, CallStack, Interpreter) - Method in class bsh.BSHVariableDeclarator
Evaluate the optional initializer value.
eval(CallStack, Interpreter) - Method in class bsh.BSHWhileStatement
 
eval(Reader, NameSpace, String) - Method in class bsh.Interpreter
Spawn a non-interactive local interpreter to evaluate text in the specified namespace.
eval(Reader) - Method in class bsh.Interpreter
Evaluate the inputstream in this interpreter's global 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, StringBuffer) - Static method in class bsh.Remote
Evaluate text in the interpreter at url, capturing output into output and returning a possible integer return value.
eval(CallStack, Interpreter) - Method in class bsh.SimpleNode
This is the general signature for evaluation of a node.
evalBlock(CallStack, Interpreter, boolean, BSHBlock.NodeFilter) - Method in class bsh.BSHBlock
 
evalOnly - Variable in class bsh.Interpreter
 
evalReturnType(CallStack, Interpreter) - Method in class bsh.BSHMethodDeclaration
Evaluate the return type node.
evalReturnType(CallStack, Interpreter) - Method in class bsh.BSHReturnType
 
evalScript(String, StringBuffer, boolean, HttpServletRequest, HttpServletResponse) - Method in class bsh.servlet.BshServlet
 
evalType(CallStack, Interpreter) - Method in class bsh.BSHTypedVariableDeclaration
 
evaluateCondition(SimpleNode, CallStack, Interpreter) - Static method in class bsh.BSHIfStatement
 
event(String, Object) - Method in class bsh.JThis
 
exampleScript - Static variable in class bsh.servlet.BshServlet
 
expectedTokenSequences - Variable in class bsh.ParseException
Each entry in this array is an array of integers.
extend - Variable in class bsh.BSHClassDeclaration
 

F

FALSE - Static variable in interface bsh.ParserConstants
 
FIELD - Static variable in class bsh.LHS
Identifiers for the various types of LHS.
FIELD - Static variable in class bsh.Modifiers
 
FINAL - Static variable in interface bsh.ParserConstants
 
FINALLY - Static variable in interface bsh.ParserConstants
 
FLOAT - Static variable in interface bsh.ParserConstants
 
FLOATING_POINT_LITERAL - Static variable in interface bsh.ParserConstants
 
FOR - Static variable in interface bsh.ParserConstants
 
FORMAL_COMMENT - Static variable in interface bsh.ParserConstants
 
FillBuff() - Method in class bsh.JavaCharStream
 
ForInit() - Method in class bsh.Parser
 
ForStatement() - Method in class bsh.Parser
 
ForUpdate() - Method in class bsh.Parser
 
FormalComment() - Method in class bsh.Parser
 
FormalParameter() - Method in class bsh.Parser
 
FormalParameters() - Method in class bsh.Parser
 
field - Variable in class bsh.BSHPrimarySuffix
 
field - Variable in class bsh.LHS
 
fieldList - Variable in class bsh.util.ClassBrowser
 
fieldlist - Variable in class bsh.util.ClassBrowser
 
findAccessibleMethod(Class, String, Class[]) - Static method in class bsh.Reflect
Locate a version of the method with the exact signature specified that is accessible via a public interface or through a public superclass or - if accessibility is on - through any interface or superclass.
findClass(String) - Method in class bsh.classpath.BshClassLoader
Find the correct source for the class...
findClass(String) - Method in class bsh.classpath.DiscreteFilesClassLoader
 
findMostSpecificConstructor(Class[], Constructor[]) - Static method in class bsh.Reflect
 
findMostSpecificConstructorIndex(Class[], Constructor[]) - Static method in class bsh.Reflect
 
findMostSpecificMethod(String, Class[], Method[], boolean) - Static method in class bsh.Reflect
Implement JLS 15.11.2 for method resolution
findMostSpecificSignature(Class[], Class[][]) - Static method in class bsh.Reflect
Implement JLS 15.11.2 Return the index of the most specific arguments match or -1 if no match is found.
findTemplate(String) - Method in class bsh.servlet.SimpleTemplate
Find the starting (inclusive) and ending (exclusive) index of the named template and return them as a two element int [].
firstThrowsClause - Variable in class bsh.BSHMethodDeclaration
 
firstToken - Variable in class bsh.SimpleNode
 
floatBinaryOperation(Float, Float, int) - Static method in class bsh.Primitive
 
floatUnaryOperation(Float, int) - Static method in class bsh.Primitive
 
focusGained(FocusEvent) - Method in class bsh.JThis
 
focusLost(FocusEvent) - Method in class bsh.JThis
 
formatScriptResultHTML(String, Object, Exception, StringBuffer) - Method in class bsh.servlet.BshServlet
 
fqClassName - Variable in class bsh.ClassGeneratorUtil
fully qualified class name (with package) e.g.
frame - Variable in class bsh.util.ClassBrowser
 

G

GE - Static variable in interface bsh.ParserConstants
 
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 bsh.util.GUIConsoleInterface.
Additional capabilities of an interactive console for BeanShell.
GetImage() - Method in class bsh.JavaCharStream
 
GetSuffix(int) - Method in class bsh.JavaCharStream
 
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
 
generateClass() - Method in class bsh.ClassGeneratorUtil
Generate the class bytecode for this class.
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.
generateConstructor(int, String[], int, ClassWriter) - Method in class bsh.ClassGeneratorUtil
Generate a constructor.
generateConstructorSwitch(int, int, int, CodeVisitor) - Method in class bsh.ClassGeneratorUtil
Generate a switch with a branch for each possible alternate constructor.
generateField(String, String, int, ClassWriter) - Static method in class bsh.ClassGeneratorUtil
Generate a field - static or instance.
generateMethod(String, String, String, String, String[], int, ClassWriter) - Static method in class bsh.ClassGeneratorUtil
Generate a delegate method - static or instance.
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
 
generatePlainReturnCode(String, CodeVisitor) - Static method in class bsh.ClassGeneratorUtil
Generate return code for a normal bytecode
generateReturnCode(String, CodeVisitor) - Static method in class bsh.ClassGeneratorUtil
Generates the code to unreify the result of the given method.
generateSuperDelegateMethod(Class, String, String, String, String[], int, ClassWriter) - Static method in class bsh.ClassGeneratorUtil
Generate a superclass method delegate accessor method.
get(int) - Method in class bsh.CallStack
zero based.
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.
get() - Method in class bsh.classpath.BshClassPath.AmbiguousName
 
get(String) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
getASMModifiers(Modifiers) - Static method in class bsh.ClassGeneratorUtil
Translate bsh.Modifiers into ASM modifier bitflags.
getAllNames() - Method in interface bsh.NameSource
 
getAllNames() - Method in class bsh.NameSpace
Implements NameSource
getAllNames() - Method in class bsh.classpath.BshClassPath
 
getAllNamesAux(Vector) - Method in class bsh.ExternalNameSpace
 
getAllNamesAux(Vector) - Method in class bsh.NameSpace
Helper for implementing NameSource
getArgsNode() - Method in class bsh.BSHMethodInvocation
 
getArguments(CallStack, Interpreter) - Method in class bsh.BSHArguments
This node holds a set of arguments for a method invocation or constructor call.
getArrayBaseType(Class) - Static method in class bsh.Reflect
Returns the base type of an array Class.
getArrayDimensions(Class) - Static method in class bsh.Reflect
returns the dimensionality of the Class returns 0 if the Class is not an array class
getArrayDims() - Method in class bsh.BSHType
If we are an array type this will be non zero and indicate the dimensionality of the array.
getAssignableForm(Object, Class) - Static method in class bsh.Types
Deprecated. Getting rid of this... Use isBshAssignable(...) and castObject(...)
getBaseLoader() - Method in class bsh.classpath.ClassManagerImpl
 
getBaseType() - Method in class bsh.BSHType
baseType is used during evaluation of full type and retained for the case where we are an array type.
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
 
getBshIterator(Object) - Method in class bsh.collection.CollectionManagerImpl
 
getBshVersion() - Static method in class bsh.servlet.BshServlet
 
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
 
getChild(int) - Method in class bsh.SimpleNode
 
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.
getClassGenerator() - Static method in class bsh.ClassGenerator
 
getClassInstance() - Method in class bsh.NameSpace
 
getClassInstanceThis(Object, String) - Static method in class bsh.ClassGeneratorUtil
Get the instance bsh namespace field from the object instance.
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
 
getClassManager() - Method in class bsh.classpath.BshClassLoader
 
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.
getClassNameSpace(NameSpace) - Static method in class bsh.Name
 
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.
getClassStaticThis(Class, String) - Static method in class bsh.ClassGeneratorUtil
Get the static bsh namespace field from the class.
getClassesForPackage(String) - Method in class bsh.classpath.BshClassPath
Return the set of class names in the specified package including all component paths.
getCode(String) - Method in class bsh.classpath.BshClassPath.ClassSource
 
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.
getDeclarators() - Method in class bsh.BSHTypedVariableDeclaration
 
getDeclaredMethods(BSHBlock, CallStack, Interpreter, String) - Static method in class bsh.ClassGeneratorImpl
 
getDeclaredVariables(BSHBlock, CallStack, Interpreter, String) - Static method in class bsh.ClassGeneratorImpl
 
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 class bsh.EvalError
 
getErrorLineNumber() - Method in class bsh.ParseException
 
getErrorSourceFile() - Method in class bsh.EvalError
 
getErrorSourceFile() - Method in class bsh.ParseException
 
getErrorText() - Method in class bsh.EvalError
 
getErrorText() - Method in class bsh.ParseException
 
getFile(String) - Static method in class bsh.Remote
 
getFloat() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
 
getFromMap(Object, Object) - Method in class bsh.CollectionManager
 
getFromMap(Object, Object) - Method in class bsh.collection.CollectionManagerImpl
 
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.
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
 
getIndex(Object, int) - Static method in class bsh.Reflect
 
getIndexAux(Object, CallStack, Interpreter, SimpleNode) - Static method in class bsh.BSHPrimarySuffix
 
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.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.
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
 
getLHSObjectField(Object, String) - Static method in class bsh.Reflect
Get an LHS reference to an object field.
getLHSStaticField(Class, String) - Static method in class bsh.Reflect
 
getLine() - Method in class bsh.JavaCharStream
Deprecated.  
getLineNumber() - Method in class bsh.SimpleNode
Get the line number of the starting token
getLoaderForClass(String) - Method in class bsh.classpath.ClassManagerImpl
 
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 class bsh.EvalError
 
getMessage() - Method in class bsh.ParseException
 
getMessage(boolean) - Method in class bsh.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class bsh.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethod(String, Class[], boolean) - Method in class bsh.ExternalNameSpace
 
getMethod(String, Class[]) - Method in class bsh.NameSpace
 
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.
getMethodDescriptor(String, String[]) - Static method in class bsh.ClassGeneratorUtil
 
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(NameSpace) - Method in class bsh.BSHAmbiguousName
 
getName() - Method in class bsh.BshMethod
 
getName() - Method in class bsh.NameSpace
The name of this namespace.
getName() - Method in class bsh.Variable
 
getNameNode() - Method in class bsh.BSHMethodInvocation
 
getNameResolver(String) - Method in class bsh.NameSpace
This is the factory for Name objects which resolve names within this namespace (e.g.
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
 
getNode() - Method in class bsh.EvalError
The error has trace info associated with it.
getNode() - Method in class bsh.NameSpace
 
getObject() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
 
getObjectField(Object, String) - Static method in class bsh.Reflect
 
getObjectProperty(Object, String) - Static method in class bsh.Reflect
 
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
 
getPackage() - Method in class bsh.NameSpace
 
getPackagesSet() - Method in class bsh.classpath.BshClassPath
Get a list of all of the known packages
getParamNames() - Method in class bsh.BSHFormalParameters
 
getParamTypeDescriptors() - Method in class bsh.DelayedEvalBshMethod
 
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
 
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.
getPublicConstructors(Constructor[]) - Method in class bsh.util.ClassBrowser
 
getPublicFields(Field[]) - Method in class bsh.util.ClassBrowser
 
getPublicMethods(Method[]) - Method in class bsh.util.ClassBrowser
 
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(CallStack, Interpreter, String) - Method in class bsh.BSHMethodDeclaration
 
getReturnTypeDescriptor() - Method in class bsh.DelayedEvalBshMethod
 
getReturnTypeNode() - Method in class bsh.BSHMethodDeclaration
 
getScriptStackTrace() - Method in class bsh.EvalError
 
getShort() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
 
getSourceFile() - Method in class bsh.SimpleNode
Get the name of the source file (or more generally source) of the text from which this node was parsed.
getSourceFileInfo() - Method in class bsh.Interpreter
Specify the source of the text from which this interpreter is reading.
getStaticField(Class, String) - Static method in class bsh.Reflect
 
getStrictJava() - Method in class bsh.Interpreter
 
getStringFromStream(InputStream) - Static method in class bsh.servlet.SimpleTemplate
 
getStringFromStream(Reader) - Static method in class bsh.servlet.SimpleTemplate
 
getSuper(Interpreter) - Method in class bsh.BlockNameSpace
super is our parent's super
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 class bsh.TargetError
 
getTargetClass() - Method in class bsh.ClassIdentifier
 
getTemplate(String) - Static method in class bsh.servlet.SimpleTemplate
Get a template by name, with caching.
getText() - Method in class bsh.SimpleNode
Get the text of the tokens comprising this node.
getThis(Interpreter) - Method in class bsh.BlockNameSpace
Get a 'this' reference is our parent's 'this' for the object closure.
getThis(Interpreter) - Method in class bsh.NameSpace
A This object is a thin layer over a namespace, comprising a bsh object context.
getThis(NameSpace, Interpreter) - Static method in class bsh.This
getThis() is a factory for bsh.This type references.
getToken(int) - Method in class bsh.Parser
 
getType() - Method in class bsh.BSHPrimitiveType
 
getType(CallStack, Interpreter) - Method in class bsh.BSHType
 
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(CallStack, Interpreter, String) - Method in class bsh.BSHFormalParameter
 
getTypeDescriptor(CallStack, Interpreter, String) - Method in class bsh.BSHReturnType
 
getTypeDescriptor(CallStack, Interpreter, String) - Method in class bsh.BSHType
Returns a class descriptor for this type.
getTypeDescriptor(Class) - Static method in class bsh.BSHType
 
getTypeDescriptor(CallStack, Interpreter, String) - Method in class bsh.BSHTypedVariableDeclaration
 
getTypeDescriptor() - Method in class bsh.Variable
 
getTypeDescriptors(CallStack, Interpreter, String) - Method in class bsh.BSHFormalParameters
 
getTypeDescriptors(Class[]) - Static method in class bsh.ClassGeneratorUtil
 
getTypeNode() - Method in class bsh.BSHReturnType
 
getTypeNode() - Method in class bsh.BSHType
 
getTypes(Object[]) - Static method in class bsh.Types
Get the Java types of the arguments.
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.LHS
 
getValue() - Method in class bsh.Primitive
Return the primitive value stored in its java.lang wrapper class
getValue() - Method in class bsh.Variable
 
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.
getu(String) - Method in class bsh.Interpreter
Unchecked get for internal use
globalNameSpace - Variable in class bsh.Interpreter
 
globalNameSpace - Variable in class bsh.util.Sessiond
 
globalNameSpace - Variable in class bsh.util.SessiondConnection
 

H

HASH_BANG_COMMENT - Static variable in interface bsh.ParserConstants
 
HEX_LITERAL - Static variable in interface bsh.ParserConstants
 
HOOK - Static variable in interface bsh.ParserConstants
 
Httpd - class bsh.util.Httpd.
A very simple httpd that supports the remote server mode.
Httpd(int) - Constructor for class bsh.util.Httpd
 
HttpdConnection - class bsh.util.HttpdConnection.
 
HttpdConnection(Socket) - Constructor for class bsh.util.HttpdConnection
 
hasExpression - Variable in class bsh.BSHForStatement
 
hasForInit - Variable in class bsh.BSHForStatement
 
hasForUpdate - Variable in class bsh.BSHForStatement
 
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
hasNext() - Method in class bsh.collection.CollectionIterator
Returns true if and only if there are more objects available via the next() method
hasObjectPropertyGetter(Class, String) - Static method in class bsh.Reflect
 
hasObjectPropertySetter(Class, String) - Static method in class bsh.Reflect
 
hasSuperImport() - Method in class bsh.BshClassManager
A "super import" ("import *") operation has been performed.
hasSuperImport() - Method in class bsh.classpath.ClassManagerImpl
 
hashCode - Variable in class bsh.BshClassManager.SignatureKey
 
hashCode() - Method in class bsh.BshClassManager.SignatureKey
 
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.
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
 
hexval(char) - Static method in class bsh.JavaCharStream
 
hyperlinkUpdate(HyperlinkEvent) - Method in class bsh.JThis
 

I

IDENTIFIER - Static variable in interface bsh.ParserConstants
 
IF - Static variable in interface bsh.ParserConstants
 
IMPLEMENTS - Static variable in interface bsh.ParserConstants
 
IMPORT - Static variable in interface bsh.ParserConstants
 
INCR - Static variable in interface bsh.ParserConstants
 
INDEX - Static variable in class bsh.BSHPrimarySuffix
 
INDEX - Static variable in class bsh.LHS
Identifiers for the various types of LHS.
INSTANCE - Static variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
INSTANCEOF - Static variable in interface bsh.ParserConstants
 
INT - Static variable in interface bsh.ParserConstants
 
INTEGER_LITERAL - Static variable in interface bsh.ParserConstants
 
INTERFACE - Static variable in interface bsh.ParserConstants
 
INVALID_CAST - Static variable in class bsh.Types
 
INVALID_LEXICAL_STATE - Static variable in class bsh.TokenMgrError
Tried to change to an invalid lexical state.
IfStatement() - Method in class bsh.Parser
 
ImportDeclaration() - Method in class bsh.Parser
 
InclusiveOrExpression() - Method in class bsh.Parser
 
InstanceOfExpression() - Method in class bsh.Parser
 
Interpreter - class bsh.Interpreter.
The BeanShell script interpreter.
Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
The main constructor.
Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace) - Constructor for class bsh.Interpreter
 
Interpreter(Reader, PrintStream, PrintStream, boolean) - Constructor for class bsh.Interpreter
 
Interpreter(ConsoleInterface, NameSpace) - Constructor for class bsh.Interpreter
Construct a new interactive interpreter attached to the specified console using the specified parent namespace.
Interpreter(ConsoleInterface) - Constructor for class bsh.Interpreter
Construct a new interactive interpreter attached to the specified console.
Interpreter() - Constructor for class bsh.Interpreter
Create an interpreter for evaluation only.
InterpreterError - exception bsh.InterpreterError.
An internal error in the interpreter has occurred.
InterpreterError(String) - Constructor for class bsh.InterpreterError
 
id - Variable in class bsh.SimpleNode
 
identifierToClass(ClassIdentifier) - Static method in class bsh.NameSpace
This is a helper method for working inside of bsh scripts and commands.
iframe - Variable in class bsh.util.ClassBrowser
 
image - Variable in class bsh.Token
The string image of the token.
imageBuffer - Variable in class bsh.util.BshCanvas
 
imageUpdate(Image, int, int, int, int, int) - Method in class bsh.JThis
 
importClass(String) - Method in class bsh.BlockNameSpace
delegate import to our parent
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.
importObject(Object) - Method in class bsh.NameSpace
Import a compiled Java object's methods and variables into this namespace.
importPackage - Variable in class bsh.BSHImportDeclaration
 
importPackage(String) - Method in class bsh.BlockNameSpace
delegate import to our parent
importPackage(String) - Method in class bsh.NameSpace
subsequent imports override earlier ones
importStatic(Class) - Method in class bsh.NameSpace
 
importedClasses - Variable in class bsh.NameSpace
 
in - Variable in class bsh.Interpreter
 
in - Variable in class bsh.util.AWTRemoteApplet
 
in - Variable in class bsh.util.HttpdConnection
 
in - Variable in class bsh.util.JRemoteApplet
 
inBuf - Variable in class bsh.JavaCharStream
 
inNativeCode - Variable in class bsh.TargetError
 
inNativeCode() - Method in class bsh.TargetError
Return true if the TargetError was generated from native code.
index - Variable in class bsh.BSHPrimarySuffix
 
index - Variable in class bsh.LHS
 
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.
inputStream - Variable in class bsh.JavaCharStream
 
input_stream - Variable in class bsh.ParserTokenManager
 
insertUpdate(DocumentEvent) - Method in class bsh.JThis
 
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
 
insureNodesParsed() - Method in class bsh.BSHMethodDeclaration
Set the returnTypeNode, paramsNode, and blockNode based on child node structure.
insureParsed() - Method in class bsh.BSHFormalParameters
 
intBinaryOperation(Integer, Integer, int) - Static method in class bsh.Primitive
 
intUnaryOperation(Integer, int) - Static method in class bsh.Primitive
 
intValue() - Method in class bsh.Primitive
 
interactive - Variable in class bsh.Interpreter
 
interfaces - Variable in class bsh.ClassGeneratorUtil
 
interfaces - Variable in class bsh.XThis
A cache of proxy interface handlers.
internalFrameActivated(InternalFrameEvent) - Method in class bsh.JThis
 
internalFrameClosed(InternalFrameEvent) - Method in class bsh.JThis
 
internalFrameClosing(InternalFrameEvent) - Method in class bsh.JThis
 
internalFrameDeactivated(InternalFrameEvent) - Method in class bsh.JThis
 
internalFrameDeiconified(InternalFrameEvent) - Method in class bsh.JThis
 
internalFrameIconified(InternalFrameEvent) - Method in class bsh.JThis
 
internalFrameOpened(InternalFrameEvent) - Method in class bsh.JThis
 
interpreter - Variable in class bsh.DelayedEvalBshMethod
 
intervalAdded(ListDataEvent) - Method in class bsh.JThis
 
intervalRemoved(ListDataEvent) - Method in class bsh.JThis
 
invocationHandler - Variable in class bsh.XThis
 
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 declared method with the specified arguments, interpreter reference, and callstack.
invoke(Object[], Interpreter, CallStack, SimpleNode, boolean) - Method in class bsh.BshMethod
Invoke the bsh method with the specified args, interpreter ref, and callstack.
invoke(Object, Method, Object[]) - Method in class bsh.XThis.Handler
 
invoke(Interpreter, CallStack) - Static method in class bsh.commands.dir
Implement dir() command.
invoke(Interpreter, CallStack, String) - Static method in class bsh.commands.dir
Implement dir( String directory ) command.
invokeCompiledCommand(Class, Object[], Interpreter, CallStack) - Static method in class bsh.Reflect
A command may be implemented as a compiled Java class containing one or more static invoke() methods of the correct signature.
invokeImpl(Object, Method, Object[]) - Method in class bsh.XThis.Handler
 
invokeMain(Class, String[]) - Static method in class bsh.Interpreter
 
invokeMethod(Interpreter, Object[], CallStack, SimpleNode) - Method in class bsh.Name
Invoke the method identified by this name.
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[]) - Method in class bsh.This
Invoke specified method as from outside java code, using the declaring interpreter and current namespace.
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.
invokeObjectMethod(Object, String, Object[], Interpreter, CallStack, SimpleNode) - Static method in class bsh.Reflect
Invoke method on arbitrary object.
invokeOnMethod(Method, Object, Object[]) - Static method in class bsh.Reflect
Invoke the Java method on the specified object.
invokeStaticMethod(BshClassManager, Class, String, Object[]) - Static method in class bsh.Reflect
Invoke a method known to be static.
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
 
isBshAssignable(Class, Class) - Static method in class bsh.Types
 
isBshIterable(Object) - Method in class bsh.CollectionManager
 
isClass - Variable in class bsh.NameSpace
Note that the namespace is a class body or class instance namespace.
isClassBeingDefined(String) - Method in class bsh.BshClassManager
 
isClassFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isCompound(String) - Static method in class bsh.Name
 
isDefault - Variable in class bsh.BSHSwitchLabel
 
isDoStatement - Variable in class bsh.BSHWhileStatement
 
isExposedThisMethod(String) - Static method in class bsh.This
Allow invocations of these method names on This type objects.
isHttp1 - Variable in class bsh.util.HttpdConnection
 
isInterface - Variable in class bsh.BSHClassDeclaration
 
isInterface - Variable in class bsh.ClassGeneratorUtil
 
isJavaAssignable(Class, Class) - Static method in class bsh.Types
Is a standard Java assignment legal from the rhs type to the lhs type in a normal assignment (i.e.
isMap(Object) - Method in class bsh.CollectionManager
 
isMap(Object) - Method in class bsh.collection.CollectionManagerImpl
 
isMethod - Variable in class bsh.NameSpace
Note that the namespace is a method body namespace.
isNumber() - Method in class bsh.Primitive
Determine if this primitive is a numeric type.
isRegularForStatement() - Method in class bsh.Parser
Lookahead for the enhanced for statement.
isSignatureAssignable(Class[], Class[]) - Static method in class bsh.Types
Is the 'from' signature (argument types) assignable to the 'to' signature (candidate method types) using isJavaAssignable()? This method handles the special case of null values in 'to' types indicating a loose type and matching anything.
isStatic(SimpleNode) - Method in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
isSynchronized - Variable in class bsh.BSHBlock
 
isVisible(SimpleNode) - Method in interface bsh.BSHBlock.NodeFilter
 
isVisible(SimpleNode) - Method in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
isVoid - Variable in class bsh.BSHReturnType
 
isWrapperType(Class) - Static method in class bsh.Primitive
 
itemStateChanged(ItemEvent) - Method in class bsh.JThis
 

J

JAVACODE - Static variable in class bsh.NameSpace
 
JAVACODE - Static variable in class bsh.SimpleNode
 
JConsole - class bsh.util.JConsole.
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 bsh.util.JConsole.BlockingPipedInputStream.
The overridden read method in this class will not throw "Broken pipe" IOExceptions; It will simply wait for new writers and data.
JConsole.BlockingPipedInputStream(PipedOutputStream) - Constructor for class bsh.util.JConsole.BlockingPipedInputStream
 
JDemoApplet - class bsh.util.JDemoApplet.
Run bsh as an applet for demo purposes.
JDemoApplet() - Constructor for class bsh.util.JDemoApplet
 
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
 
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
 
JJTParserState - class bsh.JJTParserState.
 
JJTParserState() - Constructor for class bsh.JJTParserState
 
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 bsh.util.JRemoteApplet.
A lightweight console applet for remote display of a Beanshell session.
JRemoteApplet() - Constructor for class bsh.util.JRemoteApplet
 
JThis - class bsh.JThis.
JThis is a dynamically loaded extension which extends This and adds explicit support for AWT and JFC events, etc.
JThis(NameSpace, Interpreter) - Constructor for class bsh.JThis
 
JavaCharStream - class bsh.JavaCharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JavaCharStream(Reader, int, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(Reader, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(Reader) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(InputStream, int, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(InputStream, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(InputStream) - Constructor for class bsh.JavaCharStream
 
jjFillToken() - Method in class bsh.ParserTokenManager
 
jj_input_stream - Variable in class bsh.Parser
 
jj_nt - Variable in class bsh.Parser
 
jjbitVec0 - Static variable in class bsh.ParserTokenManager
 
jjbitVec1 - Static variable in class bsh.ParserTokenManager
 
jjbitVec3 - Static variable in class bsh.ParserTokenManager
 
jjbitVec4 - Static variable in class bsh.ParserTokenManager
 
jjbitVec5 - Static variable in class bsh.ParserTokenManager
 
jjbitVec6 - Static variable in class bsh.ParserTokenManager
 
jjbitVec7 - Static variable in class bsh.ParserTokenManager
 
jjbitVec8 - Static variable in class bsh.ParserTokenManager
 
jjmatchedKind - Variable in class bsh.ParserTokenManager
 
jjmatchedPos - Variable in class bsh.ParserTokenManager
 
jjnewStateCnt - Variable in class bsh.ParserTokenManager
 
jjnextStates - Static variable in class bsh.ParserTokenManager
 
jjround - Variable in class bsh.ParserTokenManager
 
jjstrLiteralImages - Static variable in class bsh.ParserTokenManager
 
jjtAddChild(Node, int) - Method in interface bsh.Node
This method tells the node to add its argument to the node's list of children.
jjtAddChild(Node, int) - Method in class bsh.SimpleNode
 
jjtClose() - Method in interface bsh.Node
This method is called after all the child nodes have been added.
jjtClose() - Method in class bsh.SimpleNode
 
jjtGetChild(int) - Method in interface bsh.Node
This method returns a child node.
jjtGetChild(int) - Method in class bsh.SimpleNode
 
jjtGetNumChildren() - Method in interface bsh.Node
Return the number of children the node has.
jjtGetNumChildren() - Method in class bsh.SimpleNode
 
jjtGetParent() - Method in interface bsh.Node
 
jjtGetParent() - Method in class bsh.SimpleNode
 
jjtNodeName - Static variable in interface bsh.ParserTreeConstants
 
jjtOpen() - Method in interface bsh.Node
This method is called after the node has been made the current node.
jjtOpen() - Method in class bsh.SimpleNode
 
jjtSetParent(Node) - Method in interface bsh.Node
This pair of methods are used to inform the node of its parent.
jjtSetParent(Node) - Method in class bsh.SimpleNode
 
jjtoSkip - Static variable in class bsh.ParserTokenManager
 
jjtoSpecial - Static variable in class bsh.ParserTokenManager
 
jjtoToken - Static variable in class bsh.ParserTokenManager
 
jjtree - Variable in class bsh.Parser
 
jjtreeCloseNodeScope(Node) - Method in class bsh.Parser
 
jjtreeOpenNodeScope(Node) - Method in class bsh.Parser
 

K

keyPressed(KeyEvent) - Method in class bsh.JThis
 
keyPressed(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyPressed(KeyEvent) - Method in class bsh.util.JConsole
 
keyReleased(KeyEvent) - Method in class bsh.JThis
 
keyReleased(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyReleased(KeyEvent) - Method in class bsh.util.JConsole
 
keyTyped(KeyEvent) - Method in class bsh.JThis
 
keyTyped(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyTyped(KeyEvent) - Method in class bsh.util.JConsole
 
kind - Variable in class bsh.BSHBinaryExpression
 
kind - Variable in class bsh.BSHReturnStatement
 
kind - Variable in class bsh.BSHUnaryExpression
 
kind - Variable in class bsh.ReturnControl
 
kind - Variable in class bsh.Token
An integer that describes the kind of this token.

L

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
 
LEXICAL_ERROR - Static variable in class bsh.TokenMgrError
Lexical error occured.
LHS - class bsh.LHS.
An LHS is a wrapper for an variable, field, or property.
LHS(NameSpace, String) - Constructor for class bsh.LHS
Variable LHS constructor.
LHS(NameSpace, String, boolean) - Constructor for class bsh.LHS
 
LHS(Field) - Constructor for class bsh.LHS
Static field LHS Constructor.
LHS(Object, Field) - Constructor for class bsh.LHS
Object field LHS Constructor.
LHS(Object, String) - Constructor for class bsh.LHS
Object property LHS Constructor.
LHS(Object, int) - Constructor for class bsh.LHS
Array index LHS Constructor.
LOCALSCOPING - Static variable in class bsh.Interpreter
 
LONG - Static variable in interface bsh.ParserConstants
 
LOOP_DETECTED - Static variable in class bsh.TokenMgrError
Detected (and bailed out of) an infinite loop in the token manager.
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
 
LabeledStatement() - Method in class bsh.Parser
 
LexicalError(boolean, int, int, int, String, char) - Static method in class bsh.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
Line() - Method in class bsh.Parser
 
Literal() - Method in class bsh.Parser
 
labeledPane(JComponent, String) - Method in class bsh.util.ClassBrowser
 
lastCharNL - Static variable in class bsh.CommandLineReader
 
lastToken - Variable in class bsh.SimpleNode
 
lexStateNames - Static variable in class bsh.ParserTokenManager
 
lhs - Variable in class bsh.Variable
 
line - Variable in class bsh.JavaCharStream
 
list - Variable in class bsh.classpath.BshClassPath.AmbiguousName
 
listeners - Variable in class bsh.classpath.BshClassPath
 
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.
loadRCFiles() - Method in class bsh.Interpreter
 
loadSourceClass(String) - Method in class bsh.BshClassManager
 
localVar - Variable in class bsh.LHS
The assignment should be to a local variable
longBinaryOperation(Long, Long, int) - Static method in class bsh.Primitive
 
longUnaryOperation(Long, int) - Static method in class bsh.Primitive
 
lookingAhead - Variable in class bsh.Parser
 

M

METHOD - Static variable in class bsh.Modifiers
 
METHOD_EVAL - Static variable in class bsh.LHS
Identifiers for the various types of LHS.
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
 
MULTI_LINE_COMMENT - Static variable in interface bsh.ParserConstants
 
MethodDeclaration() - Method in class bsh.Parser
 
MethodInvocation() - Method in class bsh.Parser
 
Modifiers - class bsh.Modifiers.
 
Modifiers() - Constructor for class bsh.Modifiers
 
Modifiers(int, boolean) - Method in class bsh.Parser
THE JAVA LANGUAGE GRAMMAR STARTS HERE *
MultiplicativeExpression() - Method in class bsh.Parser
 
main(String[]) - Static method in class bsh.CommandLineReader
 
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.classpath.BshClassPath
 
main(String[]) - Static method in class bsh.servlet.SimpleTemplate
usage: filename param value
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
 
makeNode(Map, String) - Method in class bsh.util.ClassBrowser.PackageTree
 
makeTreeModel(Collection) - Method in class bsh.util.ClassBrowser.PackageTree
 
map(URL[]) - Method in class bsh.classpath.BshClassPath
call map(url) for each url in the array
map(URL) - Method in class bsh.classpath.BshClassPath
 
map - Variable in class bsh.classpath.DiscreteFilesClassLoader
Map of class sources which also implies our coverage space.
mapNodes(TreeNode) - Method in class bsh.util.ClassBrowser.PackageTree
Map out the location of the nodes by package name.
mappingFeedbackListener - Static variable in class bsh.classpath.BshClassPath
only allow one for now
maxCommonPrefix(String, String) - Static method in class bsh.StringUtil
 
maxNextCharInd - Variable in class bsh.JavaCharStream
 
menuCanceled(MenuEvent) - Method in class bsh.JThis
 
menuDeselected(MenuEvent) - Method in class bsh.JThis
 
menuDragMouseDragged(MenuDragMouseEvent) - Method in class bsh.JThis
 
menuDragMouseEntered(MenuDragMouseEvent) - Method in class bsh.JThis
 
menuDragMouseExited(MenuDragMouseEvent) - Method in class bsh.JThis
 
menuDragMouseReleased(MenuDragMouseEvent) - Method in class bsh.JThis
 
menuKeyPressed(MenuKeyEvent) - Method in class bsh.JThis
 
menuKeyReleased(MenuKeyEvent) - Method in class bsh.JThis
 
menuKeyTyped(MenuKeyEvent) - Method in class bsh.JThis
 
menuSelected(MenuEvent) - Method in class bsh.JThis
 
message - Variable in class bsh.EvalError
 
methodBody - Variable in class bsh.BshMethod
 
methodLine - Variable in class bsh.util.ClassBrowser
 
methodList - Variable in class bsh.util.ClassBrowser
 
methodName - Variable in class bsh.BshClassManager.SignatureKey
 
methodString(String, Class[]) - Static method in class bsh.StringUtil
 
methods - Variable in class bsh.ClassGeneratorUtil
 
mlist - Variable in class bsh.util.ClassBrowser
 
modifiers - Variable in class bsh.BSHClassDeclaration
 
modifiers - Variable in class bsh.BSHMethodDeclaration
 
modifiers - Variable in class bsh.BSHTypedVariableDeclaration
 
modifiers - Variable in class bsh.BshMethod
 
modifiers - Variable in class bsh.Modifiers
 
modifiers - Variable in class bsh.Variable
 
months - Static variable in class bsh.commands.dir
 
mouseClicked(MouseEvent) - Method in class bsh.JThis
 
mouseClicked(MouseEvent) - Method in class bsh.util.JConsole
 
mouseDragged(MouseEvent) - Method in class bsh.JThis
 
mouseEntered(MouseEvent) - Method in class bsh.JThis
 
mouseEntered(MouseEvent) - Method in class bsh.util.JConsole
 
mouseExited(MouseEvent) - Method in class bsh.JThis
 
mouseExited(MouseEvent) - Method in class bsh.util.JConsole
 
mouseMoved(MouseEvent) - Method in class bsh.JThis
 
mousePressed(MouseEvent) - Method in class bsh.JThis
 
mousePressed(MouseEvent) - Method in class bsh.util.JConsole
 
mouseReleased(MouseEvent) - Method in class bsh.JThis
 
mouseReleased(MouseEvent) - Method in class bsh.util.JConsole
 

N

NAME - Static variable in class bsh.BSHPrimarySuffix
 
NATIVE - Static variable in interface bsh.ParserConstants
 
NE - Static variable in interface bsh.ParserConstants
 
NEW - Static variable in interface bsh.ParserConstants
 
NONPRINTABLE - Static variable in interface bsh.ParserConstants
 
NO_TEMPLATE - Static variable in class bsh.servlet.SimpleTemplate
 
NULL - Static variable in interface bsh.ParserConstants
 
NULL - Static variable in class bsh.Primitive
 
Name - class bsh.Name.
What's in a name? I'll tell you...
Name(NameSpace, String) - Constructor for class bsh.Name
This constructor should *not* be used in general.
NameCompletion - interface bsh.util.NameCompletion.
The interface for name completion.
NameCompletionTable - class bsh.util.NameCompletionTable.
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 bsh.NameSource.
This interface supports name completion, which is used primarily for command line tools, etc.
NameSource.Listener - interface bsh.NameSource.Listener.
 
NameSpace - class bsh.NameSpace.
A namespace in which methods, variables, and imports (class names) live.
NameSpace(NameSpace, String) - Constructor for class bsh.NameSpace
 
NameSpace(BshClassManager, String) - Constructor for class bsh.NameSpace
 
NameSpace(NameSpace, BshClassManager, String) - Constructor for class bsh.NameSpace
 
Node - interface bsh.Node.
 
NullLiteral() - Method in class bsh.Parser
 
name - Variable in class bsh.BSHClassDeclaration
 
name - Variable in class bsh.BSHFormalParameter
 
name - Variable in class bsh.BSHMethodDeclaration
 
name - Variable in class bsh.BSHVariableDeclarator
 
name - Variable in class bsh.Variable
A null type means an untyped variable
name - Variable in class bsh.classpath.BshClassPath
 
nameCompletion - Variable in class bsh.util.JConsole
 
nameSourceChanged(NameSource) - Method in interface bsh.NameSource.Listener
 
nameSourceListeners - Variable in class bsh.NameSpace
 
nameSourceListeners - Variable in class bsh.classpath.BshClassPath
 
nameSpace - Variable in class bsh.LHS
 
nameSpaceChanged() - Method in class bsh.NameSpace
Clear all cached classes and names
nameSpaceChanged() - Method in class bsh.classpath.BshClassPath
Fire the NameSourceListeners
namespace - Variable in class bsh.Name
 
namespace - Variable in class bsh.This
The namespace that this This reference wraps.
newToken(int) - Static method in class bsh.Token
Returns a new Token object, by default.
next() - Method in interface bsh.BshIterator
Fetch the next object in the iteration
next() - Method in class bsh.ClassGeneratorUtil.ConstructorArgs
 
next() - Method in class bsh.CollectionManager.BasicBshIterator
Fetch the next object in the iteration
next - Variable in class bsh.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class bsh.collection.CollectionIterator
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.
node - Variable in class bsh.EvalError
 
nodeArity() - Method in class bsh.JJTParserState
 
nodeCreated() - Method in class bsh.JJTParserState
 
nodeForPackage - Variable in class bsh.util.ClassBrowser.PackageTree
 
normal - Static variable in class bsh.CommandLineReader
 
normalizeClassName(Class) - Static method in class bsh.Reflect
Return a more human readable version of the type name.
normalizeClassName(Class) - Static method in class bsh.StringUtil
Hack - The real method is in Reflect.java which is not public.
notifyListeners() - Method in class bsh.classpath.BshClassPath
 
numArgs - Variable in class bsh.BSHFormalParameters
 
numDefinedDims - Variable in class bsh.BSHArrayDimensions
 
numInterfaces - Variable in class bsh.BSHClassDeclaration
 
numThrows - Variable in class bsh.BSHMethodDeclaration
 
numUndefinedDims - Variable in class bsh.BSHArrayDimensions
 
numberValue() - Method in class bsh.Primitive
 

O

OBJECT - Static variable in class bsh.ClassGeneratorUtil
 
OCTAL_LITERAL - Static variable in interface bsh.ParserConstants
 
ORASSIGN - Static variable in interface bsh.ParserConstants
 
ORASSIGNX - Static variable in interface bsh.ParserConstants
 
object - Variable in class bsh.LHS
 
openNodeScope(Node) - Method in class bsh.JJTParserState
 
operation - Variable in class bsh.BSHPrimarySuffix
 
operator - Variable in class bsh.BSHAssignment
 
out - Variable in class bsh.Interpreter
 
out - Variable in class bsh.util.AWTRemoteApplet
 
out - Variable in class bsh.util.HttpdConnection
 
out - Variable in class bsh.util.JRemoteApplet
 

P

PACKAGE - Static variable in interface bsh.ParserConstants
 
PLUS - Static variable in interface bsh.ParserConstants
 
PLUSASSIGN - Static variable in interface bsh.ParserConstants
 
PRIVATE - Static variable in interface bsh.ParserConstants
 
PROPERTY - Static variable in class bsh.BSHPrimarySuffix
 
PROPERTY - Static variable in class bsh.LHS
Identifiers for the various types of LHS.
PROTECTED - Static variable in interface bsh.ParserConstants
 
PUBLIC - Static variable in interface bsh.ParserConstants
 
PackageDeclaration() - Method in class bsh.Parser
 
ParseException - exception bsh.ParseException.
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for class bsh.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for class bsh.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class bsh.ParseException
 
Parser - class bsh.Parser.
This is the BeanShell parser.
Parser(InputStream) - Constructor for class bsh.Parser
 
Parser(Reader) - Constructor for class bsh.Parser
 
Parser(ParserTokenManager) - Constructor for class bsh.Parser
 
ParserConstants - interface bsh.ParserConstants.
 
ParserTokenManager - class bsh.ParserTokenManager.
 
ParserTokenManager(JavaCharStream) - Constructor for class bsh.ParserTokenManager
 
ParserTokenManager(JavaCharStream, int) - Constructor for class bsh.ParserTokenManager
 
ParserTreeConstants - interface bsh.ParserTreeConstants.
 
PostfixExpression() - Method in class bsh.Parser
 
PreDecrementExpression() - Method in class bsh.Parser
 
PreIncrementExpression() - Method in class bsh.Parser
 
PrimaryExpression() - Method in class bsh.Parser
 
PrimaryPrefix() - Method in class bsh.Parser
 
PrimarySuffix() - Method in class bsh.Parser
 
Primitive - class bsh.Primitive.
Wrapper for primitive types in Bsh.
Primitive(Object) - Constructor for class bsh.Primitive
 
Primitive(boolean) - Constructor for class bsh.Primitive
 
Primitive(byte) - Constructor for class bsh.Primitive
 
Primitive(short) - Constructor for class bsh.Primitive
 
Primitive(char) - Constructor for class bsh.Primitive
 
Primitive(int) - Constructor for class bsh.Primitive
 
Primitive(long) - Constructor for class bsh.Primitive
 
Primitive(float) - Constructor for class bsh.Primitive
 
Primitive(double) - Constructor for class bsh.Primitive
 
PrimitiveType() - Method in class bsh.Parser
 
packagesList - Variable in class bsh.util.ClassBrowser
 
paintComponent(Graphics) - Method in class bsh.util.BshCanvas
 
paramTypeDescriptors - Variable in class bsh.DelayedEvalBshMethod
 
paramTypes - Variable in class bsh.BSHFormalParameters
For loose type parameters the paramTypes are null.
paramTypesNode - Variable in class bsh.DelayedEvalBshMethod
 
paramsNode - Variable in class bsh.BSHMethodDeclaration
 
parent - Variable in class bsh.Interpreter
If this interpeter is a child of another, the parent
parent - Variable in class bsh.SimpleNode
 
parseConstructors(Constructor[]) - Method in class bsh.util.ClassBrowser
 
parseFields(Field[]) - Method in class bsh.util.ClassBrowser
 
parseMethods(Method[]) - Method in class bsh.util.ClassBrowser
 
parser - Variable in class bsh.Interpreter
 
pathToFile(String) - Method in class bsh.Interpreter
Localize a path to the file name based on the bsh.cwd interpreter working directory.
peekNode() - Method in class bsh.JJTParserState
 
plainClassForName(String) - Method in class bsh.BshClassManager
Perform a plain Class.forName() or call the externally provided classloader.
plainClassForName(String) - Method in class bsh.classpath.ClassManagerImpl
Delegate for bottom level implementation of Class.forName().
pop() - Method in class bsh.CallStack
 
popNode() - Method in class bsh.JJTParserState
 
popNode() - Method in class bsh.Parser
 
popupMenuCanceled(PopupMenuEvent) - Method in class bsh.JThis
 
popupMenuWillBecomeInvisible(PopupMenuEvent) - Method in class bsh.JThis
 
popupMenuWillBecomeVisible(PopupMenuEvent) - Method in class bsh.JThis
 
postfix - Variable in class bsh.BSHUnaryExpression
 
pout - Variable in class bsh.util.HttpdConnection
 
prefix(String) - Static method in class bsh.Name
 
prefix(String, int) - Static method in class bsh.Name
 
prependMessage(String) - Method in class bsh.EvalError
Prepend the message if it is non-null.
prevCharIsCR - Variable in class bsh.JavaCharStream
 
prevCharIsLF - Variable in class bsh.JavaCharStream
 
primitiveToWrapper - Static variable in class bsh.Primitive
 
print(Object) - Method in interface bsh.ConsoleInterface
 
print(Object) - Method in class bsh.Interpreter
 
print(Object, Color) - Method in class bsh.util.AWTConsole
 
print(Object) - Method in class bsh.util.AWTConsole
 
print(Object, Color) - Method in interface bsh.util.GUIConsoleInterface
 
print(Object) - Method in class bsh.util.JConsole
 
print(Icon) - Method in class bsh.util.JConsole
 
print(Object, Font) - Method in class bsh.util.JConsole
 
print(Object, Color) - 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
 
printStackTrace() - Method in class bsh.TargetError
 
printStackTrace(PrintStream) - Method in class bsh.TargetError
 
printStackTrace(boolean, PrintStream) - Method in class bsh.TargetError
 
printTargetError(Throwable) - Method in class bsh.TargetError
Generate a printable string showing the wrapped target exception.
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() - Method in class bsh.util.JConsole
Prints "\\n" (i.e.
println(Icon) - Method in class bsh.util.JConsole
 
promotePrimitives(Object, Object) - Static method in class bsh.Primitive
Promote the pair of primitives to the maximum type of the two.
promoteToInteger(Object) - Static method in class bsh.Primitive
Promote primitive wrapper type to to Integer wrapper type
propName - Variable in class bsh.LHS
 
propertyChange(PropertyChangeEvent) - Method in class bsh.JThis
 
propertyChange(PropertyChangeEvent) - Method in class bsh.util.JConsole
 
prune() - Method in class bsh.NameSpace
Used for serialization
prune() - Method in class bsh.SimpleNode
Detach this node from its parent.
ptree - Variable in class bsh.util.ClassBrowser
 
push(NameSpace) - Method in class bsh.CallStack
 
pushNode(Node) - Method in class bsh.JJTParserState
 
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
 
putInMap(Object, Object, Object) - Method in class bsh.collection.CollectionManagerImpl
 

R

RBRACE - Static variable in interface bsh.ParserConstants
 
RBRACKET - Static variable in interface bsh.ParserConstants
 
RETURN - Static variable in interface bsh.ParserConstants
 
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
 
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
 
ReInit(Reader, int, int, int) - Method in class bsh.JavaCharStream
 
ReInit(Reader, int, int) - Method in class bsh.JavaCharStream
 
ReInit(Reader) - Method in class bsh.JavaCharStream
 
ReInit(InputStream, int, int, int) - Method in class bsh.JavaCharStream
 
ReInit(InputStream, int, int) - Method in class bsh.JavaCharStream
 
ReInit(InputStream) - Method in class bsh.JavaCharStream
 
ReInit(InputStream) - Method in class bsh.Parser
 
ReInit(Reader) - Method in class bsh.Parser
 
ReInit(ParserTokenManager) - Method in class bsh.Parser
 
ReInit(JavaCharStream) - Method in class bsh.ParserTokenManager
 
ReInit(JavaCharStream, int) - Method in class bsh.ParserTokenManager
 
ReadByte() - Method in class bsh.JavaCharStream
 
Reflect - class bsh.Reflect.
All of the reflection API code lies here.
Reflect() - Constructor for class bsh.Reflect
 
ReflectError - exception bsh.ReflectError.
 
ReflectError() - Constructor for class bsh.ReflectError
 
ReflectError(String) - Constructor for class bsh.ReflectError
 
ReflectManager - class bsh.ReflectManager.
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 bsh.reflect.ReflectManagerImpl.
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
 
RelationalExpression() - Method in class bsh.Parser
 
Remote - class bsh.Remote.
Remote executor class.
Remote() - Constructor for class bsh.Remote
 
ReturnControl - class bsh.ReturnControl.
Represents a Return, Break, or Continue statement
ReturnControl(int, Object, SimpleNode) - Constructor for class bsh.ReturnControl
 
ReturnStatement() - Method in class bsh.Parser
 
ReturnType() - Method in class bsh.Parser
 
reInitInput(Reader) - Method in class bsh.Parser
Re-initialize the input stream and token source.
reInitTokenInput(Reader) - Method in class bsh.Parser
Explicitly re-initialize just the token reader.
reThrow(String) - Method in class bsh.EvalError
Re-throw the error, prepending the specified message.
read() - Method in class bsh.CommandLineReader
 
read(char[], int, int) - Method in class bsh.CommandLineReader
This is a degenerate implementation.
read() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
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
 
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.
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(ClassPathListener) - Method in class bsh.classpath.BshClassPath
 
removeListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
 
removeUpdate(DocumentEvent) - Method in class bsh.JThis
 
replace(String, String) - Method in class bsh.servlet.SimpleTemplate
Substitute the specified text for the parameter
requestFocus() - Method in class bsh.util.JConsole
 
reset() - Method in class bsh.BshClassManager
Clear all loaders and start over.
reset() - Method in class bsh.JJTParserState
 
reset() - Method in class bsh.classpath.ClassManagerImpl
Clear all classloading behavior and class caches and reset to initial state.
resolveExpectedJavaField(Class, String, boolean) - Static method in class bsh.Reflect
 
resolveExpectedJavaMethod(BshClassManager, Class, Object, String, Object[], boolean) - Static method in class bsh.Reflect
This method expects a non-null method from resolveJavaMethod().
resolveJavaField(Class, String, boolean) - Static method in class bsh.Reflect
 
resolveJavaMethod(BshClassManager, Class, Object, String, Object[], boolean) - Static method in class bsh.Reflect
Deprecated.  
resolveJavaMethod(BshClassManager, Class, String, Class[], boolean) - Static method in class bsh.Reflect
 
resolveThisFieldReference(CallStack, NameSpace, Interpreter, String, boolean) - Method in class bsh.Name
Resolve a variable relative to a This reference.
resolvedObjectMethods - Variable in class bsh.BshClassManager
Caches for resolved object and static methods.
resolvedStaticMethods - Variable in class bsh.BshClassManager
 
retainComments - Variable in class bsh.Parser
 
returnPoint - Variable in class bsh.ReturnControl
The node where we returned...
returnType - Variable in class bsh.BSHMethodDeclaration
 
returnTypeDescriptor - Variable in class bsh.DelayedEvalBshMethod
 
returnTypeNode - Variable in class bsh.BSHMethodDeclaration
 
returnTypeNode - Variable in class bsh.DelayedEvalBshMethod
 
root - Variable in class bsh.util.ClassBrowser.PackageTree
 
rootNode() - Method in class bsh.JJTParserState
 
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.HttpdConnection
 
run() - Method in class bsh.util.JConsole
 
run() - Method in class bsh.util.Sessiond
 
run() - Method in class bsh.util.SessiondConnection
 

S

SEMICOLON - Static variable in interface bsh.ParserConstants
 
SHORT - Static variable in interface bsh.ParserConstants
 
SHOW_AMBIG_MAX - Variable in class bsh.util.JConsole
 
SINGLE_LINE_COMMENT - Static variable in interface bsh.ParserConstants
 
SLASH - Static variable in interface bsh.ParserConstants
 
SLASHASSIGN - Static variable in interface bsh.ParserConstants
 
STAR - Static variable in interface bsh.ParserConstants
 
STARASSIGN - Static variable in interface bsh.ParserConstants
 
STATIC - Static variable in class bsh.ClassGeneratorImpl.ClassNodeFilter
 
STATIC - Static variable in interface bsh.ParserConstants
 
STATIC_LEXER_ERROR - Static variable in class bsh.TokenMgrError
An attempt wass made to create a second instance of a static token manager.
STRICTFP - Static variable in interface bsh.ParserConstants
 
STRING_LITERAL - Static variable in interface bsh.ParserConstants
 
SWITCH - Static variable in interface bsh.ParserConstants
 
SYNCHRONIZED - Static variable in interface bsh.ParserConstants
 
Sessiond - class bsh.util.Sessiond.
BeanShell remote session server.
Sessiond(NameSpace, int) - Constructor for class bsh.util.Sessiond
 
SessiondConnection - class bsh.util.SessiondConnection.
 
SessiondConnection(NameSpace, Socket) - Constructor for class bsh.util.SessiondConnection
 
ShiftExpression() - Method in class bsh.Parser
 
SimpleNode - class bsh.SimpleNode.
 
SimpleNode(int) - Constructor for class bsh.SimpleNode
 
SimpleTemplate - class bsh.servlet.SimpleTemplate.
This is a simple template engine.
SimpleTemplate(String) - Constructor for class bsh.servlet.SimpleTemplate
 
SimpleTemplate(Reader) - Constructor for class bsh.servlet.SimpleTemplate
 
SimpleTemplate(URL) - Constructor for class bsh.servlet.SimpleTemplate
 
Statement() - Method in class bsh.Parser
 
StatementExpression() - Method in class bsh.Parser
 
StatementExpressionList() - Method in class bsh.Parser
 
StringUtil - class bsh.StringUtil.
 
StringUtil() - Constructor for class bsh.StringUtil
 
SwitchLabel() - Method in class bsh.Parser
 
SwitchStatement() - Method in class bsh.Parser
 
SwitchTo(int) - Method in class bsh.ParserTokenManager
 
SynchronizedStatement() - Method in class bsh.Parser
 
searchJarForClasses(URL) - Static method in class bsh.classpath.BshClassPath
Get the class file entries from the Jar
selectedClass - Variable in class bsh.util.ClassBrowser
 
selectedPackage - Variable in class bsh.util.ClassBrowser
 
selector - Variable in class bsh.ClassGeneratorUtil.ConstructorArgs
 
sendHTML(HttpServletRequest, HttpServletResponse, String, Exception, Object, StringBuffer, boolean) - Method in class bsh.servlet.BshServlet
 
sendRaw(HttpServletRequest, HttpServletResponse, Exception, Object, StringBuffer) - Method in class bsh.servlet.BshServlet
 
sentSemi - Static variable in class bsh.CommandLineReader
 
set(int, NameSpace) - Method in class bsh.CallStack
This is kind of crazy, but used by the setNameSpace command.
set(String, Object) - Method in class bsh.Interpreter
Assign the value to the name.
set(String, long) - Method in class bsh.Interpreter
 
set(String, int) - Method in class bsh.Interpreter
 
set(String, double) - Method in class bsh.Interpreter
 
set(String, float) - Method in class bsh.Interpreter
 
set(String, boolean) - Method in class bsh.Interpreter
 
setAccessibility(boolean) - Static method in class bsh.Capabilities
 
setAccessible(Object) - Method in class bsh.ReflectManager
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
setAccessible(Object) - Method in class bsh.reflect.ReflectManagerImpl
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
setBlockVariable(String, Object) - Method in class bsh.BlockNameSpace
Set an untyped variable in the block namespace.
setBounds(int, int, int, int) - Method in class bsh.util.BshCanvas
 
setCacheTemplates(boolean) - Static method in class bsh.servlet.SimpleTemplate
 
setCaretPosition(int) - Method in class bsh.util.AWTConsole
 
setClassInstance(Object) - Method in class bsh.NameSpace
 
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 for all basic class loading in BeanShell.
setClassManager(BshClassManager) - Method in class bsh.NameSpace
 
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.
setClassStatic(Class) - Method in class bsh.NameSpace
 
setClassTree(Class) - Method in class bsh.util.ClassBrowser
 
setClist(String) - Method in class bsh.util.ClassBrowser
 
setConslist(Class) - Method in class bsh.util.ClassBrowser
 
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 class 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.
setFieldList(Class) - Method in class bsh.util.ClassBrowser
 
setFont(Font) - Method in class bsh.util.JConsole
 
setFrame(JFrame) - Method in class bsh.util.ClassBrowser
 
setFrame(JInternalFrame) - Method in class bsh.util.ClassBrowser
 
setIndex(Object, int, Object) - Static method in class bsh.Reflect
 
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.
setLocalVariable(String, Object, boolean) - Method in class bsh.NameSpace
Set a variable explicitly in the local scope.
setMap(Map) - Method in class bsh.ExternalNameSpace
Set the external Map which to which this namespace synchronizes.
setMessage(String) - Method in class bsh.EvalError
 
setMethod(String, BshMethod) - Method in class bsh.BlockNameSpace
 
setMethod(String, BshMethod) - Method in class bsh.ExternalNameSpace
 
setMethod(String, BshMethod) - Method in class bsh.NameSpace
Note: this is primarily for internal use.
setMethodLine(Object) - Method in class bsh.util.ClassBrowser
 
setMlist(String) - Method in class bsh.util.ClassBrowser
 
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.
setNode(SimpleNode) - Method in class bsh.EvalError
 
setNode(SimpleNode) - Method in class bsh.NameSpace
Set the node associated with the creation of this namespace.
setObjectProperty(Object, String, Object) - Static method in class bsh.Reflect
 
setOut(PrintStream) - Method in class bsh.Interpreter
 
setPackage(String) - Method in class bsh.NameSpace
Set the package name for classes defined in this namespace.
setPackages(Collection) - Method in class bsh.util.ClassBrowser.PackageTree
 
setParent(NameSpace) - Method in class bsh.NameSpace
 
setPath(URL[]) - Method in class bsh.classpath.BshClassPath
 
setRetainComments(boolean) - Method in class bsh.Parser
 
setSelectedPackage(String) - Method in class bsh.util.ClassBrowser.PackageTree
 
setSourceFile(String) - Method in class bsh.SimpleNode
Set the name of the source file (or more generally source) of the text from which this node was parsed.
setStrictJava(boolean) - Method in class bsh.Interpreter
Set strict Java mode on or off.
setTypedVariable(String, Class, Object, Modifiers) - Method in class bsh.ExternalNameSpace
 
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.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, boolean) - Method in class bsh.BlockNameSpace
Override the standard namespace behavior to make assignments happen in our parent (enclosing) namespace, unless the variable has already been assigned here via a typed declaration or through the special setBlockVariable() (used for untyped args in try/catch).
setVariable(String, Object, boolean, boolean) - Method in class bsh.ExternalNameSpace
 
setVariable(String, Object, boolean) - Method in class bsh.NameSpace
Set the variable through this namespace.
setVariable(String, Object, boolean, boolean) - Method in class bsh.NameSpace
Set the value of a the variable 'name' through this namespace.
setWaitFeedback(boolean) - Method in interface bsh.util.GUIConsoleInterface
e.g.
setWaitFeedback(boolean) - Method in class bsh.util.JConsole
 
setu(String, Object) - Method in class bsh.Interpreter
Unchecked set for internal use
sharedObject - Static variable in class bsh.Interpreter
Shared system object visible under bsh.system
showScriptContextHTML(String, int, int) - Method in class bsh.servlet.BshServlet
 
source(String, NameSpace) - Method in class bsh.Interpreter
Read text from fileName and eval it.
source(String) - Method in class bsh.Interpreter
Read text from fileName and eval it.
source - Variable in class bsh.classpath.BshClassPath.ClassSource
 
sourceFile - Variable in class bsh.ParseException
 
sourceFile - Variable in class bsh.SimpleNode
the source of the text from which this was parsed
sourceFileInfo - Variable in class bsh.Interpreter
The name of the file or other source that this interpreter is reading
sources - Variable in class bsh.util.NameCompletionTable
 
specialConstructor - Variable in class 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.
splashScreen - Static variable in class bsh.util.Util
 
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
ss - Variable in class bsh.util.Httpd
 
startClassMapping() - Method in interface bsh.classpath.BshClassPath.MappingFeedback
 
startClassMapping() - Method in class bsh.classpath.BshClassPath
 
startSplashScreen() - Static method in class bsh.util.Util
 
state - Variable in class bsh.CommandLineReader
 
stateChanged(ChangeEvent) - Method in class bsh.JThis
 
staticFlag - Static variable in class bsh.JavaCharStream
 
staticImport - Variable in class bsh.BSHImportDeclaration
 
staticInit() - Static method in class bsh.Interpreter
 
stringSetup(String) - Method in class bsh.BSHLiteral
 
suffix(String) - Static method in class bsh.Name
 
suffix(String, int) - Static method in class bsh.Name
 
superClass - Variable in class bsh.ClassGeneratorUtil
 
superClassName - Variable in class bsh.ClassGeneratorUtil
 
superConstructors - Variable in class bsh.ClassGeneratorUtil
 
superImport - Variable in class bsh.BSHImportDeclaration
 
swap(NameSpace) - Method in class bsh.CallStack
Swap in the value as the new top of the stack and return the old value.
systemLineSeparator - Static variable in class bsh.Interpreter
 

T

THROW - Static variable in interface bsh.ParserConstants
 
THROWS - Static variable in interface bsh.ParserConstants
 
TILDE - Static variable in interface bsh.ParserConstants
 
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
 
TargetError - exception bsh.TargetError.
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 class bsh.TargetError
 
TargetError(Throwable, SimpleNode, CallStack) - Constructor for class bsh.TargetError
 
This - class bsh.This.
'This' is the type of bsh scripted objects.
This(NameSpace, Interpreter) - Constructor for class bsh.This
 
ThrowStatement() - Method in class bsh.Parser
 
Token - class bsh.Token.
Describes the input token stream.
Token() - Constructor for class bsh.Token
 
TokenMgrError - error bsh.TokenMgrError.
 
TokenMgrError() - Constructor for class bsh.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class bsh.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class bsh.TokenMgrError
 
TryStatement() - Method in class bsh.Parser
 
Type() - Method in class bsh.Parser
 
TypedVariableDeclaration() - Method in class bsh.Parser
Declared a typed variable.
Types - class bsh.Types.
Static routines supporing type comparison and conversion in BeanShell.
Types() - Constructor for class bsh.Types
 
t - Variable in class bsh.UtilTargetError
 
table - Variable in class bsh.util.NameCompletionTable
Unimplemented - need a collection here
tableChanged(TableModelEvent) - Method in class bsh.JThis
 
target - Variable in class bsh.TargetError
 
templateData - Static variable in class bsh.servlet.SimpleTemplate
 
text - Variable in class bsh.BSHAmbiguousName
 
text - Variable in class bsh.BSHFormalComment
 
textValueChanged(TextEvent) - Method in class bsh.JThis
 
ths - Variable in class bsh.util.BshCanvas
 
toArray() - Method in class bsh.CallStack
 
toClass(CallStack, Interpreter) - Method in class bsh.BSHAmbiguousName
 
toClass() - Method in class bsh.Name
Check the cache, else use toObject() to try to resolve to a class identifier.
toEvalError(String, SimpleNode, CallStack) - Method in class bsh.UtilEvalError
Re-throw as an eval error, prefixing msg to the message and specifying the node.
toEvalError(SimpleNode, CallStack) - Method in class bsh.UtilEvalError
 
toEvalError(String, SimpleNode, CallStack) - Method in class bsh.UtilTargetError
Override toEvalError to throw TargetError type.
toFront() - Method in class bsh.util.ClassBrowser
 
toLHS(CallStack, Interpreter) - Method in class bsh.BSHAmbiguousName
 
toLHS(CallStack, Interpreter) - Method in class bsh.BSHPrimaryExpression
Evaluate to a value object.
toLHS(CallStack, Interpreter) - Method in class bsh.Name
 
toObject(CallStack, Interpreter) - Method in class bsh.BSHAmbiguousName
 
toObject(CallStack, Interpreter, boolean) - Method in class bsh.BSHAmbiguousName
 
toObject(CallStack, Interpreter) - Method in class bsh.Name
Resolve possibly complex name to an object value.
toObject(CallStack, Interpreter, boolean) - Method in class bsh.Name
 
toSortedStrings(Collection) - Method in class bsh.util.ClassBrowser
 
toString() - Method in class bsh.BSHAmbiguousName
 
toString() - Method in class bsh.BSHClassDeclaration
 
toString() - Method in class bsh.BSHMethodDeclaration
 
toString() - Method in class bsh.BSHVariableDeclarator
 
toString() - Method in class bsh.BshMethod
 
toString() - Method in class bsh.CallStack
 
toString() - Method in class bsh.ClassIdentifier
 
toString() - Method in class bsh.EvalError
Print the error with line number and stack trace.
toString() - Method in class bsh.JThis
 
toString() - Method in class bsh.LHS
 
toString() - Method in class bsh.Modifiers
 
toString() - Method in class bsh.Name
 
toString() - Method in class bsh.NameSpace
 
toString() - Method in class bsh.ParseException
 
toString() - Method in class bsh.Primitive
 
toString() - Method in class bsh.SimpleNode
 
toString(String) - Method in class bsh.SimpleNode
 
toString() - Method in class bsh.TargetError
 
toString() - Method in class bsh.This
 
toString() - Method in class bsh.Token
Returns the image.
toString() - Method in class bsh.Variable
 
toString() - Method in class bsh.XThis
 
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 class bsh.servlet.SimpleTemplate
 
toString() - Method in class bsh.util.AWTConsole
 
toString() - Method in class bsh.util.JConsole
 
token - Variable in class bsh.Parser
 
tokenBegin - Variable in class bsh.JavaCharStream
 
tokenImage - Variable in class 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
 
token_source - Variable in class bsh.Parser
 
top() - Method in class bsh.CallStack
 
traverseDirForClasses(File) - Static method in class bsh.classpath.BshClassPath
 
traverseDirForClassesAux(File, File) - Static method in class bsh.classpath.BshClassPath
 
tree - Variable in class bsh.util.ClassBrowser
 
treeCollapsed(TreeExpansionEvent) - Method in class bsh.JThis
 
treeExpanded(TreeExpansionEvent) - Method in class bsh.JThis
 
treeModel - Variable in class bsh.util.ClassBrowser.PackageTree
 
treeNodesChanged(TreeModelEvent) - Method in class bsh.JThis
 
treeNodesInserted(TreeModelEvent) - Method in class bsh.JThis
 
treeNodesRemoved(TreeModelEvent) - Method in class bsh.JThis
 
treeStructureChanged(TreeModelEvent) - Method in class bsh.JThis
 
treeWillCollapse(TreeExpansionEvent) - Method in class bsh.JThis
 
treeWillExpand(TreeExpansionEvent) - Method in class bsh.JThis
 
type - Variable in class bsh.BSHFormalParameter
 
type - Variable in class bsh.BSHPrimitiveType
 
type - Variable in class bsh.LHS
 
type - Variable in class bsh.Variable
 
type(int, char, int) - Method in class bsh.util.AWTConsole
 
typeDescriptor - Variable in class bsh.Variable
 
typeDescriptors - Variable in class bsh.BSHFormalParameters
 
types - Variable in class bsh.BshClassManager.SignatureKey
 

U

UNTYPED - Static variable in class bsh.BSHFormalParameter
 
UnaryExpression() - Method in class bsh.Parser
 
UnaryExpressionNotPlusMinus() - Method in class bsh.Parser
 
UpdateLineColumn(char) - Method in class bsh.JavaCharStream
 
Util - class bsh.util.Util.
Misc utilities for the bsh.util package.
Util() - Constructor for class bsh.util.Util
 
UtilEvalError - exception bsh.UtilEvalError.
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 class bsh.UtilEvalError
 
UtilEvalError(String) - Constructor for class bsh.UtilEvalError
 
UtilTargetError - exception bsh.UtilTargetError.
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 class bsh.UtilTargetError
 
UtilTargetError(Throwable) - Constructor for class bsh.UtilTargetError
 
unaryOperation(Primitive, int) - Static method in class bsh.Primitive
 
unboxType(Class) - Static method in class bsh.Primitive
Get the corresponding primitive TYPE class for the java.lang wrapper class type.
undoableEditHappened(UndoableEditEvent) - Method in class bsh.JThis
 
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.
usage() - Static method in class bsh.commands.dir
 
userClassPath - Static variable in class bsh.classpath.BshClassPath
 
userClassPathComp - Static variable in class bsh.classpath.BshClassPath
The user classpath from system property java.class.path

V

VALID_CAST - Static variable in class bsh.Types
Special value that indicates by identity that the result of a cast operation was a valid cast.
VARIABLE - Static variable in class bsh.LHS
Identifiers for the various types of LHS.
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".
VOLATILE - Static variable in interface bsh.ParserConstants
 
Variable - class bsh.Variable.
 
Variable(String, Class, LHS) - Constructor for class bsh.Variable
 
Variable(String, Object, Modifiers) - Constructor for class bsh.Variable
 
Variable(String, String, Object, Modifiers) - Constructor for class bsh.Variable
This constructor is used in class generation.
Variable(String, Class, Object, Modifiers) - Constructor for class bsh.Variable
 
VariableDeclarator() - Method in class bsh.Parser
 
VariableInitializer() - Method in class bsh.Parser
 
VoidLiteral() - Method in class bsh.Parser
 
value - Variable in class bsh.BSHLiteral
 
value - Variable in class bsh.Name
 
value - Variable in class bsh.ReturnControl
 
value - Variable in class bsh.Variable
 
valueChanged(ListSelectionEvent) - Method in class bsh.JThis
 
valueChanged(TreeSelectionEvent) - Method in class bsh.JThis
 
valueChanged(ListSelectionEvent) - Method in class bsh.util.ClassBrowser
 
varName - Variable in class bsh.BSHEnhancedForStatement
 
varName - Variable in class bsh.LHS
 
vars - Variable in class bsh.ClassGeneratorUtil
 
vetoableChange(PropertyChangeEvent) - Method in class bsh.JThis
 

W

WHILE - Static variable in interface bsh.ParserConstants
 
WhileStatement() - Method in class bsh.Parser
 
windowActivated(WindowEvent) - Method in class bsh.JThis
 
windowClosed(WindowEvent) - Method in class bsh.JThis
 
windowClosing(WindowEvent) - Method in class bsh.JThis
 
windowDeactivated(WindowEvent) - Method in class bsh.JThis
 
windowDeiconified(WindowEvent) - Method in class bsh.JThis
 
windowIconified(WindowEvent) - Method in class bsh.JThis
 
windowOpened(WindowEvent) - Method in class bsh.JThis
 
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.
wrapperToPrimitive - Static variable in class bsh.Primitive
 
write(PrintWriter) - Method in class bsh.servlet.SimpleTemplate
 
write(PrintStream) - Method in class bsh.servlet.SimpleTemplate
 

X

XOR - Static variable in interface bsh.ParserConstants
 
XORASSIGN - Static variable in interface bsh.ParserConstants
 
XThis - class bsh.XThis.
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
 
XThis.Handler - class bsh.XThis.Handler.
This is the invocation handler for the dynamic proxy.
XThis.Handler() - Constructor for class bsh.XThis.Handler
 
xPrintTargetError(Throwable) - Method in class bsh.TargetError
Extended form of print target error.

Z

ZEROS - Variable in class bsh.util.JConsole
 

_

_DEFAULT - Static variable in interface bsh.ParserConstants
 

A B C D E F G H I J K L M N O P R S T U V W X Z _