Uses of Class
org.gjt.sp.jedit.bsh.UtilEvalError
Packages that use UtilEvalError
-
Uses of UtilEvalError in org.gjt.sp.jedit
Methods in org.gjt.sp.jedit that throw UtilEvalErrorModifier and TypeMethodDescriptionprotected abstract voidBeanShellFacade.resetDefaultVariables(NameSpace namespace) protected abstract voidBeanShellFacade.setupDefaultVariables(NameSpace namespace, T param) protected voidBeanShellFacade.setVariable(NameSpace nameSpace, String name, Object object) Set a beanshell variable in the namespace without overriding it -
Uses of UtilEvalError in org.gjt.sp.jedit.bsh
Subclasses of UtilEvalError in org.gjt.sp.jedit.bshModifier and TypeClassDescriptionstatic classAn attempt was made to use an unavailable capability supported by an optional package.classclassUtilTargetError 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 in org.gjt.sp.jedit.bsh that return UtilEvalErrorMethods in org.gjt.sp.jedit.bsh that throw UtilEvalErrorModifier and TypeMethodDescriptionstatic ObjectPrimitive.binaryOperation(Object obj1, Object obj2, int kind) Perform a binary operation on two Primitives or wrapper types.booleanPrimitive.booleanValue()Primitive.castToType(Class toType, int operation) Cast this bsh.Primitive value to a new bsh.Primitive value This is usually a numeric type cast.protected voidBshClassManager.doSuperImport()Support for "import *;" Hide details in here as opposed to NameSpace.voidNameSpace.doSuperImport()Perform "import *;" causing the entire classpath to be mapped.NameSpace.get(String name, Interpreter interpreter) Resolve name to an object through this namespace.Load a class through this namespace taking into account imports.static ClassGeneratorClassGenerator.getClassGenerator()protected StringBshClassManager.getClassNameByUnqName(String name) Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.NameSpace.getCommand(String name, Class[] argTypes, Interpreter interpreter) A command is a scripted method or compiled command class implementing a specified method signature.protected BshMethodNameSpace.getImportedMethod(String name, Class[] sig) protected VariableNameSpace.getImportedVar(String name) This.getInterface(Class clas) Get a version of this scripted object implementing the specified interface.This.getInterface(Class[] ca) Get a version of this scripted object implementing the specified interfaces.Get the bsh method matching the specified signature declared in this name space or a parent.NameSpace.getVariable(String name) Get the specified variable in this namespace or a parent namespace.NameSpace.getVariable(String name, boolean recurse) Get the specified variable in this namespace.protected VariableExternalNameSpace.getVariableImpl(String name, boolean recurse) protected VariableNameSpace.getVariableImpl(String name, boolean recurse) Locate a variable and return the Variable object with optional recursion through parent name spaces.intPrimitive.intValue()abstract ObjectClassGenerator.invokeSuperclassMethod(BshClassManager bcm, Object instance, String methodName, Object[] args) Invoke a super.method() style superclass method on an object instance.ClassGeneratorImpl.invokeSuperclassMethod(BshClassManager bcm, Object instance, String methodName, Object[] args) static ObjectClassGeneratorImpl.invokeSuperclassMethodImpl(BshClassManager bcm, Object instance, String methodName, Object[] args) Primitive.numberValue()voidBshClassManager.reloadAllClasses()Overlay the entire path with a new class loader.voidBshClassManager.reloadClasses(String[] classNames) Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.voidBshClassManager.reloadPackage(String pack) Reload all classes in the specified package: e.g.voidBshClassManager.setClassPath(URL[] cp) Set a new base classpath and create a new base classloader.voidvoidNote: this is primarily for internal use.voidExternalNameSpace.setTypedVariable(String name, Class type, Object value, Modifiers modifiers) voidNameSpace.setTypedVariable(String name, Class type, Object value, boolean isFinal) Deprecated.See #setTypedVariable( String, Class, Object, Modifiers )voidNameSpace.setTypedVariable(String name, Class type, Object value, Modifiers modifiers) Declare a variable in the local scope and set its initial value.voidSet the value of the typed variable.voidNameSpace.setVariable(String name, Object value) voidNameSpace.setVariable(String name, Object value, boolean strictJava) Set the variable through this namespace.static PrimitivePrimitive.unaryOperation(Primitive val, int kind) protected ObjectNameSpace.unwrapVariable(Variable var) Unwrap a variable to its value. -
Uses of UtilEvalError in org.gjt.sp.jedit.bsh.classpath
Methods in org.gjt.sp.jedit.bsh.classpath that throw UtilEvalErrorModifier and TypeMethodDescriptionvoidClassManagerImpl.doSuperImport()Support for "import *;" Hide details in here as opposed to NameSpace.