Uses of Class bsh.UtilEvalError

Uses in package bsh.classpath

Methods which throw type bsh.UtilEvalError

void
Support for "import *;" Hide details in here as opposed to NameSpace.

Uses in package bsh

Classes derived from bsh.UtilEvalError

class
An attempt was made to use an unavailable capability supported by an optional package.
class
* This file is part of the BeanShell Java Scripting distribution.
class
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.

Methods with return type bsh.UtilEvalError

UtilEvalError

Methods which throw type bsh.UtilEvalError

Object
Primitive.binaryOperation(Object obj1, Object obj2, int kind)
Perform a binary operation on two Primitives or wrapper types.
boolean
void
void
NameSpace.checkVariableModifiers(String name, bsh.Modifiers modifiers)
Dissallow static vars outside of a class
void
Support for "import *;" Hide details in here as opposed to NameSpace.
void
Perform "import *;" causing the entire classpath to be mapped.
Object
NameSpace.get(String name, Interpreter interpreter)
Resolve name to an object through this namespace.
Object
NameSpace.getAssignableForm(Object rhs, Class lhsType)
Determine if the RHS object can be assigned to the LHS type:

1) As in a legal Java assignment (as determined by Reflect.isJavaAssignable()) through widening or promotion

2) Via special BeanShell extensions like interface generation or (gag) numeric-style promotion of primitive wrappers (e.g.

Class
NameSpace.getClass(String name)
Load a class through this namespace taking into account imports.
String
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
Object
NameSpace.getCommand(String name, Class[] argTypes, Interpreter interpreter)
A command is a scripted method or compiled command class implementing a specified method signature.
Object
This.getInterface(Class clas)
Get a version of this scripted object implementing the specified interface.
Object
This.getInterface(Class[] ca)
Get a version of this scripted object implementing the specified interfaces.
BshMethod
NameSpace.getMethod(String name, Class[] sig)
Get the bsh method matching the specified signature declared in this name space or a parent.
Object
NameSpace.getVariable(String name)
Get the specified variable in this namespace or a parent namespace.
Object
NameSpace.getVariable(String name, boolean recurse)
Get the specified variable in this namespace.
bsh.NameSpace.Variable
NameSpace.getVariableImpl(String name, boolean recurse)
Locate a variable and return the Variable object with optional recursion through parent name spaces.
int
boolean
This is a hook to allow ClassNameSpace to add functionality to getMethod()
boolean
NameSpace.isVisible(bsh.NameSpace.Variable var)
This is a hook to allow ClassNameSpace to add functionality here.
Number
void
Overlay the entire path with a new class loader.
void
BshClassManager.reloadClasses(String[] classNames)
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
void
Reload all classes in the specified package: e.g.
void
Set a new base classpath and create a new base classloader.
void
NameSpace.setMethod(String name, BshMethod method)
Note: this is primarily for internal use.
void
NameSpace.setTypedVariable(String name, Class type, Object value, boolean isFinal)
void
NameSpace.setTypedVariable(String name, Class type, Object value, bsh.Modifiers modifiers)
Declare a variable in the local scope and set its initial value.
void
NameSpace.setVariable(String name, Object value, boolean strictJava)
Set the variable through this namespace.
Primitive

B) 2000 pat@pat.net :-)