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

A

AALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
AASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
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.
ACC_ABSTRACT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_ANNOTATION - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_BRIDGE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_DEPRECATED - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_ENUM - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_FINAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_INTERFACE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_MANDATED - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_MODULE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_NATIVE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_OPEN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_PRIVATE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_PROTECTED - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_PUBLIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_RECORD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_STATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_STATIC_PHASE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_STRICT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_SUPER - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_SYNCHRONIZED - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_SYNTHETIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_TRANSIENT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_TRANSITIVE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_VARARGS - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ACC_VOLATILE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
accept(Boolean) - Method in class bsh.Capabilities
 
accept(ClassVisitor, int) - Method in class bsh.org.objectweb.asm.ClassReader
Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of this ClassReader.
accept(ClassVisitor, Attribute[], int) - Method in class bsh.org.objectweb.asm.ClassReader
Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of this ClassReader.
accept(SignatureVisitor) - Method in class bsh.org.objectweb.asm.signature.SignatureReader
Makes the given visitor visit the signature of this SignatureReader.
acceptType(SignatureVisitor) - Method in class bsh.org.objectweb.asm.signature.SignatureReader
Makes the given visitor visit the signature of this SignatureReader.
ACONST_NULL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
actionPerformed(ActionEvent) - Method in class bsh.util.JConsole
 
add(URL[]) - Method in class bsh.classpath.BshClassPath
 
add(URL) - Method in class bsh.classpath.BshClassPath
 
add(String) - Method in class bsh.classpath.BshClassPath.AmbiguousName
 
add(SecurityGuard) - Method in class bsh.security.MainSecurityGuard
Add a SecurityGuard to be used
add(Node) - Method in class bsh.SimpleNode
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.
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.
addHistory(String) - Method in class bsh.util.JConsole
 
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
Add a mapping feedback callback class.
addModifier(String) - Method in class bsh.Modifiers
Add a modifier by modifier name.
addModifier(int) - Method in class bsh.Modifiers
Add modifier by unique identifier number.
addModifiers(int) - Method in class bsh.Modifiers
Add multiple modifiers defined by a destinct bit definition.
addNameSourceListener(NameSource.Listener) - Method in class bsh.classpath.BshClassPath
Implements NameSource Add a listener who is notified upon changes to names in this space.
addNameSourceListener(NameSource.Listener) - Method in interface bsh.NameSource
 
addNameSourceListener(NameSource.Listener) - Method in class bsh.NameSpace
Implements NameSource Add a listener who is notified upon changes to names in this space.
addURL(URL) - Method in class bsh.classpath.BshClassLoader
 
adjustBeginLineColumn(int, int) - Method in class bsh.JavaCharStream
Adjust line and column numbers for the start of a token.
AdjustBuffSize() - Method in class bsh.JavaCharStream
 
ALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
AmbiguousName(String) - Constructor for class bsh.classpath.BshClassPath.AmbiguousName
 
ANEWARRAY - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
AnnotationVisitor - Class in bsh.org.objectweb.asm
A visitor to visit a Java annotation.
AnnotationVisitor(int) - Constructor for class bsh.org.objectweb.asm.AnnotationVisitor
Constructs a new AnnotationVisitor.
AnnotationVisitor(int, AnnotationVisitor) - Constructor for class bsh.org.objectweb.asm.AnnotationVisitor
Constructs a new AnnotationVisitor.
api - Variable in class bsh.org.objectweb.asm.AnnotationVisitor
The ASM API version implemented by this visitor.
api - Variable in class bsh.org.objectweb.asm.ClassVisitor
The ASM API version implemented by this visitor.
api - Variable in class bsh.org.objectweb.asm.FieldVisitor
The ASM API version implemented by this visitor.
api - Variable in class bsh.org.objectweb.asm.MethodVisitor
The ASM API version implemented by this visitor.
api - Variable in class bsh.org.objectweb.asm.ModuleVisitor
The ASM API version implemented by this visitor.
api - Variable in class bsh.org.objectweb.asm.RecordComponentVisitor
The ASM API version implemented by this visitor.
api - Variable in class bsh.org.objectweb.asm.signature.SignatureVisitor
The ASM API version implemented by this visitor.
ARETURN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ARRAY - Static variable in class bsh.org.objectweb.asm.Type
The sort of array reference types.
ARRAY_ELEMENT - Static variable in class bsh.org.objectweb.asm.TypePath
A type path step that steps into the element type of an array type.
ARRAYLENGTH - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASM10_EXPERIMENTAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
Deprecated.
This API is experimental.
ASM4 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASM5 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASM6 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASM7 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASM8 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASM9 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ASSIGNMENT - Static variable in class bsh.Variable
 
associateClass(Class<?>) - Method in class bsh.BshClassManager
Associate a persistent generated class implementation with this interpreter.
associatedClasses - Variable in class bsh.BshClassManager
 
ASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ATHROW - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
Attribute - Class in bsh.org.objectweb.asm
A non standard class, field, method or Code attribute, as defined in the Java Virtual Machine Specification (JVMS).
Attribute(String) - Constructor for class bsh.org.objectweb.asm.Attribute
Constructs a new empty attribute.
autoClose() - Method in class bsh.BSHTryWithResources
 
av - Variable in class bsh.org.objectweb.asm.AnnotationVisitor
The annotation visitor to which this visitor must delegate method calls.
AWTConsole - Class in bsh.util
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 in bsh.util
Run bsh as an applet for demo purposes.
AWTDemoApplet() - Constructor for class bsh.util.AWTDemoApplet
 

B

b - Variable in class bsh.org.objectweb.asm.ClassReader
Deprecated.
Use ClassReader.readByte(int) and the other read methods instead. This field will eventually be deleted.
backup(int) - Method in class bsh.JavaCharStream
Backup a number of characters.
BALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
BASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
beginColumn - Variable in class bsh.Token
The column number of the first character of this Token.
beginLine - Variable in class bsh.Token
The line number of the first character of this Token.
BeginToken() - Method in class bsh.JavaCharStream
Get starting character for token.
bind(This, NameSpace, Interpreter) - Static method in class bsh.This
Bind a This reference to a parent's namespace with the specified declaring interpreter.
BIPUSH - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
BlockingPipedInputStream(PipedOutputStream) - Constructor for class bsh.util.JConsole.BlockingPipedInputStream
 
BOOLEAN - Static variable in class bsh.org.objectweb.asm.Type
The sort of the boolean type.
BOOLEAN_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The boolean type.
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.commands - package bsh.commands
 
bsh.engine - package bsh.engine
 
bsh.org.objectweb.asm - package bsh.org.objectweb.asm
Provides a small and fast bytecode manipulation framework.
bsh.org.objectweb.asm.signature - package bsh.org.objectweb.asm.signature
Provides support for type signatures.
bsh.security - package bsh.security
 
bsh.util - package bsh.util
 
BshArray - Class in bsh
Collection of array manipulation functions.
BSHAutoCloseable - Class in bsh
 
BSHAutoCloseable(int) - Constructor for class bsh.BSHAutoCloseable
 
BshCanvas - Class in bsh.util
Scriptable Canvas with buffered graphics.
BshCanvas() - Constructor for class bsh.util.BshCanvas
 
BshCanvas(This) - Constructor for class bsh.util.BshCanvas
 
BshClassLoader - Class in bsh.classpath
One of the things BshClassLoader does is to address a deficiency in URLClassLoader that prevents us from specifying individual classes via URLs.
BshClassLoader(BshClassManager, 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 in bsh
BshClassManager manages all classloading in BeanShell.
BshClassManager() - Constructor for class bsh.BshClassManager
 
BshClassManager.Listener - Interface in bsh
 
BshClassPath - Class in bsh.classpath
A BshClassPath encapsulates knowledge about a class path of URLs.
BshClassPath(String) - Constructor for class bsh.classpath.BshClassPath
 
BshClassPath(String, URL[]) - Constructor for class bsh.classpath.BshClassPath
 
BshClassPath.AmbiguousName - Class in bsh.classpath
 
BshClassPath.ClassSource - Class in bsh.classpath
 
BshClassPath.DirClassSource - Class in bsh.classpath
 
BshClassPath.GeneratedClassSource - Class in bsh.classpath
 
BshClassPath.JarClassSource - Class in bsh.classpath
 
BshClassPath.JrtClassSource - Class in bsh.classpath
 
BSHEnumConstant - Class in bsh
 
BSHEnumConstant(int) - Constructor for class bsh.BSHEnumConstant
 
BSHLabeledStatement - Class in bsh
 
BSHLabeledStatement(int) - Constructor for class bsh.BSHLabeledStatement
 
BshLambda - Class in bsh
The runtime value of a lambda expression.
BshLambda.Wrapper - Interface in bsh
Implemented by every generated wrapper class.
BSHLiteral - Class in bsh
 
BshMethod - Class in bsh
This represents an instance of a bsh method declaration in a particular namespace.
BSHMultiCatch - Class in bsh
 
BSHMultiCatch(int) - Constructor for class bsh.BSHMultiCatch
 
BSHPackageDeclaration - Class in bsh
 
BSHPackageDeclaration(int) - Constructor for class bsh.BSHPackageDeclaration
 
BshScriptEngine - Class in bsh.engine
 
BshScriptEngine() - Constructor for class bsh.engine.BshScriptEngine
 
BshScriptEngine(BshScriptEngineFactory) - Constructor for class bsh.engine.BshScriptEngine
 
BshScriptEngineFactory - Class in bsh.engine
 
BshScriptEngineFactory() - Constructor for class bsh.engine.BshScriptEngineFactory
 
BSHTryWithResources - Class in bsh
 
BSHTryWithResources(int) - Constructor for class bsh.BSHTryWithResources
 
bufcolumn - Variable in class bsh.JavaCharStream
 
buffer - Variable in class bsh.JavaCharStream
 
bufline - Variable in class bsh.JavaCharStream
 
bufpos - Variable in class bsh.JavaCharStream
 
BYTE - Static variable in class bsh.org.objectweb.asm.Type
The sort of the byte type.
BYTE_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The byte type.
ByteVector - Class in bsh.org.objectweb.asm
A dynamically extensible vector of bytes.
ByteVector() - Constructor for class bsh.org.objectweb.asm.ByteVector
Constructs a new ByteVector with a default initial capacity.
ByteVector(int) - Constructor for class bsh.org.objectweb.asm.ByteVector
Constructs a new ByteVector with the given initial capacity.

C

cacheClassInfo(String, Class<?>) - Method in class bsh.BshClassManager
Cache info about whether name is a class or not.
CallStack - Class in bsh
A stack of NameSpaces representing the call path.
CallStack() - Constructor for class bsh.CallStack
 
CallStack(NameSpace) - Constructor for class bsh.CallStack
 
CALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
canConstruct(Class<?>, Object[]) - Method in class bsh.security.MainSecurityGuard
Validate if you can create a instance
canConstruct(Class<?>, Object[]) - Method in interface bsh.security.SecurityGuard
Validate and return if you can create a instance
canExtends(Class<?>) - Method in class bsh.security.MainSecurityGuard
Validate if _class can extends superClass
canExtends(Class<?>) - Method in interface bsh.security.SecurityGuard
Validate and return if some class can extends superClass
canGetField(Object, String) - Method in class bsh.security.MainSecurityGuard
Validate if can get a field of a specific object
canGetField(Object, String) - Method in interface bsh.security.SecurityGuard
Validate and return if can get a field of a specific object
canGetStaticField(Class<?>, String) - Method in class bsh.security.MainSecurityGuard
Validate if can get a static field of a specific class
canGetStaticField(Class<?>, String) - Method in interface bsh.security.SecurityGuard
Validate and return if can get a static field of a specific class
canImplements(Class<?>) - Method in class bsh.security.MainSecurityGuard
Validate if _class can implements _interface
canImplements(Class<?>) - Method in interface bsh.security.SecurityGuard
Validate and return if some class can implements _interface
canInvokeLocalMethod(String, Object[]) - Method in class bsh.security.MainSecurityGuard
Validate if can call a local method ( aka commands )
canInvokeLocalMethod(String, Object[]) - Method in interface bsh.security.SecurityGuard
Validate and return if a specific local method ( aka commands ) can be invoked
canInvokeMethod(Object, String, Object[]) - Method in class bsh.security.MainSecurityGuard
Validate if a specific method of a specific object can be invoked.
canInvokeMethod(Object, String, Object[]) - Method in interface bsh.security.SecurityGuard
Validate and return if a specific method of a specific object can be invoked.
canInvokeStaticMethod(Class<?>, String, Object[]) - Method in class bsh.security.MainSecurityGuard
Validate if a specific static method of a specific class can be invoked
canInvokeStaticMethod(Class<?>, String, Object[]) - Method in interface bsh.security.SecurityGuard
Validate and return if a specific static method of a specific class can be invoked
canonicalizeClassName(String) - Static method in class bsh.classpath.BshClassPath
 
Capabilities - Class in bsh
The map of extended features supported by the runtime in which we live.
Capabilities.Unavailable - Exception in bsh
An attempt was made to use an unavailable capability supported by an optional package.
CAST - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type declared in an explicit or implicit cast instruction.
CASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
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.
changeContext(int) - Method in class bsh.Modifiers
Change the current applied context and revalidate the modifiers.
CHAR - Static variable in class bsh.org.objectweb.asm.Type
The sort of the char type.
CHAR_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The char type.
charSetup(String) - Method in class bsh.BSHLiteral
 
CHECKCAST - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
children - Variable in class bsh.SimpleNode
 
CLASS - Static variable in class bsh.Modifiers
 
CLASS_EXTENDS - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the super class of a class or one of the interfaces it implements.
CLASS_TYPE_PARAMETER - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a type parameter of a generic class.
CLASS_TYPE_PARAMETER_BOUND - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a bound of a type parameter of a generic class.
ClassBrowser - Class in bsh.util
A simple class browser for the BeanShell desktop.
ClassBrowser() - Constructor for class bsh.util.ClassBrowser
 
ClassBrowser(BshClassManager) - Constructor for class bsh.util.ClassBrowser
 
classExists(String) - Method in class bsh.BshClassManager
 
classExists(String) - Static method in class bsh.Capabilities
Use direct Class.forName() to test for the existence of a class.
classForName(String) - Method in class bsh.BshClassManager
Load the specified class by name, taking into account added classpath and reloaded classes, etc.
classForName(String) - Method in class bsh.classpath.ClassManagerImpl
 
ClassGenerator - Class in bsh
 
ClassGenerator() - Constructor for class bsh.ClassGenerator
 
ClassGeneratorUtil - Class in bsh
ClassGeneratorUtil utilizes the ASM (www.objectweb.org) bytecode generator by Eric Bruneton in order to generate class "stubs" for BeanShell at runtime.
ClassGeneratorUtil(Modifiers, String, String, Class<?>, Class<?>[], Variable[], DelayedEvalBshMethod[], NameSpace, ClassGenerator.Type) - Constructor for class bsh.ClassGeneratorUtil
 
ClassIdentifier - Class in bsh
 
ClassIdentifier(Class<?>) - Constructor for class bsh.ClassIdentifier
 
classLoaderChanged() - Method in class bsh.BshClassManager
 
classLoaderChanged() - Method in interface bsh.BshClassManager.Listener
 
classLoaderChanged() - Method in class bsh.BshMethod
classLoaderChanged() - Method in class bsh.classpath.ClassManagerImpl
Clear global class cache and notify namespaces to clear their class caches.
classLoaderChanged() - Method in class bsh.Interpreter
classLoaderChanged() - Method in class bsh.NameSpace
Clear all cached classes and names.
classLoaderChanged() - Method in class bsh.Variable
ClassManagerImpl - Class in bsh.classpath
Manage all classloading in BeanShell.
ClassManagerImpl() - Constructor for class bsh.classpath.ClassManagerImpl
Used by BshClassManager singleton constructor
classPathChanged() - Method in class bsh.classpath.BshClassPath
 
classPathChanged() - Method in interface bsh.classpath.ClassPathListener
 
classPathChanged() - Method in class bsh.util.ClassBrowser
 
ClassPathException - Exception in bsh
 
ClassPathException(String) - Constructor for exception bsh.ClassPathException
 
ClassPathException(String, Throwable) - Constructor for exception bsh.ClassPathException
 
ClassPathListener - Interface in bsh.classpath
 
ClassReader - Class in bsh.org.objectweb.asm
A parser to make a ClassVisitor visit a ClassFile structure, as defined in the Java Virtual Machine Specification (JVMS).
ClassReader(byte[]) - Constructor for class bsh.org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassReader(byte[], int, int) - Constructor for class bsh.org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassReader(InputStream) - Constructor for class bsh.org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassReader(String) - Constructor for class bsh.org.objectweb.asm.ClassReader
Constructs a new ClassReader object.
ClassSource() - Constructor for class bsh.classpath.BshClassPath.ClassSource
 
ClassSourceMap() - Constructor for class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
classString(Class<?>) - Static method in class bsh.StringUtil
Produce a string representation of a class declaration.
ClassTooLargeException - Exception in bsh.org.objectweb.asm
Exception thrown when the constant pool of a class produced by a ClassWriter is too large.
ClassTooLargeException(String, int) - Constructor for exception bsh.org.objectweb.asm.ClassTooLargeException
Constructs a new ClassTooLargeException.
ClassVisitor - Class in bsh.org.objectweb.asm
A visitor to visit a Java class.
ClassVisitor(int) - Constructor for class bsh.org.objectweb.asm.ClassVisitor
Constructs a new ClassVisitor.
ClassVisitor(int, ClassVisitor) - Constructor for class bsh.org.objectweb.asm.ClassVisitor
Constructs a new ClassVisitor.
ClassWriter - Class in bsh.org.objectweb.asm
A ClassVisitor that generates a corresponding ClassFile structure, as defined in the Java Virtual Machine Specification (JVMS).
ClassWriter(int) - Constructor for class bsh.org.objectweb.asm.ClassWriter
Constructs a new ClassWriter object.
ClassWriter(ClassReader, int) - Constructor for class bsh.org.objectweb.asm.ClassWriter
Constructs a new ClassWriter object and enables optimizations for "mostly add" bytecode transformations.
clear() - Method in class bsh.CallStack
 
clear() - Method in class bsh.engine.ScriptContextEngineView
Removes all mappings from this map (optional operation).
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.
clear() - Method in class bsh.util.ValueReferenceMap
Remove all entries from the map
clearCaches() - Method in class bsh.BshClassManager
Clear the caches in BshClassManager
clone() - Method in class bsh.BshMethod
Cloneable clone method implementation, delegated to parent.
close() - Method in class bsh.BSHAutoCloseable
 
close() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
close() - Method in class bsh.util.JConsole
Stops the pipe writer and pipe watcher threads without blocking the caller.
cmUnavailable() - Static method in class bsh.BshClassManager
 
coerceToType(Object, Class<?>) - Method in class bsh.Invocable
Coerce parameter values to parameter type and unwrap primitives.
CollectionManager - Class in bsh
The default CollectionManager supports iteration over objects of type: Enumeration, Iterator, Iterable, CharSequence, and array.
CollectionManager() - Constructor for class bsh.CollectionManager
 
collectParamaters(Object, Object[]) - Method in class bsh.Invocable
Basic parameter collection with pulling inherited cascade chaining.
collectParamaters(Object, Object[], boolean) - Method in class bsh.Invocable
Collect using the invocation mode selected from the argument types.
column - Variable in class bsh.JavaCharStream
 
CommandLineReader - Class in bsh
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
 
commonType(Class<?>, Object, IntSupplier) - Static method in class bsh.BshArray
Find a more specific type if the element type is Object.class.
COMPATIBIILTY - Static variable in class bsh.Interpreter
 
compile(String) - Method in class bsh.engine.BshScriptEngine
Compiles the script (source represented as a String) for later execution.
compile(Reader) - Method in class bsh.engine.BshScriptEngine
Compiles the script (source read from Reader) for later execution.
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
 
COMPUTE_FRAMES - Static variable in class bsh.org.objectweb.asm.ClassWriter
A flag to automatically compute the stack map frames of methods from scratch.
COMPUTE_MAXS - Static variable in class bsh.org.objectweb.asm.ClassWriter
A flag to automatically compute the maximum stack size and the maximum number of local variables of methods.
concat(List<?>, List<?>) - Static method in class bsh.BshArray
Concatenate two lists.
concat(Object, Object) - Static method in class bsh.BshArray
Concatenate two arrays.
Console - Class in bsh
Console startup class.
Console() - Constructor for class bsh.Console
 
Console(ConsoleInterface) - Constructor for class bsh.Interpreter.Console
 
Console(Reader, PrintStream, PrintStream) - Constructor for class bsh.Interpreter.Console
 
ConsoleAssignable - Interface in bsh
The capabilities of an assignable console for BeanShell.
ConsoleInterface - Interface in bsh
The capabilities of a minimal console for BeanShell.
CONST - Static variable in class bsh.Modifiers
 
ConstantDynamic - Class in bsh.org.objectweb.asm
A constant whose value is computed at runtime, with a bootstrap method.
ConstantDynamic(String, String, Handle, Object...) - Constructor for class bsh.org.objectweb.asm.ConstantDynamic
Constructs a new ConstantDynamic.
CONSTRUCTOR - Static variable in class bsh.Modifiers
 
CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a type parameter of a generic constructor in a constructor call.
CONSTRUCTOR_REFERENCE - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the receiver type of a constructor reference.
CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a type parameter of a generic constructor in a constructor reference.
containsKey(Object) - Method in class bsh.engine.ScriptContextEngineView
Returns true if the key name is bound in any scope in the context.
containsValue(Object) - Method in class bsh.engine.ScriptContextEngineView
Returns true if this map maps one or more keys to the specified value.
contextStore - Static variable in class bsh.This
 
copy() - Method in class bsh.CallStack
Occasionally we need to freeze the callstack for error reporting purposes, etc.
countTypes() - Method in class bsh.BSHMultiCatch
 
createBindings() - Method in class bsh.engine.BshScriptEngine
 
createClassManager(Interpreter) - Static method in class bsh.BshClassManager
Create a new instance of the class manager.
createVariable(String, Class, Object, Modifiers) - Method in class bsh.ExternalNameSpace
 
createVariable(String, Object, Modifiers) - Method in class bsh.NameSpace
Creates the variable.
createVariable(String, Class<?>, Object, Modifiers) - Method in class bsh.NameSpace
Creates the variable.
createVariable(String, Class<?>, LHS) - Method in class bsh.NameSpace
Creates the variable.
currentToken - Variable in exception bsh.ParseException
This is the last token that has been consumed successfully.
cv - Variable in class bsh.org.objectweb.asm.ClassVisitor
The class visitor to which this visitor must delegate method calls.

D

D2F - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
D2I - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
D2L - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DADD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DCMPG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DCMPL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DCONST_0 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DCONST_1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DDIV - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
debug - Static variable in class bsh.Interpreter.Console
 
DEBUG - Static variable in class bsh.Interpreter
 
debug(Object...) - Static method in class bsh.Interpreter
Print a debug message on debug stream associated with this interpreter only if debugging is turned on.
DECLARATION - Static variable in class bsh.Variable
 
DEFAULT - Static variable in class bsh.This.ConstructorArgs
A ConstructorArgs which calls the default constructor
defineClass(String, byte[]) - Method in class bsh.BshClassManager
 
defineClass(String, byte[]) - Method in class bsh.classpath.ClassManagerImpl
 
DelayedEvalBshMethod - Class in bsh
 
delegate - Variable in class bsh.org.objectweb.asm.RecordComponentVisitor
The record visitor to which this visitor must delegate method calls.
depth() - Method in class bsh.CallStack
 
dimensions(Object) - Static method in class bsh.BshArray
Collect dimensions array of supplied array object.
dir - Class in bsh.commands
 
dir() - Constructor for class bsh.commands.dir
 
DiscreteFilesClassLoader - Class in bsh.classpath
A classloader which can load one or more classes from specified sources.
DiscreteFilesClassLoader(BshClassManager, DiscreteFilesClassLoader.ClassSourceMap) - Constructor for class bsh.classpath.DiscreteFilesClassLoader
 
DiscreteFilesClassLoader.ClassSourceMap - Class in bsh.classpath
 
DLOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DMUL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DNEG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
doAbort() - Static method in exception bsh.SafeNavigate
 
Done() - Method in class bsh.JavaCharStream
Set buffers back to null when finished.
doSuperImport() - Method in class bsh.BshClassManager
Support for "import *;" Hide details in here as opposed to NameSpace.
doSuperImport() - Method in class bsh.classpath.ClassManagerImpl
Support for "import *;" Hide details in here as opposed to NameSpace.
doSuperImport() - Method in class bsh.NameSpace
Perform "import *;" causing the entire classpath to be mapped.
DOUBLE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DOUBLE - Static variable in class bsh.org.objectweb.asm.Type
The sort of the double type.
DOUBLE_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The double type.
DREM - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DRETURN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
driveToClass(String) - Method in class bsh.util.ClassBrowser
 
DSTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DSUB - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
dump(PrintWriter) - Method in class bsh.BshClassManager
 
dump(PrintWriter) - Method in class bsh.classpath.ClassManagerImpl
 
dump(String) - Method in interface bsh.Node
Dump the children hierarchy.
dump(String) - Method in class bsh.SimpleNode
Dump the children hierarchy.
DUP - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DUP2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DUP2_X1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DUP2_X2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DUP_X1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
DUP_X2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 

E

endColumn - Variable in class bsh.Token
The column number of the last character of this Token.
endLine - Variable in class bsh.Token
The line number of the last character of this Token.
endSplashScreen() - Static method in class bsh.util.Util
 
entrySet() - Method in class bsh.engine.ScriptContextEngineView
Returns a set view of the mappings contained in this map.
enumValues() - Method in class bsh.This
Delegate method to return enum values array.
equal(Object, Object) - Static method in class bsh.BshMethod
 
equals(Object) - Method in class bsh.BshMethod
 
equals(Object) - Method in class bsh.DelayedEvalBshMethod
 
equals(Object) - Method in class bsh.Invocable
equals(Object) - Method in class bsh.org.objectweb.asm.ConstantDynamic
 
equals(Object) - Method in class bsh.org.objectweb.asm.Handle
 
equals(Object) - Method in class bsh.org.objectweb.asm.Type
Tests if the given object is equal to this type.
equals(Object) - Method in class bsh.Primitive
Primitives compare equal with other Primitives containing an equal wrapped value.
error(Object) - Method in interface bsh.ConsoleInterface
 
error(Object) - Method in class bsh.Interpreter.Console
 
error(Object) - Method in class bsh.Interpreter
 
error(Object) - Method in class bsh.util.AWTConsole
 
error(Object) - Method in class bsh.util.JConsole
 
eval(CallStack, Interpreter) - Method in class bsh.BSHAutoCloseable
 
eval(CallStack, Interpreter) - Method in class bsh.BSHEnumConstant
 
eval(CallStack, Interpreter) - Method in class bsh.BSHLabeledStatement
 
eval(CallStack, Interpreter) - Method in class bsh.BSHLiteral
 
eval(CallStack, Interpreter) - Method in class bsh.BSHMultiCatch
Evaluate the types.
eval(CallStack, Interpreter) - Method in class bsh.BSHPackageDeclaration
 
eval(CallStack, Interpreter) - Method in class bsh.BSHTryWithResources
 
eval(String, ScriptContext) - Method in class bsh.engine.BshScriptEngine
 
eval(Reader, ScriptContext) - Method in class bsh.engine.BshScriptEngine
 
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(CallStack, Interpreter) - Method in interface bsh.Node
This is the general signature for evaluation of a node.
eval(CallStack, Interpreter) - Method in class bsh.SimpleNode
This is the general signature for evaluation of a node.
EvalError - Exception in bsh
EvalError indicates that we cannot continue evaluating the node and an unrecoverable internal error has corrupted the interpreter or callstack.
EvalError(String, Node, CallStack, Throwable) - Constructor for exception bsh.EvalError
 
EvalError(String, Node, CallStack) - Constructor for exception bsh.EvalError
 
EvalException - Exception in bsh
EvalException indicates that the script has encountered a runtime exception and the current node cannot be successfully evaluated.
EvalException(String, Node, CallStack, Throwable) - Constructor for exception bsh.EvalException
 
EvalException(String, Node, CallStack) - Constructor for exception bsh.EvalException
 
evalOnly - Variable in class bsh.Interpreter
 
EXCEPTION_PARAMETER - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of the exception of a 'catch' clause in a method.
expand(URL[]) - Static method in class bsh.classpath.BshClassPath
 
EXPAND_FRAMES - Static variable in class bsh.org.objectweb.asm.ClassReader
A flag to expand the stack map frames.
ExpandBuff(boolean) - Method in class bsh.JavaCharStream
 
expectedTokenSequences - Variable in exception bsh.ParseException
Each entry in this array is an array of integers.
expectedTokenSequencesLoc - Variable in exception bsh.ParseException
Source locations of each expected token sequence, parallel to expectedTokenSequences.
EXTENDS - Static variable in class bsh.org.objectweb.asm.signature.SignatureVisitor
Wildcard for an "extends" type argument.
externalClassLoader - Variable in class bsh.BshClassManager
An external classloader supplied by the setClassLoader() command.
ExternalNameSpace - Class in bsh
A namespace which maintains an external map of values held in variables in its scope.
ExternalNameSpace() - Constructor for class bsh.ExternalNameSpace
 
ExternalNameSpace(NameSpace, String, Map<String, Object>) - Constructor for class bsh.ExternalNameSpace
 

F

F2D - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
F2I - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
F2L - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
F_APPEND - Static variable in interface bsh.org.objectweb.asm.Opcodes
A compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.
F_CHOP - Static variable in interface bsh.org.objectweb.asm.Opcodes
A compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.
F_FULL - Static variable in interface bsh.org.objectweb.asm.Opcodes
A compressed frame with complete frame data.
F_NEW - Static variable in interface bsh.org.objectweb.asm.Opcodes
An expanded frame.
F_SAME - Static variable in interface bsh.org.objectweb.asm.Opcodes
A compressed frame with exactly the same locals as the previous frame and with an empty stack.
F_SAME1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
A compressed frame with exactly the same locals as the previous frame and with a single value on the stack.
FADD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FALSE - Static variable in class bsh.Primitive
 
FASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FCMPG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FCMPL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FCONST_0 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FCONST_1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FCONST_2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FDIV - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FIELD - Static variable in class bsh.Modifiers
 
FIELD - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of a field.
FieldVisitor - Class in bsh.org.objectweb.asm
A visitor to visit a Java field.
FieldVisitor(int) - Constructor for class bsh.org.objectweb.asm.FieldVisitor
Constructs a new FieldVisitor.
FieldVisitor(int, FieldVisitor) - Constructor for class bsh.org.objectweb.asm.FieldVisitor
Constructs a new FieldVisitor.
FileReader - Class in bsh
A drop in replace for java.io.FileReader with implicit UTF-8 encoding.
FileReader(String) - Constructor for class bsh.FileReader
Creates a new FileReader, given the name of the file to read from.
FileReader(File) - Constructor for class bsh.FileReader
Creates a new FileReader, given the File to read from.
FileReader(FileDescriptor) - Constructor for class bsh.FileReader
Creates a new FileReader, given the FileDescriptor to read from.
FileReader(InputStream) - Constructor for class bsh.FileReader
Creates a new FileReader that uses UTF-8 charset.
FillBuff() - Method in class bsh.JavaCharStream
 
findClass(String) - Method in class bsh.classpath.BshClassLoader
Find the correct source for the class...
findClass(String) - Method in class bsh.classpath.DiscreteFilesClassLoader
 
findMostSpecificBshMethod(Class<?>[], List<BshMethod>) - Static method in class bsh.Reflect
Find the best match for signature idealMatch and return the method.
findMostSpecificBshMethodIndex(Class<?>[], List<BshMethod>) - Static method in class bsh.Reflect
Find the best match for signature idealMatch and return the position of the matching signature within the list.
findMostSpecificInvocable(Class<?>[], List<Invocable>) - Static method in class bsh.Reflect
Find the best match for signature idealMatch and return the method.
findMostSpecificInvocableIndex(Class<?>[], List<Invocable>) - Static method in class bsh.Reflect
Find the best match for signature idealMatch and return the position of the matching signature within the list.
FLOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FLOAT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FLOAT - Static variable in class bsh.org.objectweb.asm.Type
The sort of the float type.
FLOAT_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The float type.
FMUL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FNEG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FREM - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FRETURN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
fromString(String) - Static method in class bsh.org.objectweb.asm.TypePath
Converts a type path in string form, in the format used by TypePath.toString(), into a TypePath object.
FSTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
FSUB - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
fv - Variable in class bsh.org.objectweb.asm.FieldVisitor
The field visitor to which this visitor must delegate method calls.

G

generateClass(String, Modifiers, Class<?>[], Class<?>, BSHBlock, ClassGenerator.Type, CallStack, Interpreter) - Method in class bsh.ClassGenerator
Parse the BSHBlock for the class definition and generate the class.
generateClass() - Method in class bsh.ClassGeneratorUtil
Generate the class bytecode for this class.
generateClassImpl(String, Modifiers, Class<?>[], Class<?>, BSHBlock, ClassGenerator.Type, CallStack, Interpreter) - Static method in class bsh.ClassGenerator
Parse the BSHBlock for for the class definition and generate the class using ClassGenerator.
GeneratedClass - Interface in bsh
Marker interface for generated classes
get(int) - Method in class bsh.CallStack
zero based.
get() - Method in class bsh.Capabilities
 
get() - Method in class bsh.classpath.BshClassPath.AmbiguousName
 
get(Object) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
get(Object) - Method in class bsh.engine.ScriptContextEngineView
Returns the value bound in the most specific (lowest numbered) bindings space for this key.
get(String) - Method in class bsh.Interpreter
Get the value of the name.
get(Method) - Static method in class bsh.Invocable
Public invocable class method for making method invocables.
get(Constructor<?>) - Static method in class bsh.Invocable
Public invocable class method for making constructor invocables.
get(Field) - Static method in class bsh.Invocable
Public invocable class method for making field access invocables.
get(String, Interpreter) - Method in class bsh.NameSpace
Resolve name to an object through this namespace.
get(K) - Method in class bsh.util.ValueReferenceMap
Get the value for a given key.
getAccess() - Method in class bsh.org.objectweb.asm.ClassReader
Returns the class's access flags (see Opcodes).
getAllNames() - Method in class bsh.classpath.BshClassPath
 
getAllNames() - Method in interface bsh.NameSource
 
getAllNames() - Method in class bsh.NameSpace
Implements NameSource.
getAllNamesAux(List<String>) - Method in class bsh.NameSpace
Helper for implementing NameSource.
getAltConstructor() - Method in class bsh.DelayedEvalBshMethod
 
getArgsNode() - Method in class bsh.DelayedEvalBshMethod
 
getArgumentCount() - Method in class bsh.org.objectweb.asm.Type
Returns the number of arguments of this method type.
getArgumentCount(String) - Static method in class bsh.org.objectweb.asm.Type
Returns the number of arguments in the given method descriptor.
getArguments(CallStack, Interpreter) - Method in class bsh.BSHEnumConstant
 
getArgumentsAndReturnSizes() - Method in class bsh.org.objectweb.asm.Type
Returns the size of the arguments and of the return value of methods of this type.
getArgumentsAndReturnSizes(String) - Static method in class bsh.org.objectweb.asm.Type
Computes the size of the arguments and of the return value of a method.
getArgumentTypes() - Method in class bsh.org.objectweb.asm.Type
Returns the argument types of methods of this type.
getArgumentTypes(String) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type values corresponding to the argument types of the given method descriptor.
getArgumentTypes(Method) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type values corresponding to the argument types of the given method.
getAssociatedClass(String) - Method in class bsh.BshClassManager
 
getBaseLoader() - Method in class bsh.classpath.ClassManagerImpl
 
getBeginColumn() - Method in class bsh.JavaCharStream
Get the token beginning character column number.
getBeginLine() - Method in class bsh.JavaCharStream
Get the token beginning character line number.
getBoolean() - Method in class bsh.This.ConstructorArgs
 
getBootClassPath() - Static method in class bsh.classpath.BshClassPath
 
getBootstrapMethod() - Method in class bsh.org.objectweb.asm.ConstantDynamic
Returns the bootstrap method used to compute the value of this constant.
getBootstrapMethodArgument(int) - Method in class bsh.org.objectweb.asm.ConstantDynamic
Returns an argument passed to the bootstrap method, in order to compute the value of this constant.
getBootstrapMethodArgumentCount() - Method in class bsh.org.objectweb.asm.ConstantDynamic
Returns the number of arguments passed to the bootstrap method, in order to compute the value of this constant.
getBshIterator(Enumeration<T>) - Method in class bsh.CollectionManager
Gets iterator for enumerated elements.
getBshIterator(Iterable<T>) - Method in class bsh.CollectionManager
Returns iterator from supplied iterable collection.
getBshIterator(Iterator<T>) - Method in class bsh.CollectionManager
Returns iterator from supplied iterator.
getBshIterator(CharSequence) - Method in class bsh.CollectionManager
Collect a char array iterator from supplied char sequence.
getBshIterator(String) - Method in class bsh.CollectionManager
Collect a char array sequence iterator from supplied string.
getBshIterator(T[]) - Method in class bsh.CollectionManager
Iterator from T[] method bound type Object array as value.
getBshIterator(Number) - Method in class bsh.CollectionManager
Gets iterator for Number range from 0.
getBshIterator(Character) - Method in class bsh.CollectionManager
Gets iterator for character range from highest unicode block set starting position.
getBshIterator(Object) - Method in class bsh.CollectionManager
Inspect the supplied object and cast type to delegates.
getBufferedGraphics() - Method in class bsh.util.BshCanvas
Get a buffered (persistent) image for drawing on this component
getByte() - Method in class bsh.This.ConstructorArgs
 
getChar() - Method in class bsh.This.ConstructorArgs
 
getClass(String) - Method in class bsh.NameSpace
Load a class through this namespace taking into account imports.
getClassesForPackage(String) - Method in class bsh.classpath.BshClassPath
Return the set of class names in the specified package including all component paths.
getClassGenerator() - Static method in class bsh.ClassGenerator
 
getClassInstanceThis(Object, Class<?>) - Static method in class bsh.Reflect
Get the instance bsh namespace field from the object instance.
getClassLoader() - Method in class bsh.org.objectweb.asm.ClassWriter
Returns the ClassLoader to be used by the default implementation of ClassWriter.getCommonSuperClass(String, String), that of this ClassWriter's runtime type by default.
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
Gets the class manager.
getClassModifiers(Class<?>) - Static method in class bsh.Reflect
 
getClassName() - Method in class bsh.org.objectweb.asm.ClassReader
Returns the internal name of the class (see Type.getInternalName()).
getClassName() - Method in exception bsh.org.objectweb.asm.ClassTooLargeException
Returns the internal name of the class (see Type.getInternalName()).
getClassName() - Method in exception bsh.org.objectweb.asm.MethodTooLargeException
Returns the internal name of the owner class.
getClassName() - Method in class bsh.org.objectweb.asm.Type
Returns the binary name of the class corresponding to this type.
getClassNameByUnqName(String) - Method in class bsh.BshClassManager
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
getClassNameByUnqName(String) - Method in class bsh.classpath.BshClassPath
Support for super import "*"; Get the full name associated with the unqualified name in this classpath.
getClassNameByUnqName(String) - Method in class bsh.classpath.ClassManagerImpl
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
getClassPath() - Method in class bsh.classpath.ClassManagerImpl
Get the full blown classpath.
getClassSource(String) - Method in class bsh.classpath.BshClassPath
Return the source of the specified class which may lie in component path.
getClassStaticThis(Class<?>, String) - Static method in class bsh.Reflect
Get the static bsh namespace field from the class.
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
 
getCode(String) - Method in class bsh.classpath.BshClassPath.JrtClassSource
 
getCodeSize() - Method in exception bsh.org.objectweb.asm.MethodTooLargeException
Returns the size of the method's Code attribute, in bytes.
getCollectionManager() - Static method in class bsh.CollectionManager
Gets the collection manager.
getCommand(String, Class<?>[], Interpreter) - Method in class bsh.NameSpace
A command is a scripted method or compiled command class implementing a specified method signature.
getCommonSuperClass(String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
Returns the common super type of the two given types.
getCompatibility() - Method in class bsh.Interpreter
Compatibility mode.
getConstantPoolCount() - Method in exception bsh.org.objectweb.asm.ClassTooLargeException
Returns the number of constant pool items of the class.
getConstructorArgs() - Method in class bsh.DelayedEvalBshMethod
 
getConstructorArgs(Class<?>, This, Object[], int) - Static method in class bsh.This
This method is called by the **generated class** during construction.
getConstructorDescriptor(Constructor<?>) - Static method in class bsh.org.objectweb.asm.Type
Returns the descriptor corresponding to the given constructor.
getDeclaredMethod(Class<?>, String, Class<?>[]) - Static method in class bsh.Reflect
 
getDeclaredMethods(Class<?>) - Static method in class bsh.Reflect
 
getDeclaredVariable(Class<?>, String) - Static method in class bsh.Reflect
 
getDeclaredVariables() - Method in class bsh.NameSpace
 
getDeclaredVariables(Class<?>) - Static method in class bsh.Reflect
 
getDeclaringClass() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
getDefaultValue(Class<?>) - Static method in class bsh.Primitive
Get the appropriate default value per JLS 4.5.4
getDelegate() - Method in class bsh.org.objectweb.asm.AnnotationVisitor
The annotation visitor to which this visitor must delegate method calls.
getDelegate() - Method in class bsh.org.objectweb.asm.ClassVisitor
The class visitor to which this visitor must delegate method calls.
getDelegate() - Method in class bsh.org.objectweb.asm.FieldVisitor
The field visitor to which this visitor must delegate method calls.
getDelegate() - Method in class bsh.org.objectweb.asm.MethodVisitor
The method visitor to which this visitor must delegate method calls.
getDelegate() - Method in class bsh.org.objectweb.asm.ModuleVisitor
The module visitor to which this visitor must delegate method calls.
getDelegate() - Method in class bsh.org.objectweb.asm.RecordComponentVisitor
The record visitor to which this visitor must delegate method calls.
getDesc() - Method in class bsh.org.objectweb.asm.Handle
Returns the descriptor of the field or method designated by this handle.
getDescriptor() - Method in class bsh.org.objectweb.asm.ConstantDynamic
Returns the type of this constant.
getDescriptor() - Method in exception bsh.org.objectweb.asm.MethodTooLargeException
Returns the descriptor of the method.
getDescriptor() - Method in class bsh.org.objectweb.asm.Type
Returns the descriptor corresponding to this type.
getDescriptor(Class<?>) - Static method in class bsh.org.objectweb.asm.Type
Returns the descriptor corresponding to the given class.
getDimensions() - Method in class bsh.org.objectweb.asm.Type
Returns the number of dimensions of this array type.
getDir() - Method in class bsh.classpath.BshClassPath.DirClassSource
 
getDouble() - Method in class bsh.This.ConstructorArgs
 
getElementType() - Method in class bsh.org.objectweb.asm.Type
Returns the type of the elements of this array type.
getEndColumn() - Method in class bsh.JavaCharStream
Get the token ending character column number.
getEndLine() - Method in class bsh.JavaCharStream
Get the token ending character line number.
getEngineName() - Method in class bsh.engine.BshScriptEngineFactory
 
getEngineVersion() - Method in class bsh.engine.BshScriptEngineFactory
 
getEntryForKey(Object, Map.Entry[]) - Static method in class bsh.Reflect
 
getErr() - Method in interface bsh.ConsoleInterface
 
getErr() - Method in class bsh.Interpreter.Console
 
getErr() - Method in class bsh.Interpreter
 
getErr() - Method in class bsh.util.AWTConsole
 
getErr() - Method in class bsh.util.JConsole
 
getErrorLineNumber() - Method in exception bsh.EvalError
 
getErrorLineNumber() - Method in exception bsh.ParseException
 
getErrorSourceFile() - Method in exception bsh.EvalError
 
getErrorSourceFile() - Method in exception bsh.ParseException
Accessor method to retrieve source file info.
getErrorText() - Method in exception bsh.EvalError
 
getErrorText() - Method in exception bsh.ParseException
 
getEvalError() - Method in exception bsh.RuntimeEvalError
The script error, with its line, file and script stack.
getExceptionIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the exception, in a 'throws' clause of a method, whose type is referenced by this type reference.
getExisting(String) - Static method in class bsh.Capabilities
 
getExtensions() - Method in class bsh.engine.BshScriptEngineFactory
 
getFactory() - Method in class bsh.engine.BshScriptEngine
 
GETFIELD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
getFloat() - Method in class bsh.This.ConstructorArgs
 
getFormalParameterIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the formal parameter whose type is referenced by this type reference.
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.
getId() - Method in interface bsh.Node
Return the node type ID.
getId() - Method in class bsh.SimpleNode
Return the node type ID.
GetImage() - Method in class bsh.JavaCharStream
Get the token image.
getImportedMethod(String, Class<?>[]) - Method in class bsh.NameSpace
Gets the imported method.
getImportedVar(String) - Method in class bsh.NameSpace
Gets the imported var.
getIn() - Method in interface bsh.ConsoleInterface
 
getIn() - Method in class bsh.Interpreter.Console
 
getIn() - Method in class bsh.Interpreter
Console delegate methods.
getIn() - Method in class bsh.util.AWTConsole
 
getIn() - Method in class bsh.util.JConsole
 
getIndex(Object, int) - Static method in class bsh.BshArray
Get object from array or list at index.
getInputStream() - Method in class bsh.util.JConsole
 
getInt() - Method in class bsh.This.ConstructorArgs
 
getInterface(Class<T>) - Method in class bsh.engine.BshScriptEngine
Returns an implementation of an interface using procedures compiled in the interpreter.
getInterface(Object, Class<T>) - Method in class bsh.engine.BshScriptEngine
Returns an implementation of an interface using member functions of a scripting object compiled in the interpreter.
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 dynamic proxy for interface, caching those it creates.
getInterface(Class<?>[]) - Method in class bsh.This
Get dynamic proxy for interface, caching those it creates.
getInterfaces() - Method in class bsh.org.objectweb.asm.ClassReader
Returns the internal names of the implemented interfaces (see Type.getInternalName()).
getInternalName() - Method in class bsh.org.objectweb.asm.Type
Returns the internal name of the class corresponding to this object or array type.
getInternalName(Class<?>) - Static method in class bsh.org.objectweb.asm.Type
Returns the internal name of the given class.
getInterpreter() - Method in class bsh.engine.BshScriptEngine
 
getInvocationLine() - Method in class bsh.NameSpace
Gets the invocation line.
getInvocationText() - Method in class bsh.NameSpace
Gets the invocation text.
getItem(int) - Method in class bsh.org.objectweb.asm.ClassReader
Returns the start offset in this ClassReader of a JVMS 'cp_info' structure (i.e.
getItemCount() - Method in class bsh.org.objectweb.asm.ClassReader
Returns the number of entries in the class's constant pool table.
getLabels() - Method in class bsh.org.objectweb.asm.Attribute
Deprecated.
no longer used by ASM.
getLanguageName() - Method in class bsh.engine.BshScriptEngineFactory
 
getLanguageVersion() - Method in class bsh.engine.BshScriptEngineFactory
 
getLastParameterIndex() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
getLength() - Method in class bsh.org.objectweb.asm.TypePath
Returns the length of this path, i.e.
getLineNumber() - Method in interface bsh.Node
Get the line number of the starting token
getLineNumber() - Method in class bsh.SimpleNode
Get the line number of the starting token
getLong() - Method in class bsh.This.ConstructorArgs
 
getMap() - Method in class bsh.ExternalNameSpace
Get the map view of this namespace.
getMatchingNames(String, List<String>) - Method in class bsh.util.NameCompletionTable
Add any matching names to list (including any from other tables)
getMaxStringLength() - Method in class bsh.org.objectweb.asm.ClassReader
Returns a conservative estimate of the maximum length of the strings contained in the class's constant pool table.
getMessage() - Method in exception bsh.EvalError
Print the error with line number and stack trace.
getMessage() - Method in exception bsh.ParseException
 
getMessage(boolean) - Method in exception bsh.ParseException
 
getMessage() - Method in exception bsh.RuntimeEvalError
 
getMessage() - Method in exception bsh.TargetError
 
getMethod(String, Class<?>[]) - Method in class bsh.NameSpace
Gets the method.
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.
getMethod(Class<?>, String, Class<?>[]) - Static method in class bsh.Reflect
 
getMethod(Object, String, Class<?>[]) - Static method in class bsh.Reflect
 
getMethod(NameSpace, String, Class<?>[]) - Static method in class bsh.Reflect
 
getMethod(NameSpace, String, Class<?>[], boolean) - Static method in class bsh.Reflect
 
getMethodCallSyntax(String, String, String...) - Method in class bsh.engine.BshScriptEngineFactory
 
getMethodDescriptor() - Method in class bsh.Invocable
Retrieve a bytecode descriptor representation of the method.
getMethodDescriptor(Type, Type...) - Static method in class bsh.org.objectweb.asm.Type
Returns the descriptor corresponding to the given argument and return types.
getMethodDescriptor(Method) - Static method in class bsh.org.objectweb.asm.Type
Returns the descriptor corresponding to the given method.
getMethodHandle() - Method in class bsh.Invocable
Enables lazy initialize of MethodHandle lookup only once with reuse.
getMethodName() - Method in exception bsh.org.objectweb.asm.MethodTooLargeException
Returns the name of the method.
getMethodNames() - Method in class bsh.NameSpace
Get the names of methods declared in this namespace.
getMethodNames(NameSpace) - Static method in class bsh.Reflect
 
getMethods() - Method in class bsh.NameSpace
Get the methods defined in this namespace.
getMethods(Class<?>) - Static method in class bsh.Reflect
 
getMethods(Object) - Static method in class bsh.Reflect
 
getMethods(NameSpace) - Static method in class bsh.Reflect
 
getMethodType(String) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type corresponding to the given method descriptor.
getMethodType(Type, Type...) - Static method in class bsh.org.objectweb.asm.Type
Returns the method Type corresponding to the given argument and return types.
getMimeTypes() - Method in class bsh.engine.BshScriptEngineFactory
 
getModifiers() - Method in class bsh.BshMethod
 
getModifiers() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
getModifiers() - Method in class bsh.Modifiers
Retrieve the distinct bit definition of all applied modifiers.
getModifiers() - Method in class bsh.Variable
 
getName() - Method in class bsh.BSHAutoCloseable
 
getName() - Method in class bsh.BSHEnumConstant
 
getName() - Method in class bsh.BshMethod
 
getName() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
getName() - Method in class bsh.NameSpace
The name of this namespace.
getName() - Method in class bsh.org.objectweb.asm.ConstantDynamic
Returns the name of this constant.
getName() - Method in class bsh.org.objectweb.asm.Handle
Returns the name of the field or method designated by this handle.
getName() - Method in class bsh.Variable
 
getNames() - Method in class bsh.engine.BshScriptEngineFactory
 
getNameSourceListeners() - Method in class bsh.classpath.BshClassPath
Get the name source listeners list.
getNameSpace() - Method in class bsh.Interpreter
Retrieve the global namespace for this interpreter.
getNameSpace() - Method in class bsh.This
 
getNewInstance(Class<?>) - Static method in class bsh.Reflect
 
getObject() - Method in class bsh.This.ConstructorArgs
 
getObjectFieldValue(Object, String) - Static method in class bsh.Reflect
Check for a field with the given name in a java object or scripted object if the field exists fetch the value, if not check for a property value.
getObjectProperty(Object, String) - Static method in class bsh.Reflect
 
getObjectProperty(Object, Object) - Static method in class bsh.Reflect
 
getObjectType(String) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type corresponding to the given internal name.
getOffset() - Method in class bsh.org.objectweb.asm.Label
Returns the bytecode offset corresponding to this label.
getOpcode(int) - Method in class bsh.org.objectweb.asm.Type
Returns a JVM instruction opcode adapted to this Type.
getOut() - Method in interface bsh.ConsoleInterface
 
getOut() - Method in class bsh.Interpreter.Console
 
getOut() - Method in class bsh.Interpreter
 
getOut() - Method in class bsh.util.AWTConsole
 
getOut() - Method in class bsh.util.JConsole
 
getOutputStatement(String) - Method in class bsh.engine.BshScriptEngineFactory
 
getOwner() - Method in class bsh.org.objectweb.asm.Handle
Returns the internal name of the class that owns the field or method designated by this handle.
getPackagesSet() - Method in class bsh.classpath.BshClassPath
Get a list of all of the known packages
getParameter(String) - Method in class bsh.engine.BshScriptEngineFactory
 
getParameterCount() - Method in class bsh.BshMethod
 
getParameterModifiers() - Method in class bsh.BshMethod
 
getParameterNames() - Method in class bsh.BshMethod
 
getParameterTypes() - Method in class bsh.BshMethod
Get the argument types of this method.
getParameterTypes() - Method in class bsh.DelayedEvalBshMethod
 
getParamTypeDescriptors() - Method in class bsh.DelayedEvalBshMethod
 
getParamTypeDescriptors() - Method in class bsh.Invocable
Retrieve a bytecode descriptor representation of the parameter types.
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.
getProgram(String...) - Method in class bsh.engine.BshScriptEngineFactory
 
getRawMessage() - Method in exception bsh.EvalError
 
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
 
getReturnType() - Method in class bsh.org.objectweb.asm.Type
Returns the return type of methods of this type.
getReturnType(String) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type corresponding to the return type of the given method descriptor.
getReturnType(Method) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type corresponding to the return type of the given method.
getReturnTypeDescriptor() - Method in class bsh.DelayedEvalBshMethod
 
getReturnTypeDescriptor() - Method in class bsh.Invocable
Retrieve a bytecode descriptor representation of the return type.
getSaveClasses() - Static method in class bsh.Interpreter
 
getSaveClassesDir() - Static method in class bsh.Interpreter
 
getScriptEngine() - Method in class bsh.engine.BshScriptEngineFactory
 
getScriptStackTrace() - Method in exception bsh.EvalError
 
getShort() - Method in class bsh.This.ConstructorArgs
 
getShowResults() - Method in class bsh.Interpreter
Show on/off verbose printing status for the show() command.
getSize() - Method in class bsh.org.objectweb.asm.ConstantDynamic
Returns the size of this constant.
getSize() - Method in class bsh.org.objectweb.asm.Type
Returns the size of values of this type.
getSort() - Method in class bsh.org.objectweb.asm.Type
Returns the sort of this type.
getSort() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the sort of this type reference.
getSourceFile() - Method in interface bsh.Node
Get the name of the source file (or more generally source) of the text from which this node was parsed.
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.
GETSTATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
getStaticFieldValue(Class<?>, String) - Static method in class bsh.Reflect
 
getStep(int) - Method in class bsh.org.objectweb.asm.TypePath
Returns the value of the given step of this path.
getStepArgument(int) - Method in class bsh.org.objectweb.asm.TypePath
Returns the index of the type argument that the given step is stepping into.
getStrictJava() - Method in class bsh.BshClassManager
 
getStrictJava() - Method in class bsh.Interpreter
 
GetSuffix(int) - Method in class bsh.JavaCharStream
Get the suffix.
getSuper(Interpreter) - Method in class bsh.NameSpace
Get the parent namespace' This reference or this namespace' This reference if we are the top.
getSuperName() - Method in class bsh.org.objectweb.asm.ClassReader
Returns the internal name of the super class (see Type.getInternalName()).
getSuperTypeIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the "super type" of a class that is referenced by this type reference.
getTabSize() - Method in class bsh.JavaCharStream
 
getTag() - Method in class bsh.org.objectweb.asm.Handle
Returns the kind of field or method designated by this handle.
getTarget() - Method in exception bsh.TargetError
 
getTargetClass() - Method in class bsh.ClassIdentifier
 
getText() - Method in interface bsh.Node
Get the text of the tokens comprising this node.
getText() - Method in class bsh.SimpleNode
Get the text of the tokens comprising this node.
getThis(Interpreter) - Method in class bsh.NameSpace
A This object is a thin layer over a namespace, comprising a bsh object context.
getThisNS(Class<?>) - Static method in class bsh.Reflect
 
getThisNS(Object) - Static method in class bsh.Reflect
 
getTryCatchBlockIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the try catch block (using the order in which they are visited with visitTryCatchBlock), whose 'catch' type is referenced by this type reference.
getType() - Method in class bsh.BSHAutoCloseable
 
getType() - Method in class bsh.BSHEnumConstant
 
getType(String) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type corresponding to the given type descriptor.
getType(Class<?>) - Static method in class bsh.org.objectweb.asm.Type
Returns the Type corresponding to the given class.
getType(Constructor<?>) - Static method in class bsh.org.objectweb.asm.Type
Returns the method Type corresponding to the given constructor.
getType(Method) - Static method in class bsh.org.objectweb.asm.Type
Returns the method Type corresponding to the given method.
getType() - Method in class bsh.Primitive
Get the corresponding Java primitive TYPE class for this Primitive.
getType(Object) - Static method in class bsh.Reflect
Find the type of an object.
getType() - Method in class bsh.Variable
 
getTypeArgumentIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the type argument referenced by this type reference.
getTypeDescriptor() - Method in class bsh.Variable
 
getTypeParameterBoundIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the type parameter bound, within the type parameter TypeReference.getTypeParameterIndex(), referenced by this type reference.
getTypeParameterIndex() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the index of the type parameter referenced by this type reference.
getTypes() - Method in class bsh.BSHMultiCatch
 
getUnqNameTable() - Method in class bsh.classpath.BshClassPath
Get the unqualified name table.
getURL() - Method in class bsh.classpath.BshClassPath.JarClassSource
 
getURL() - Method in class bsh.classpath.BshClassPath.JrtClassSource
 
getUserClassPath() - Static method in class bsh.classpath.BshClassPath
 
getUserClassPathComponents() - Static method in class bsh.classpath.BshClassPath
 
getValue() - Method in class bsh.org.objectweb.asm.TypeReference
Returns the int encoded value of this type reference, suitable for use in visit methods related to type annotations, like visitTypeAnnotation.
getValue() - Method in class bsh.Primitive
Return the primitive value stored in its java.lang wrapper class
getValue() - Method in class bsh.Token
An optional attribute value of the Token.
Tokens which are not used as syntactic sugar will often contain meaningful values that will be used later on by the compiler or interpreter.
This attribute value is often different from the image.
Any subclass of Token that actually wants to return a non-null value can override this method as appropriate.
getVarArgsComponentType() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
getVarArgsType() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
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.
getVariable(Class<?>, String) - Static method in class bsh.Reflect
 
getVariable(Object, String) - Static method in class bsh.Reflect
 
getVariable(NameSpace, String) - Static method in class bsh.Reflect
 
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.
getVariableNames(NameSpace) - Static method in class bsh.Reflect
 
getVariableOrProperty(String, Interpreter) - Method in class bsh.NameSpace
Get the specified variable or property in this namespace or a parent namespace.
getVariables() - Method in class bsh.NameSpace
Get the variables defined in this namespace.
getVariables(Class<?>) - Static method in class bsh.Reflect
 
getVariables(Object) - Static method in class bsh.Reflect
 
getVariables(NameSpace) - Static method in class bsh.Reflect
 
getVariables(NameSpace, String[]) - Static method in class bsh.Reflect
 
GOTO - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
GUIConsoleInterface - Interface in bsh.util
Additional capabilities of an interactive console for BeanShell.

H

H_GETFIELD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_GETSTATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_INVOKEINTERFACE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_INVOKESPECIAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_INVOKESTATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_INVOKEVIRTUAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_NEWINVOKESPECIAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_PUTFIELD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
H_PUTSTATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
Handle - Class in bsh.org.objectweb.asm
A reference to a field or a method.
Handle(int, String, String, String) - Constructor for class bsh.org.objectweb.asm.Handle
Deprecated.
this constructor has been superseded by Handle(int, String, String, String, boolean).
Handle(int, String, String, String, boolean) - Constructor for class bsh.org.objectweb.asm.Handle
Constructs a new field or method handle.
hasArguments(CallStack, Interpreter) - Method in class bsh.BSHEnumConstant
 
hasFlags(int) - Method in class bsh.org.objectweb.asm.ClassWriter
Returns true if all the given flags were passed to the constructor.
hashCode() - Method in class bsh.BshMethod
 
hashCode() - Method in class bsh.DelayedEvalBshMethod
 
hashCode() - Method in class bsh.Invocable
hashCode() - Method in class bsh.org.objectweb.asm.ConstantDynamic
 
hashCode() - Method in class bsh.org.objectweb.asm.Handle
 
hashCode() - Method in class bsh.org.objectweb.asm.Type
Returns a hash code value for this type.
hashCode() - Method in class bsh.Primitive
The hash of the Primitive is tied to the hash of the wrapped value but shifted so that they are not the same.
hasModifier(String) - Method in class bsh.BshMethod
 
hasModifier(String) - Method in class bsh.Modifiers
Query whether the modifier has been applied.
hasModifier(int) - Method in class bsh.Modifiers
Query whether the modifier has been applied.
hasModifier(String, int) - Static method in class bsh.Reflect
 
hasModifier(String) - Method in class bsh.Variable
 
hasNext() - Method in class bsh.SimpleNode
hasObjectPropertyGetter(Class<?>, String) - Static method in class bsh.Reflect
 
hasObjectPropertySetter(Class<?>, String) - Static method in class bsh.Reflect
 
hasPrevious() - Method in class bsh.SimpleNode
hasSuperImport() - Method in class bsh.BshClassManager
A "super import" ("import *") operation has been performed.
hasSuperImport() - Method in class bsh.classpath.ClassManagerImpl
 
haveAccessibility() - Static method in class bsh.Capabilities
If accessibility is enabled determine if the accessibility mechanism exists and if we have the optional bsh package to use it.
haveSwing() - Static method in class bsh.Capabilities
 
header - Variable in class bsh.org.objectweb.asm.ClassReader
The offset in bytes of the ClassFile's access_flags field.

I

I2B - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
I2C - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
I2D - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
I2F - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
I2L - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
I2S - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IADD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IAND - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_0 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_3 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_4 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_5 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ICONST_M1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
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.
IDIV - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ACMPEQ - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ACMPNE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ICMPEQ - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ICMPGE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ICMPGT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ICMPLE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ICMPLT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IF_ICMPNE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFEQ - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFGE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFGT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFLE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFLT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFNE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFNONNULL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IFNULL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IINC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ILOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
image - Variable in class bsh.Token
The string image of the token.
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.
importedClasses - Variable in class bsh.NameSpace
The imported classes.
importObject(Object) - Method in class bsh.NameSpace
Import a compiled Java object's methods and variables into this namespace.
importPackage(String) - Method in class bsh.NameSpace
subsequent imports override earlier ones.
importStatic(Class<?>) - Method in class bsh.NameSpace
Import static.
IMUL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
inBuf - Variable in class bsh.JavaCharStream
 
INEG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
info - Variable in class bsh.org.objectweb.asm.Label
A user managed state associated with this label.
init() - Method in class bsh.util.ClassBrowser
 
initInstance(GeneratedClass, Class<?>, Object[]) - Static method in class bsh.This
Initialize an instance of the class.
initStatic(Class<?>) - Static method in class bsh.This
Lazy initialize static context implementation.
initStaticNameSpace(NameSpace, BSHBlock) - Method in class bsh.ClassGeneratorUtil
This method provides a hook for the class generator implementation to store additional information in the class's bsh static namespace.
inNativeCode() - Method in exception bsh.TargetError
Return true if the TargetError was generated from native code.
INNER_TYPE - Static variable in class bsh.org.objectweb.asm.TypePath
A type path step that steps into the nested type of a class type.
inputStream - Variable in class bsh.JavaCharStream
 
instance() - Static method in class bsh.classpath.DiscreteFilesClassLoader
 
INSTANCEOF - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
INSTANCEOF - Static variable in class bsh.org.objectweb.asm.signature.SignatureVisitor
Wildcard for a normal type argument.
INSTANCEOF - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type declared in an 'instanceof' instruction.
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
This is the top level classpath component.
INT - Static variable in class bsh.org.objectweb.asm.Type
The sort of the int type.
INT_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The int type.
INTEGER - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
interactive - Variable in class bsh.Interpreter
 
INTERFACE - Static variable in class bsh.Modifiers
 
internStrings - Static variable in class bsh.BSHLiteral
 
Interpreter - Class in bsh
The BeanShell script interpreter.
Interpreter(ConsoleAssignable, boolean, NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
The main constructor, all other constructors should pass through here.
Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
Wraps individual input output streams as a console collection.
Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace) - Constructor for class bsh.Interpreter
Interpreter instance without a parent interpreter and source file.
Interpreter(Reader, PrintStream, PrintStream, boolean) - Constructor for class bsh.Interpreter
Interpreter instance without a namespace, parent and source file.
Interpreter(ConsoleInterface, NameSpace, Interpreter) - Constructor for class bsh.Interpreter
An interactive interpreter attached to the specified console.
Interpreter(ConsoleInterface, Interpreter) - Constructor for class bsh.Interpreter
An interactive interpreter attached to a console using parent namesepace.
Interpreter(ConsoleInterface, NameSpace) - Constructor for class bsh.Interpreter
An interactive interpreter attached to a console with supplied namespace.
Interpreter(ConsoleInterface) - Constructor for class bsh.Interpreter
An interactive interpreter attached to a console, no namespace or parent.
Interpreter() - Constructor for class bsh.Interpreter
A non interactive interpreter for evaluation purposes only.
Interpreter(NameSpace) - Constructor for class bsh.Interpreter
A non interactive interpreter for namespace.
Interpreter(NameSpace, String) - Constructor for class bsh.Interpreter
A non interactive interpreter for namespace and source file.
Interpreter(NameSpace, Interpreter) - Constructor for class bsh.Interpreter
A non interactive interpreter for namespace and parent.
Interpreter(NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
A non interactive interpreter for namespace, parent and source file.
Interpreter(Interpreter) - Constructor for class bsh.Interpreter
Extend existing interpreter.
Interpreter.Console - Class in bsh
 
InterpreterError - Exception in bsh
An internal error in the interpreter has occurred.
InterpreterError(String) - Constructor for exception bsh.InterpreterError
 
InterpreterError(String, Throwable) - Constructor for exception bsh.InterpreterError
 
Invocable - Class in bsh
MethodHandle wrappers to represent invocable members.
invoke(Object[], Class<T>, Class<?>[]) - Method in class bsh.BshLambda
Called by generated wrappers; public because they live in another class loader.
invoke(Object[], Interpreter) - Method in class bsh.BshMethod
Invoke the declared method with the specified arguments and interpreter reference.
invoke(Object[], Interpreter, CallStack, Node) - Method in class bsh.BshMethod
Invoke the bsh method with the specified args, interpreter ref, and callstack.
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.
invoke(Object, Object...) - Method in class bsh.Invocable
Abstraction to cleanly apply the primitive result wrapping.
invoke(Map<String, ?>) - Method in class bsh.PreparsedScript
Invoke the prepared script with the supplied arguments exposed.
invokeCommand(String, Object[], Interpreter, CallStack, Node) - Method in class bsh.NameSpace
Invoke an imported command scoped by namespace hierarchy.
invokeCommand(String, Object[], Interpreter, CallStack, Node, boolean) - Method in class bsh.NameSpace
Invoke an imported command scoped by namespace hierarchy.
invokeCompiledCommand(Class<?>, Object[], Interpreter, CallStack, Node) - 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.
invokeDefaultInvokeMethod(String, Object[], Interpreter, CallStack, Node, boolean[]) - Method in class bsh.NameSpace
Invoke the default invoke method if found in the namespace, Updates the outHasMethod array index 0 by reference, if false then method was not found and the return result is meaningless.
INVOKEDYNAMIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
invokeFunction(String, Object...) - Method in class bsh.engine.BshScriptEngine
Same as invoke(Object, String, Object...) with null as the first argument.
INVOKEINTERFACE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
invokeMain(Class<?>, String[]) - Static method in class bsh.Interpreter
Convenience method for invoking the main method of a class.
invokeMethod(Object, String, Object...) - Method in class bsh.engine.BshScriptEngine
Calls a procedure compiled during a previous script execution, which is retained in the state of the {@code ScriptEngine{@code .
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, Node) - 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[], boolean) - Method in class bsh.This
Simplified method for class generated method stubs.
invokeMethod(String, Class<?>[], Object[], boolean) - Method in class bsh.This
Class generated method stub entry that selects the scripted method by the stub's own parameter types rather than the argument values.
invokeMethod(String, Object[], Interpreter, CallStack, Node, 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, Node) - Static method in class bsh.Reflect
Invoke method on arbitrary object instance.
INVOKESPECIAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
INVOKESTATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
invokeStaticMethod(BshClassManager, Class<?>, String, Object[], Node) - Static method in class bsh.Reflect
Invoke a method known to be static.
invokeSuperclassMethod(BshClassManager, Object, Class<?>, String, Object[]) - Method in class bsh.ClassGenerator
Invoke a super.method() style superclass method on an object instance.
invokeSuperclassMethodImpl(BshClassManager, Object, Class<?>, String, Object[]) - Static method in class bsh.ClassGenerator
Find and invoke the super class delegate method.
INVOKEVIRTUAL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IOR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IREM - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IRETURN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
isAppliedContext(int) - Method in class bsh.Modifiers
Verify whether the expected application context is configured.
isArchiveFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isChildOf(NameSpace) - Method in class bsh.NameSpace
Check if this namespace is a child of the given namespace.
isClassFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isCodeAttribute() - Method in class bsh.org.objectweb.asm.Attribute
Returns true if this type of attribute is a Code attribute.
isEmpty() - Method in class bsh.engine.ScriptContextEngineView
Returns true if no bindings are present in any scope of the context.
isFinal - Variable in class bsh.BSHMultiCatch
 
isFinal() - Method in class bsh.BSHMultiCatch
 
isGeneratedClass(Class<?>) - Static method in class bsh.Reflect
 
isGetter() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
ISHL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ISHR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
isInnerClass() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
isInterface() - Method in class bsh.org.objectweb.asm.Handle
Returns true if the owner of the field or method designated by this handle is an interface.
isMapsInitialized() - Method in class bsh.classpath.BshClassPath
Whether map is initialized.
isNameCompletionIncludesUnqNames() - Method in class bsh.classpath.BshClassPath
Whether name completion includes unqualified names.
isNumber() - Method in class bsh.Primitive
Determine if this primitive is a numeric type.
isPackageAccessible(Class<?>) - Static method in class bsh.Reflect
 
isPackageScope(Class<?>) - Static method in class bsh.Reflect
 
isSetter() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
isStatic() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
isStatic(Member) - Static method in class bsh.Reflect
 
isStatic(Class<?>) - Static method in class bsh.Reflect
 
isSynthetic() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
ISTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ISUB - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
isUnknown() - Method in class bsh.org.objectweb.asm.Attribute
Returns true if this type of attribute is unknown.
isUntyped() - Method in class bsh.BSHMultiCatch
 
isVarArgs - Variable in class bsh.BshMethod
 
isVarArgs() - Method in class bsh.BshMethod
 
isVarArgs() - Method in class bsh.Invocable
provides default constructs for an invocable member prototype.
isWrapperType(Class<?>) - Static method in class bsh.Primitive
 
IUSHR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
IXOR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 

J

JavaCharStream - Class in bsh
The implementation (but not declared as such) of the interface CharStream generated by Javacc/java (by JavaCodeGenerator.java & JavaTemplates.java with java/JavaCharStream.template) 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
Constructor on Reader.
JavaCharStream(Reader, int, int) - Constructor for class bsh.JavaCharStream
Constructor on Reader.
JavaCharStream(Reader) - Constructor for class bsh.JavaCharStream
Constructor on Reader.
JavaCharStream(InputStream, String, int, int, int) - Constructor for class bsh.JavaCharStream
Constructor on InputStream.
JavaCharStream(InputStream, int, int, int) - Constructor for class bsh.JavaCharStream
Constructor on InputStream.
JavaCharStream(InputStream, String, int, int) - Constructor for class bsh.JavaCharStream
Constructor on InputStream.
JavaCharStream(InputStream, int, int) - Constructor for class bsh.JavaCharStream
Constructor on InputStream.
JavaCharStream(InputStream, String) - Constructor for class bsh.JavaCharStream
Constructor on InputStream.
JavaCharStream(InputStream) - Constructor for class bsh.JavaCharStream
Constructor on InputStream.
JAVACODE - Static variable in class bsh.NameSpace
The Constant JAVACODE.
JAVACODE - Static variable in interface bsh.Node
 
JConsole - Class in bsh.util
A JFC/Swing based console for the BeanShell desktop.
JConsole() - Constructor for class bsh.util.JConsole
 
JConsole(InputStream, OutputStream) - Constructor for class bsh.util.JConsole
 
JConsole.BlockingPipedInputStream - Class in bsh.util
The overridden read method in this class will not throw "Broken pipe" IOExceptions; It will simply wait for new writers and data.
JDemoApplet - Class in bsh.util
Run bsh as an applet for demo purposes.
JDemoApplet(String) - Constructor for class bsh.util.JDemoApplet
 
jjtAddChild(Node, int) - Method in interface bsh.Node
Add argument to the list of children.
jjtAddChild(Node, int) - Method in class bsh.SimpleNode
Add argument to the list of children.
jjtClose() - Method in interface bsh.Node
Called after all the child nodes have been added.
jjtClose() - Method in class bsh.SimpleNode
Called after all the child nodes have been added.
jjtGetChild(int) - Method in interface bsh.Node
Returns the child node at the given index.
jjtGetChild(int) - Method in class bsh.SimpleNode
Returns the child node at the given index.
jjtGetChildren() - Method in interface bsh.Node
Return the list of child nodes..
jjtGetChildren() - Method in class bsh.SimpleNode
Return the list of child nodes..
jjtGetNumChildren() - Method in interface bsh.Node
Return the number of children the node has.
jjtGetNumChildren() - Method in class bsh.SimpleNode
Return the number of children the node has.
jjtGetParent() - Method in interface bsh.Node
Return node parent.
jjtGetParent() - Method in class bsh.SimpleNode
Return node parent.
jjtOpen() - Method in interface bsh.Node
Called after the node has been made the current node.
jjtOpen() - Method in class bsh.SimpleNode
Called after the node has been made the current node.
jjtSetParent(Node) - Method in interface bsh.Node
Inform the node of its parent.
jjtSetParent(Node) - Method in class bsh.SimpleNode
Inform the node of its parent.
JSR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 

K

keyPressed(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyPressed(KeyEvent) - Method in class bsh.util.JConsole
 
keyReleased(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyReleased(KeyEvent) - Method in class bsh.util.JConsole
 
keySet() - Method in class bsh.engine.ScriptContextEngineView
Returns the total key set of all scopes.
keyTyped(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyTyped(KeyEvent) - Method in class bsh.util.JConsole
 
kind - Variable in class bsh.Token
An integer that describes the kind of this token, determined by JavaCC.
An array of these numbers is stored in the interface ParserConstants.java.

L

L2D - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
L2F - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
L2I - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
Label - Class in bsh.org.objectweb.asm
A position in the bytecode of a method.
Label() - Constructor for class bsh.org.objectweb.asm.Label
Constructs a new label.
LADD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LAND - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
lastParameterIndex - Variable in class bsh.Invocable
 
LCMP - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LCONST_0 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LCONST_1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LDC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LDIV - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
line - Variable in class bsh.JavaCharStream
 
LLOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LMUL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LNEG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
loadClass(String, boolean) - Method in class bsh.classpath.BshClassLoader
This modification allows us to reload classes which are in the Java VM user classpath.
loadDefaultImports() - Method in class bsh.NameSpace
Import standard packages.
loadSourceClass(String) - Method in class bsh.BshClassManager
 
LOCAL_VARIABLE - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of a local variable in a method.
location - Variable in exception bsh.ParseException
The grammar expansion in which the error arose.
LONG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LONG - Static variable in class bsh.org.objectweb.asm.Type
The sort of the long type.
LONG_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The long type.
LOOKUPSWITCH - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LOR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LREM - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LRETURN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LSHL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LSHR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LSTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LSUB - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LUSHR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
LXOR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 

M

main(String[]) - Static method in class bsh.CommandLineReader
 
main(String[]) - Static method in class bsh.Console
 
main(String[]) - Static method in class bsh.Interpreter
Interactive interpreter command line execution.
main(String[]) - Static method in class bsh.util.AWTConsole
 
main(String[]) - Static method in class bsh.util.AWTDemoApplet
 
main(String[]) - Static method in class bsh.util.ClassBrowser
 
main(String[]) - Static method in class bsh.util.JDemoApplet
 
mainSecurityGuard - Static variable in class bsh.Interpreter
It's the main security guard used by all instances of the Interpreter to prevent the execution of dangerous code
MainSecurityGuard - Class in bsh.security
It's the "main" SecurityGuard that must be used to real validate something.
MainSecurityGuard() - Constructor for class bsh.security.MainSecurityGuard
 
maxCommonPrefix(String, String) - Static method in class bsh.StringUtil
Count region matches.
maxNextCharInd - Variable in class bsh.JavaCharStream
 
METHOD - Static variable in class bsh.Modifiers
 
METHOD - Static variable in class bsh.org.objectweb.asm.Type
The sort of method types.
METHOD_FORMAL_PARAMETER - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of a formal parameter of a method.
METHOD_INVOCATION_TYPE_ARGUMENT - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a type parameter of a generic method in a method call.
METHOD_RECEIVER - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the receiver type of a method.
METHOD_REFERENCE - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the receiver type of a method reference.
METHOD_REFERENCE_TYPE_ARGUMENT - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a type parameter of a generic method in a method reference.
METHOD_RETURN - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the return type of a method.
METHOD_TYPE_PARAMETER - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a type parameter of a generic method.
METHOD_TYPE_PARAMETER_BOUND - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target a bound of a type parameter of a generic method.
methodBody - Variable in class bsh.BshMethod
 
methodString(String, Object[]) - Static method in class bsh.StringUtil
Produce a method string from supplied value args.
methodString(String, String[]) - Static method in class bsh.StringUtil
Produce a simple string representation of a method name with args.
methodString(String, Class<?>[]) - Static method in class bsh.StringUtil
Produce a simple string representation of a method name with args.
methodString(String, Class<?>[], String[]) - Static method in class bsh.StringUtil
Produce a simple string representation of a method name with args.
methodString(Method) - Static method in class bsh.StringUtil
Produce a complete string representation of a reflect method.
methodString(BshMethod) - Static method in class bsh.StringUtil
Produce a complete string representation of a bsh method.
MethodTooLargeException - Exception in bsh.org.objectweb.asm
Exception thrown when the Code attribute of a method produced by a ClassWriter is too large.
MethodTooLargeException(String, String, String, int) - Constructor for exception bsh.org.objectweb.asm.MethodTooLargeException
Constructs a new MethodTooLargeException.
methodType() - Method in class bsh.Invocable
Retrieve a method type from return type a parameter type signatures.
MethodVisitor - Class in bsh.org.objectweb.asm
A visitor to visit a Java method.
MethodVisitor(int) - Constructor for class bsh.org.objectweb.asm.MethodVisitor
Constructs a new MethodVisitor.
MethodVisitor(int, MethodVisitor) - Constructor for class bsh.org.objectweb.asm.MethodVisitor
Constructs a new MethodVisitor.
Modifiers - Class in bsh
Bsh equivalent and compatible, for the most part, with JAVA's Modifiers.
Modifiers(int) - Constructor for class bsh.Modifiers
Default constructor specifying the context these modifiers apply to.
ModuleVisitor - Class in bsh.org.objectweb.asm
A visitor to visit a Java module.
ModuleVisitor(int) - Constructor for class bsh.org.objectweb.asm.ModuleVisitor
Constructs a new ModuleVisitor.
ModuleVisitor(int, ModuleVisitor) - Constructor for class bsh.org.objectweb.asm.ModuleVisitor
Constructs a new ModuleVisitor.
MONITORENTER - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
MONITOREXIT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
mouseClicked(MouseEvent) - Method in class bsh.util.JConsole
 
mouseEntered(MouseEvent) - Method in class bsh.util.JConsole
 
mouseExited(MouseEvent) - Method in class bsh.util.JConsole
 
mousePressed(MouseEvent) - Method in class bsh.util.JConsole
 
mouseReleased(MouseEvent) - Method in class bsh.util.JConsole
 
MULTIANEWARRAY - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
mv - Variable in class bsh.org.objectweb.asm.MethodVisitor
The method visitor to which this visitor must delegate method calls.
mv - Variable in class bsh.org.objectweb.asm.ModuleVisitor
The module visitor to which this visitor must delegate method calls.

N

name - Variable in class bsh.BSHAutoCloseable
 
name - Variable in class bsh.BSHMultiCatch
 
NameCompletion - Interface in bsh.util
The interface for name completion.
NameCompletionTable - Class in bsh.util
NameCompletionTable is a utility that implements simple name completion for a collection of names, NameSources, and other NameCompletionTables.
NameCompletionTable() - Constructor for class bsh.util.NameCompletionTable
 
NameSource - Interface in bsh
This interface supports name completion, which is used primarily for command line tools, etc.
NameSource.Listener - Interface in bsh
 
nameSourceChanged(NameSource) - Method in interface bsh.NameSource.Listener
 
NameSpace - Class in bsh
A namespace in which methods, variables, and imports (class names) live.
NameSpace(NameSpace, String) - Constructor for class bsh.NameSpace
Instantiates a new name space.
NameSpace(String) - Constructor for class bsh.NameSpace
Instantiates a new name space for name.
NameSpace(String, BshClassManager) - Constructor for class bsh.NameSpace
Instantiates a new name space for name with class manager.
NameSpace(NameSpace, BshClassManager, String) - Constructor for class bsh.NameSpace
Instantiates a new name space.
nameSpaceChanged() - Method in class bsh.NameSpace
Clear all cached classes and names.
NEW - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
NEW - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of the object created by a 'new' instruction.
NEWARRAY - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
newClass(String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a class reference to the constant pool of the class being build.
newConst(Object) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a number or string constant to the constant pool of the class being build.
newConstantDynamic(String, String, Handle, Object...) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a dynamic constant reference to the constant pool of the class being build.
newExceptionReference(int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to the type of an exception, in a 'throws' clause of a method.
newField(String, String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a field reference to the constant pool of the class being build.
newFormalParameterReference(int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to the type of a formal parameter of a method.
newHandle(int, String, String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
Deprecated.
newHandle(int, String, String, String, boolean) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a handle to the constant pool of the class being build.
newInstance(BshClassManager, DiscreteFilesClassLoader.ClassSourceMap) - Static method in class bsh.classpath.DiscreteFilesClassLoader
 
newInvokeDynamic(String, String, Handle, Object...) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds an invokedynamic reference to the constant pool of the class being build.
newMethod(String, String, String, boolean) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a method reference to the constant pool of the class being build.
newMethodType(String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a method type reference to the constant pool of the class being build.
newModule(String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a module reference to the constant pool of the class being build.
newNameType(String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a name and type to the constant pool of the class being build.
newPackage(String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds a package reference to the constant pool of the class being build.
newSuperTypeReference(int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to the super class or to an interface of the 'implements' clause of a class.
newToken(int, String) - Static method in class bsh.Token
Returns a new Token object, by default.
newToken(int) - Static method in class bsh.Token
 
newTryCatchReference(int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to the type of the exception declared in a 'catch' clause of a method.
newTypeArgumentReference(int, int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to the type of a type argument in a constructor or method call or reference.
newTypeParameterBoundReference(int, int, int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to a type parameter bound of a generic class or method.
newTypeParameterReference(int, int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a reference to a type parameter of a generic class or method.
newTypeReference(int) - Static method in class bsh.org.objectweb.asm.TypeReference
Returns a type reference of the given sort.
newUTF8(String) - Method in class bsh.org.objectweb.asm.ClassWriter
Adds an UTF8 string to the constant pool of the class being build.
next() - Method in class bsh.SimpleNode
next - Variable in class bsh.Token
A reference to the next regular (non-special) token from the input stream.
If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null.
This is true only if this token is also a regular token.
Otherwise, see below for a description of the contents of this field.
nextCharBuf - Variable in class bsh.JavaCharStream
 
nextCharInd - Variable in class bsh.JavaCharStream
 
nextIndex() - Method in class bsh.SimpleNode
Node - Interface in bsh
 
NOP - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
NULL - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
NULL - Static variable in class bsh.Primitive
 
numberValue() - Method in class bsh.Primitive
 

O

OBJECT - Static variable in class bsh.org.objectweb.asm.Type
The sort of object reference types.
Opcodes - Interface in bsh.org.objectweb.asm
The JVM opcodes, access flags and array type codes.

P

paintComponent(Graphics) - Method in class bsh.util.BshCanvas
 
PARAMETER - Static variable in class bsh.Modifiers
 
parameters - Variable in class bsh.Invocable
 
parent - Variable in class bsh.SimpleNode
 
ParseException - Exception in bsh
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[][], String[], String) - Constructor for exception bsh.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception bsh.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception bsh.ParseException
Constructor with message.
ParseException(String, Throwable) - Constructor for exception bsh.ParseException
 
parser - Variable in class bsh.SimpleNode
 
pathToFile(String) - Method in class bsh.Interpreter
Localize a path to the file name based on the bsh.cwd interpreter working directory.
plainClassForName(String) - Method in class bsh.BshClassManager
Perform a plain Class.forName() or call the externally provided classloader.
pop() - Method in class bsh.CallStack
 
POP - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
POP2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
PreparsedScript - Class in bsh
With this class the script source is only parsed once and the resulting AST is used for every invocation.
PreparsedScript(String) - Constructor for class bsh.PreparsedScript
Constructor without a supplied class loader.
PreparsedScript(String, ClassLoader) - Constructor for class bsh.PreparsedScript
Instance of a prepared script for the supplied source and class loader.
prependMessage(String) - Method in exception bsh.EvalError
Prepend the message if it is non-null.
prevCharIsCR - Variable in class bsh.JavaCharStream
 
prevCharIsLF - Variable in class bsh.JavaCharStream
 
previous() - Method in class bsh.SimpleNode
previousIndex() - Method in class bsh.SimpleNode
Primitive - Class in bsh
Wrapper for primitive types in Bsh.
Primitive(boolean) - Constructor for class bsh.Primitive
 
Primitive(byte) - Constructor for class bsh.Primitive
 
Primitive(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
 
Primitive(BigInteger) - Constructor for class bsh.Primitive
 
Primitive(BigDecimal) - Constructor for class bsh.Primitive
 
print(Object) - Method in interface bsh.ConsoleInterface
 
print(Object) - Method in class bsh.Interpreter.Console
 
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
 
println(Object) - Method in interface bsh.ConsoleInterface
 
println(Object) - Method in class bsh.Interpreter.Console
 
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
 
printStackTrace(boolean, PrintStream) - Method in exception bsh.TargetError
 
prompt(String) - Method in interface bsh.ConsoleInterface
 
prompt(String) - Method in class bsh.Interpreter.Console
 
propertyChange(PropertyChangeEvent) - Method in class bsh.util.JConsole
 
prune() - Method in class bsh.NameSpace
Used for serialization.
pullBshStatic(String) - Static method in class bsh.This
Pull provider for class static This.
push(NameSpace) - Method in class bsh.CallStack
 
put(String, BshClassPath.ClassSource) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
put(String, Object) - Method in class bsh.engine.ScriptContextEngineView
Set the key, value binding in the scope where the key is found, or in the ENGINE_SCOPE if the key is not found.
putAll(Map<? extends String, ? extends Object>) - Method in class bsh.engine.ScriptContextEngineView
Put the bindings into the ENGINE_SCOPE of the context.
putByte(int) - Method in class bsh.org.objectweb.asm.ByteVector
Puts a byte into this byte vector.
putByteArray(byte[], int, int) - Method in class bsh.org.objectweb.asm.ByteVector
Puts an array of bytes into this byte vector.
PUTFIELD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
putInt(int) - Method in class bsh.org.objectweb.asm.ByteVector
Puts an int into this byte vector.
putLong(long) - Method in class bsh.org.objectweb.asm.ByteVector
Puts a long into this byte vector.
putShort(int) - Method in class bsh.org.objectweb.asm.ByteVector
Puts a short into this byte vector.
PUTSTATIC - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
putUTF8(String) - Method in class bsh.org.objectweb.asm.ByteVector
Puts an UTF8 string into this byte vector.

R

read() - Method in class bsh.CommandLineReader
 
read(char[], int, int) - Method in class bsh.CommandLineReader
This is a degenerate implementation.
read(ClassReader, int, int, char[], int, Label[]) - Method in class bsh.org.objectweb.asm.Attribute
Reads a Attribute.type attribute.
read(Attribute, ClassReader, int, int, char[], int, Label[]) - Static method in class bsh.org.objectweb.asm.Attribute
Reads an attribute with the same Attribute.type as the given attribute.
read() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
ReadByte() - Method in class bsh.JavaCharStream
 
readByte(int) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a byte value in this ClassReader.
readBytecodeInstructionOffset(int) - Method in class bsh.org.objectweb.asm.ClassReader
Handles the bytecode offset of the next instruction to be visited in ClassReader.accept(ClassVisitor,int).
readBytes(int, int) - Method in class bsh.org.objectweb.asm.ClassReader
Reads several bytes in this ClassReader.
readBytesFromFile(File, String) - Static method in class bsh.classpath.BshClassPath.DirClassSource
 
readChar() - Method in class bsh.JavaCharStream
Read a character.
readClass(int, char[]) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a CONSTANT_Class constant pool entry in this ClassReader.
readConst(int, char[]) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a numeric or string constant pool entry in this ClassReader.
readInt(int) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a signed int value in this ClassReader.
readLabel(ClassReader, int, Label[]) - Static method in class bsh.org.objectweb.asm.Attribute
Returns the label corresponding to the given bytecode offset by calling ClassReader.readLabel(int, bsh.org.objectweb.asm.Label[]).
readLabel(int, Label[]) - Method in class bsh.org.objectweb.asm.ClassReader
Returns the label corresponding to the given bytecode offset.
readLong(int) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a signed long value in this ClassReader.
readModule(int, char[]) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a CONSTANT_Module constant pool entry in this ClassReader.
readPackage(int, char[]) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a CONSTANT_Package constant pool entry in this ClassReader.
readShort(int) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a signed short value in this ClassReader.
readUnsignedShort(int) - Method in class bsh.org.objectweb.asm.ClassReader
Reads an unsigned short value in this ClassReader.
readUTF8(int, char[]) - Method in class bsh.org.objectweb.asm.ClassReader
Reads a CONSTANT_Utf8 constant pool entry in this ClassReader.
RecordComponentVisitor - Class in bsh.org.objectweb.asm
A visitor to visit a record component.
RecordComponentVisitor(int) - Constructor for class bsh.org.objectweb.asm.RecordComponentVisitor
Constructs a new RecordComponentVisitor.
RecordComponentVisitor(int, RecordComponentVisitor) - Constructor for class bsh.org.objectweb.asm.RecordComponentVisitor
Constructs a new RecordComponentVisitor.
redirectOutputToFile(String) - Static method in class bsh.Interpreter
Deprecated.
redirects global JVM streams rather than any specific interpreter's own streams. Use Interpreter.setOutputFile(String) to redirect a particular interpreter's output.
Reflect - Class in bsh
All of the reflection API code lies here.
Reflect() - Constructor for class bsh.Reflect
 
ReInit(Reader, int, int, int) - Method in class bsh.JavaCharStream
Reinitialise on Reader.
ReInit(Reader, int, int) - Method in class bsh.JavaCharStream
Reinitialise on Reader.
ReInit(Reader) - Method in class bsh.JavaCharStream
Reinitialise on Reader.
ReInit(InputStream, String, int, int, int) - Method in class bsh.JavaCharStream
Reinitialise on InputStream.
ReInit(InputStream, int, int, int) - Method in class bsh.JavaCharStream
Reinitialise on InputStream.
ReInit(InputStream, String, int, int) - Method in class bsh.JavaCharStream
Reinitialise on InputStream.
ReInit(InputStream, int, int) - Method in class bsh.JavaCharStream
Reinitialise on InputStream.
ReInit(InputStream, String) - Method in class bsh.JavaCharStream
Reinitialise on InputStream.
ReInit(InputStream) - Method in class bsh.JavaCharStream
Reinitialise on InputStream.
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.
remove(Object) - Method in class bsh.engine.ScriptContextEngineView
Removes the mapping from the engine scope.
remove(SecurityGuard) - Method in class bsh.security.MainSecurityGuard
Remove a SecurityGuard if it's being used
remove() - Method in class bsh.SimpleNode
remove(K) - Method in class bsh.util.ValueReferenceMap
Remove an entry from the map
removeInnerClassNames(Collection<String>) - 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
 
repeat(List<Object>, int) - Static method in class bsh.BshArray
Repeat the contents of a list a number of times.
repeat(Object, int) - Static method in class bsh.BshArray
Repeat the contents of an array a number of times.
requestFocus() - Method in class bsh.util.JConsole
 
reset() - Method in class bsh.BshClassManager
Clear all loaders and start over.
reset() - Method in class bsh.classpath.ClassManagerImpl
Clear all classloading behavior and class caches and reset to initial state.
reset() - Method in class bsh.Interpreter
Optional method to release additional resources.
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 wraps resolveJavaMethod() and expects a non-null method result.
resolveJavaField(Class<?>, String, boolean) - Static method in class bsh.Reflect
 
resolveJavaMethod(Class<?>, String, Class<?>[], boolean) - Static method in class bsh.Reflect
The full blown resolver method.
RESOURCE_VARIABLE - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of a resource variable in a method.
RET - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
reThrow(String) - Method in exception bsh.EvalError
Return the error to re-throw, prepending the specified message.
reThrow(String) - Method in exception bsh.EvalException
Return the error to re-throw, prepending the specified message.
RETURN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
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.JConsole
 
RuntimeEvalError - Exception in bsh
Wraps an EvalError as an unchecked exception, for script errors raised from a context that cannot declare a checked exception -- e.g.

S

SafeNavigate - Exception in bsh
Implementation of the Safe Navigate operator ?.
SALOAD - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
SASTORE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
ScriptContextEngineView - Class in bsh.engine
This class implements an ENGINE_SCOPE centric Map view of the ScriptContext for engine implementations.
ScriptContextEngineView(ScriptContext) - Constructor for class bsh.engine.ScriptContextEngineView
 
SecurityError - Exception in bsh.security
It's a specific error that is throwed when try to execute something that mustn't be executed
SecurityGuard - Interface in bsh.security
It's the interface to implement a single SecurityGuard to be used by MainSecurityGuard
selector - Variable in class bsh.This.ConstructorArgs
 
serializedForm(Class<?>) - Method in class bsh.BshLambda
Called by a generated wrapper's writeReplace; public for the same reason as invoke.
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
 
set(Node) - Method in class bsh.SimpleNode
setAccessibility(boolean) - Static method in class bsh.Capabilities
 
setBounds(int, int, int, int) - Method in class bsh.util.BshCanvas
 
setCaretPosition(int) - Method in class bsh.util.AWTConsole
 
setClassLoader(ClassLoader) - Method in class bsh.BshClassManager
Set an external class loader.
setClassLoader(ClassLoader) - Method in class bsh.Interpreter
Set an external class loader to be used as the base classloader for BeanShell.
setClassPath(URL[]) - Method in class bsh.BshClassManager
Set a new base classpath and create a new base classloader.
setClassPath(URL[]) - Method in class bsh.classpath.ClassManagerImpl
Set a new base classpath and create a new base classloader.
setClassSource(String, BshClassPath.ClassSource) - Method in class bsh.classpath.BshClassPath
Explicitly set a class source.
setCompatibility(boolean) - Method in class bsh.Interpreter
Setting compatibility mode.
setConsole(ConsoleAssignable) - Method in class bsh.Interpreter
Attach an assignable console and initialize a new parser.
setConsole(ConsoleInterface) - Method in class bsh.Interpreter
Overloaded to accept a read only console.
setConstant() - Method in class bsh.Modifiers
Convenience method to assign modifiers for a constant definition.
setConstant() - Method in class bsh.Variable
 
setErr(PrintStream) - Method in interface bsh.ConsoleAssignable
 
setErr(PrintStream) - Method in class bsh.Interpreter.Console
 
setErr(PrintStream) - Method in class bsh.Interpreter
 
setErr(PrintStream) - Method in class bsh.PreparsedScript
Attach a standard error stream.
setErrorSourceFile(String) - Method in exception bsh.ParseException
Used to add source file info to exception
setExitOnEOF(boolean) - Method in class bsh.Interpreter
Specify whether, in interactive mode, the interpreter exits Java upon end of input.
setFlags(int) - Method in class bsh.org.objectweb.asm.ClassWriter
Changes the computation strategy of method properties like max stack size, max number of local variables, and frames.
setFont(Font) - Method in class bsh.util.JConsole
 
setFrame(JFrame) - Method in class bsh.util.ClassBrowser
 
setFrame(JInternalFrame) - Method in class bsh.util.ClassBrowser
 
setIn(Reader) - Method in interface bsh.ConsoleAssignable
 
setIn(Reader) - Method in class bsh.Interpreter.Console
 
setIn(Reader) - Method in class bsh.Interpreter
 
setIndex(Object, int, Object) - Static method in class bsh.BshArray
Set element value of array or list at index.
setLocalVariable(String, Object, boolean) - Method in class bsh.NameSpace
Set a variable explicitly in the local scope.
setMap(Map<String, Object>) - Method in class bsh.ExternalNameSpace
Set the external Map which to which this namespace synchronizes.
setMapsInitialized(boolean) - Method in class bsh.classpath.BshClassPath
Change whether map is initialized.
setMethod(BshMethod) - Method in class bsh.NameSpace
Dissallow static vars outside of a class.
setName(String) - Method in class bsh.NameSpace
Sets the name.
setNameCompletion(NameCompletion) - Method in interface bsh.util.GUIConsoleInterface
 
setNameCompletion(NameCompletion) - Method in class bsh.util.JConsole
 
setNameCompletionIncludesUnqNames(boolean) - Method in class bsh.classpath.BshClassPath
Change whether name completion includes unqualified names.
setNameSourceListeners(List<NameSource.Listener>) - Method in class bsh.classpath.BshClassPath
Change the name source listeners list.
setNameSpace(NameSpace) - Method in class bsh.Interpreter
Assign the global namespace for this interpreter.
setObjectProperty(Object, String, Object) - Static method in class bsh.Reflect
 
setObjectProperty(Object, Object, Object) - Static method in class bsh.Reflect
 
setOut(PrintStream) - Method in interface bsh.ConsoleAssignable
 
setOut(PrintStream) - Method in class bsh.Interpreter.Console
 
setOut(PrintStream) - Method in class bsh.Interpreter
 
setOut(PrintStream) - Method in class bsh.PreparsedScript
Attach a standard output stream.
setOutputFile(String) - Method in class bsh.Interpreter
Redirect this interpreter's own output and error streams to a file, leaving System.out / System.err untouched.
setParent(NameSpace) - Method in class bsh.NameSpace
Sets the parent.
setPath(URL[]) - Method in class bsh.classpath.BshClassPath
 
setShowResults(boolean) - Method in class bsh.Interpreter
Turn on/off the verbose printing of results as for the show() command.
setShutdownOnExit(boolean) - Static method in class bsh.Interpreter
Shared system object visible under bsh.system
setSourceFile(String) - Method in interface bsh.Node
Set the name of the source file (or more generally source) of the text from which this node was parsed.
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.
setTabSize(int) - Method in class bsh.JavaCharStream
 
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.
setUnqNameTable(BshClassPath.UnqualifiedNameTable) - Method in class bsh.classpath.BshClassPath
Change the unqualified name table.
setValue(Object, int) - Method in class bsh.Variable
Set the value of the typed variable.
setVariable(String, Object, boolean) - Method in class bsh.NameSpace
Set the variable through this namespace.
setVariableImpl(Variable) - Method in class bsh.NameSpace
 
setVariableOrProperty(String, Object, boolean) - Method in class bsh.NameSpace
Sets a variable or property.
setWaitFeedback(boolean) - Method in interface bsh.util.GUIConsoleInterface
e.g.
setWaitFeedback(boolean) - Method in class bsh.util.JConsole
 
setYieldDelay(int) - Method in class bsh.Interpreter
Set thread yield delay time in milliseconds.
SHORT - Static variable in class bsh.org.objectweb.asm.Type
The sort of the short type.
SHORT_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The short type.
shrinkWrap(Object) - Static method in class bsh.Primitive
 
SignatureReader - Class in bsh.org.objectweb.asm.signature
A parser for signature literals, as defined in the Java Virtual Machine Specification (JVMS), to visit them with a SignatureVisitor.
SignatureReader(String) - Constructor for class bsh.org.objectweb.asm.signature.SignatureReader
Constructs a SignatureReader for the given signature.
SignatureVisitor - Class in bsh.org.objectweb.asm.signature
A visitor to visit a generic signature.
SignatureVisitor(int) - Constructor for class bsh.org.objectweb.asm.signature.SignatureVisitor
Constructs a new SignatureVisitor.
SignatureWriter - Class in bsh.org.objectweb.asm.signature
A SignatureVisitor that generates signature literals, as defined in the Java Virtual Machine Specification (JVMS).
SignatureWriter() - Constructor for class bsh.org.objectweb.asm.signature.SignatureWriter
Constructs a new SignatureWriter.
SimpleNode - Class in bsh
 
SimpleNode(int) - Constructor for class bsh.SimpleNode
Default constructor supplying the node with its type id.
SIPUSH - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
size() - Method in class bsh.engine.ScriptContextEngineView
Returns the number of unique object bindings in all scopes.
size() - Method in class bsh.org.objectweb.asm.ByteVector
Returns the actual number of bytes in this vector.
size() - Method in class bsh.util.ValueReferenceMap
Get map size
SKIP_CODE - Static variable in class bsh.org.objectweb.asm.ClassReader
A flag to skip the Code attributes.
SKIP_DEBUG - Static variable in class bsh.org.objectweb.asm.ClassReader
A flag to skip the SourceFile, SourceDebugExtension, LocalVariableTable, LocalVariableTypeTable, LineNumberTable and MethodParameters attributes.
SKIP_FRAMES - Static variable in class bsh.org.objectweb.asm.ClassReader
A flag to skip the StackMap and StackMapTable attributes.
slice(List<Object>, int, int, int) - Static method in class bsh.BshArray
Slice the supplied list for range and step.
slice(Object, int, int, int) - Static method in class bsh.BshArray
Slice the supplied array for range and step.
source(URL, NameSpace) - Method in class bsh.Interpreter
Source a script from a url for interpretation.
source(File, NameSpace) - Method in class bsh.Interpreter
Source a script from a file for interpretation.
source(String, NameSpace) - Method in class bsh.Interpreter
Source a script from a filename for interpretation.
source(URL) - Method in class bsh.Interpreter
Source a script from a url for interpretation.
source(File) - Method in class bsh.Interpreter
Source a script from a file for interpretation.
source(String) - Method in class bsh.Interpreter
Source a script from a filename for interpretation.
SOURCE_DEPRECATED - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
SOURCE_MASK - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
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.
If there are no such special tokens, this field is set to null.
When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null).
The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token).
splitClassname(String) - Static method in class bsh.classpath.BshClassPath
 
startInterpreterForClass(Class<?>) - Static method in class bsh.ClassGeneratorUtil
Attempt to load a script named for the class: e.g.
startSplashScreen() - Static method in class bsh.util.Util
 
staticFlag - Static variable in class bsh.JavaCharStream
Whether parser is static.
StringUtil - Class in bsh
 
StringUtil() - Constructor for class bsh.StringUtil
 
SUPER - Static variable in class bsh.org.objectweb.asm.signature.SignatureVisitor
Wildcard for a "super" type argument.
swap(NameSpace) - Method in class bsh.CallStack
Swap in the value as the new top of the stack and return the old value.
SWAP - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
systemLineSeparator - Static variable in class bsh.Interpreter.Console
 

T

T_BOOLEAN - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_BYTE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_CHAR - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_DOUBLE - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_FLOAT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_INT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_LONG - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
T_SHORT - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
TABLESWITCH - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
tabSize - Variable in class bsh.JavaCharStream
 
TargetError - Exception in bsh
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script).
TargetError(String, Throwable, Node, CallStack, boolean) - Constructor for exception bsh.TargetError
 
TargetError(Throwable, Node, CallStack) - Constructor for exception bsh.TargetError
 
This - Class in bsh
'This' is the type of bsh scripted objects.
This.ConstructorArgs - Class in bsh
A ConstructorArgs object holds evaluated arguments for a constructor call as well as the index of a possible alternate selector to invoke.
THROWS - Static variable in class bsh.org.objectweb.asm.TypeReference
The sort of type references that target the type of an exception declared in the throws clause of a method.
ths - Variable in class bsh.BSHAutoCloseable
 
toByteArray() - Method in class bsh.org.objectweb.asm.ClassWriter
Returns the content of the class file that was built by this ClassWriter.
toEvalError(String, Node, CallStack) - Method in exception bsh.security.SecurityError
 
toEvalError(Node, CallStack) - Method in exception bsh.security.SecurityError
 
toEvalError(String, Node, CallStack) - Method in exception bsh.UtilEvalError
Re-throw as an eval error, prefixing msg to the message and specifying the node.
toEvalError(Node, CallStack) - Method in exception bsh.UtilEvalError
 
toEvalError(String, Node, CallStack) - Method in exception bsh.UtilTargetError
Override toEvalError to throw TargetError type.
toEvalException(String, Node, CallStack) - Method in exception bsh.UtilEvalError
 
toEvalException(Node, CallStack) - Method in exception bsh.UtilEvalError
 
toFront() - Method in class bsh.util.ClassBrowser
 
Token - Class in bsh
The class generated by JavaCC/java (by JavaHelperFiles.java with java/Token.template) that describes a token.
Token() - Constructor for class bsh.Token
No-argument constructor.
Token(int) - Constructor for class bsh.Token
Constructs a new token for the specified image.
Token(int, String) - Constructor for class bsh.Token
Constructs a new token for the specified image and kind.
tokenImage - Variable in exception bsh.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
top() - Method in class bsh.CallStack
 
TOP - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
toString() - Method in class bsh.BSHEnumConstant
 
toString() - Method in class bsh.BSHLabeledStatement
 
toString() - Method in class bsh.BshLambda
 
toString() - Method in class bsh.BSHLiteral
 
toString() - Method in class bsh.BshMethod
 
toString() - Method in class bsh.BSHMultiCatch
 
toString() - Method in class bsh.CallStack
 
toString() - Method in class bsh.ClassIdentifier
 
toString() - Method in class bsh.classpath.BshClassPath.DirClassSource
 
toString() - Method in class bsh.classpath.BshClassPath.JarClassSource
 
toString() - Method in class bsh.classpath.BshClassPath.JrtClassSource
 
toString() - Method in class bsh.classpath.BshClassPath
 
toString() - Method in class bsh.classpath.DiscreteFilesClassLoader
 
toString() - Method in class bsh.Invocable
toString() - Method in class bsh.Modifiers
toString() - Method in class bsh.NameSpace
toString(String) - Method in interface bsh.Node
Overloaded toString with prefix used by dump.
toString() - Method in class bsh.org.objectweb.asm.ConstantDynamic
 
toString() - Method in class bsh.org.objectweb.asm.Handle
Returns the textual representation of this handle.
toString() - Method in class bsh.org.objectweb.asm.Label
Returns a string representation of this label.
toString() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
Returns the signature that was built by this signature writer.
toString() - Method in class bsh.org.objectweb.asm.Type
Returns a string representation of this type.
toString() - Method in class bsh.org.objectweb.asm.TypePath
Returns a string representation of this type path.
toString() - Method in exception bsh.ParseException
 
toString() - Method in class bsh.Primitive
 
toString() - Method in class bsh.SimpleNode
toString(String) - Method in class bsh.SimpleNode
Overloaded toString with prefix used by dump.
toString() - Method in class bsh.This
 
toString() - Method in class bsh.Token
Returns the image.
toString() - Method in class bsh.util.AWTConsole
 
toString() - Method in class bsh.util.JConsole
 
toString() - Method in class bsh.Variable
 
TRACE - Static variable in class bsh.Interpreter
 
TRUE - Static variable in class bsh.Primitive
 
type - Variable in class bsh.BSHAutoCloseable
 
type - Variable in class bsh.org.objectweb.asm.Attribute
The type of this attribute, also called its name in the JVMS.
Type - Class in bsh.org.objectweb.asm
A Java field or method type.
type(int, char, int) - Method in class bsh.util.AWTConsole
 
TYPE_ARGUMENT - Static variable in class bsh.org.objectweb.asm.TypePath
A type path step that steps into a type argument of a generic type.
typeName - Variable in class bsh.BSHAutoCloseable
 
TypePath - Class in bsh.org.objectweb.asm
The path to a type argument, wildcard bound, array element type, or static inner type within an enclosing type.
TypeReference - Class in bsh.org.objectweb.asm
A reference to a type appearing in a class, field or method declaration, or on an instruction.
TypeReference(int) - Constructor for class bsh.org.objectweb.asm.TypeReference
Constructs a new TypeReference.
types - Variable in class bsh.BSHMultiCatch
 
typeString(Object) - Static method in class bsh.StringUtil
Type from value to string.
typeString(Class<?>) - Static method in class bsh.StringUtil
Type from class to string.
typeValueString(Object) - Static method in class bsh.StringUtil
Generate string of value and type.

U

Unavailable(String) - Constructor for exception bsh.Capabilities.Unavailable
 
Unavailable(String, Throwable) - Constructor for exception bsh.Capabilities.Unavailable
 
unboxType(Class<?>) - Static method in class bsh.Primitive
Get the corresponding primitive TYPE class for the java.lang wrapper class type.
UNINITIALIZED_THIS - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
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.
UNTYPED - Static variable in class bsh.BSHMultiCatch
 
unwrap(Object) - Static method in class bsh.Primitive
Unwrap primitive values and map voids to nulls.
unwrap(Object[]) - Static method in class bsh.Primitive
 
unwrapVariable(Variable) - Method in class bsh.NameSpace
Unwrap a variable to its value.
UpdateLineColumn(char) - Method in class bsh.JavaCharStream
 
usage() - Static method in class bsh.commands.dir
 
Util - Class in bsh.util
Misc utilities for the bsh.util package.
Util() - Constructor for class bsh.util.Util
 
UtilEvalError - Exception in bsh
UtilEvalError is an error corresponding to an EvalError but thrown by a utility or other class that does not have the caller context (Node) available to it.
UtilEvalError() - Constructor for exception bsh.UtilEvalError
 
UtilEvalError(String) - Constructor for exception bsh.UtilEvalError
 
UtilEvalError(String, Throwable) - Constructor for exception bsh.UtilEvalError
 
UtilTargetError - Exception in bsh
UtilTargetError is an error corresponding to a TargetError but thrown by a utility or other class that does not have the caller context (Node) available to it.
UtilTargetError(String, Throwable) - Constructor for exception bsh.UtilTargetError
 
UtilTargetError(Throwable) - Constructor for exception bsh.UtilTargetError
 

V

V10 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V11 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V12 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V13 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V14 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V15 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V16 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V17 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V18 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V19 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_1 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_2 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_3 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_4 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_5 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_6 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_7 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V1_8 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V20 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V21 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V22 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V23 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V24 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V25 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V26 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V27 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V9 - Static variable in interface bsh.org.objectweb.asm.Opcodes
 
V_PREVIEW - Static variable in interface bsh.org.objectweb.asm.Opcodes
Version flag indicating that the class is using 'preview' features.
value - Variable in class bsh.BSHLiteral
 
valueChanged(ListSelectionEvent) - Method in class bsh.util.ClassBrowser
 
valueOf(String) - Static method in enum bsh.util.ValueReferenceMap.Type
Returns the enum constant of this type with the specified name.
ValueReferenceMap<K,V> - Class in bsh.util
Implement a simple cache that automatically removes unused entries once their key or their value is no longer otherwise reachable.
ValueReferenceMap(Function<K, V>, ValueReferenceMap.Type) - Constructor for class bsh.util.ValueReferenceMap
 
ValueReferenceMap.Type - Enum in bsh.util
 
values() - Method in class bsh.engine.ScriptContextEngineView
Returns the total values set of all scopes.
values() - Static method in enum bsh.util.ValueReferenceMap.Type
Returns an array containing the constants of this enum type, in the order they are declared.
valueString(Object) - Static method in class bsh.StringUtil
Format value string.
Variable - Class in bsh
 
variableString(Variable) - Static method in class bsh.StringUtil
Produce a string representation of a bsh variable declaration.
variableString(Field) - Static method in class bsh.StringUtil
Produce a string representation of a java field declaration.
varThis - Variable in class bsh.BSHAutoCloseable
 
VERSION - Static variable in class bsh.Interpreter
 
visit(String, Object) - Method in class bsh.org.objectweb.asm.AnnotationVisitor
Visits a primitive value of the annotation.
visit(int, int, String, String, String, String[]) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits the header of the class.
visit(int, int, String, String, String, String[]) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitAnnotableParameterCount(int, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits the number of method parameters that can have annotations.
visitAnnotation(String, String) - Method in class bsh.org.objectweb.asm.AnnotationVisitor
Visits a nested annotation value of the annotation.
visitAnnotation(String, boolean) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits an annotation of the class.
visitAnnotation(String, boolean) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitAnnotation(String, boolean) - Method in class bsh.org.objectweb.asm.FieldVisitor
Visits an annotation of the field.
visitAnnotation(String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an annotation of this method.
visitAnnotation(String, boolean) - Method in class bsh.org.objectweb.asm.RecordComponentVisitor
Visits an annotation of the record component.
visitAnnotationDefault() - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits the default value of this annotation interface method.
visitArray(String) - Method in class bsh.org.objectweb.asm.AnnotationVisitor
Visits an array value of the annotation.
visitArrayType() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits a signature corresponding to an array type.
visitArrayType() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitAttribute(Attribute) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits a non standard attribute of the class.
visitAttribute(Attribute) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitAttribute(Attribute) - Method in class bsh.org.objectweb.asm.FieldVisitor
Visits a non standard attribute of the field.
visitAttribute(Attribute) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a non standard attribute of this method.
visitAttribute(Attribute) - Method in class bsh.org.objectweb.asm.RecordComponentVisitor
Visits a non standard attribute of the record component.
visitBaseType(char) - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits a signature corresponding to a primitive type.
visitBaseType(char) - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitClassBound() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits the class bound of the last visited formal type parameter.
visitClassBound() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitClassType(String) - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Starts the visit of a signature corresponding to a class or interface type.
visitClassType(String) - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitCode() - Method in class bsh.org.objectweb.asm.MethodVisitor
Starts the visit of the method's code, if any (i.e.
visitEnd() - Method in class bsh.org.objectweb.asm.AnnotationVisitor
Visits the end of the annotation.
visitEnd() - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits the end of the class.
visitEnd() - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitEnd() - Method in class bsh.org.objectweb.asm.FieldVisitor
Visits the end of the field.
visitEnd() - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits the end of the method.
visitEnd() - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits the end of the module.
visitEnd() - Method in class bsh.org.objectweb.asm.RecordComponentVisitor
Visits the end of the record component.
visitEnd() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Ends the visit of a signature corresponding to a class or interface type.
visitEnd() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitEnum(String, String, String) - Method in class bsh.org.objectweb.asm.AnnotationVisitor
Visits an enumeration value of the annotation.
visitExceptionType() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits the type of a method exception.
visitExceptionType() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitExport(String, int, String...) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits an exported package of the current module.
visitField(int, String, String, String, Object) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits a field of the class.
visitField(int, String, String, String, Object) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitFieldInsn(int, String, String, String) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a field instruction.
visitFormalTypeParameter(String) - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits a formal type parameter.
visitFormalTypeParameter(String) - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitFrame(int, int, Object[], int, Object[]) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits the current state of the local variables and operand stack elements.
visitIincInsn(int, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an IINC instruction.
visitInnerClass(String, String, String, int) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits information about an inner class.
visitInnerClass(String, String, String, int) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitInnerClassType(String) - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits an inner class.
visitInnerClassType(String) - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitInsn(int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a zero operand instruction.
visitInsnAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an annotation on an instruction.
visitInterface() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits the type of an interface implemented by the class.
visitInterface() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitInterfaceBound() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits an interface bound of the last visited formal type parameter.
visitInterfaceBound() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitIntInsn(int, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an instruction with a single int operand.
visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an invokedynamic instruction.
visitJumpInsn(int, Label) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a jump instruction.
visitLabel(Label) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a label.
visitLdcInsn(Object) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a LDC instruction.
visitLineNumber(int, Label) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a line number declaration.
visitLocalVariable(String, String, String, Label, Label, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a local variable declaration.
visitLocalVariableAnnotation(int, TypePath, Label[], Label[], int[], String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an annotation on a local variable type.
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a LOOKUPSWITCH instruction.
visitMainClass(String) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits the main class of the current module.
visitMaxs(int, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits the maximum stack size and the maximum number of local variables of the method.
visitMethod(int, String, String, String, String[]) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits a method of the class.
visitMethod(int, String, String, String, String[]) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitMethodInsn(int, String, String, String) - Method in class bsh.org.objectweb.asm.MethodVisitor
visitMethodInsn(int, String, String, String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a method instruction.
visitModule(String, int, String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visit the module corresponding to the class.
visitModule(String, int, String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitMultiANewArrayInsn(String, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a MULTIANEWARRAY instruction.
visitNestHost(String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits the nest host class of the class.
visitNestHost(String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitNestMember(String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits a member of the nest.
visitNestMember(String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitOpen(String, int, String...) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits an open package of the current module.
visitOuterClass(String, String, String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits the enclosing class of the class.
visitOuterClass(String, String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitPackage(String) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits a package of the current module.
visitParameter(String, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a parameter of this method.
visitParameterAnnotation(int, String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an annotation of a parameter this method.
visitParameterType() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits the type of a method parameter.
visitParameterType() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitPermittedSubclass(String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits a permitted subclasses.
visitPermittedSubclass(String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitProvide(String, String...) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits an implementation of a service.
visitRecordComponent(String, String, String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits a record component of the class.
visitRecordComponent(String, String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitRequire(String, int, String) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits a dependence of the current module.
visitReturnType() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits the return type of the method.
visitReturnType() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitSource(String, String) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits the source of the class.
visitSource(String, String) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitSuperclass() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits the type of the super class.
visitSuperclass() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a TABLESWITCH instruction.
visitTryCatchAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an annotation on an exception handler type.
visitTryCatchBlock(Label, Label, Label, String) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a try catch block.
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.ClassVisitor
Visits an annotation on a type in the class signature.
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.ClassWriter
 
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.FieldVisitor
Visits an annotation on the type of the field.
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits an annotation on a type in the method signature.
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class bsh.org.objectweb.asm.RecordComponentVisitor
Visits an annotation on a type in the record component signature.
visitTypeArgument() - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits an unbounded type argument of the last visited class or inner class type.
visitTypeArgument(char) - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits a type argument of the last visited class or inner class type.
visitTypeArgument() - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitTypeArgument(char) - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitTypeInsn(int, String) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a type instruction.
visitTypeVariable(String) - Method in class bsh.org.objectweb.asm.signature.SignatureVisitor
Visits a signature corresponding to a type variable.
visitTypeVariable(String) - Method in class bsh.org.objectweb.asm.signature.SignatureWriter
 
visitUse(String) - Method in class bsh.org.objectweb.asm.ModuleVisitor
Visits a service used by the current module.
visitVarInsn(int, int) - Method in class bsh.org.objectweb.asm.MethodVisitor
Visits a local variable instruction.
VOID - Static variable in class bsh.org.objectweb.asm.Type
The sort of the void type.
VOID - Static variable in class bsh.Primitive
VOID means "no type".
VOID_TYPE - Static variable in class bsh.org.objectweb.asm.Type
The void type.

W

WILDCARD_BOUND - Static variable in class bsh.org.objectweb.asm.TypePath
A type path step that steps into the bound of a wildcard type.
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.
write(ClassWriter, byte[], int, int, int) - Method in class bsh.org.objectweb.asm.Attribute
Returns the byte array form of the content of this attribute.
write(Attribute, ClassWriter, byte[], int, int, int) - Static method in class bsh.org.objectweb.asm.Attribute
Returns the byte array form of the content of the given attribute.

Z

ZERO_ARGS - Static variable in class bsh.Reflect
 
ZERO_BIG_DECIMAL - Static variable in class bsh.Primitive
 
ZERO_BIG_INTEGER - Static variable in class bsh.Primitive
 
ZERO_BYTE - Static variable in class bsh.Primitive
 
ZERO_CHAR - Static variable in class bsh.Primitive
Default zero value constants
ZERO_DOUBLE - Static variable in class bsh.Primitive
 
ZERO_FLOAT - Static variable in class bsh.Primitive
 
ZERO_INT - Static variable in class bsh.Primitive
 
ZERO_LONG - Static variable in class bsh.Primitive
 
ZERO_SHORT - Static variable in class bsh.Primitive
 
ZERO_TYPES - Static variable in class bsh.Reflect
 
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links