generateClassImpl
public static Class generateClassImpl(String name,
Modifiers modifiers,
Class[] interfaces,
Class superClass,
bsh.BSHBlock block,
boolean isInterface,
CallStack callstack,
Interpreter interpreter)
throws EvalError
Parse the BSHBlock for for the class definition and generate the class
using ClassGenerator.
invokeSuperclassMethod
public Object invokeSuperclassMethod(BshClassManager bcm,
Object instance,
String methodName,
Object[] args)
throws UtilEvalError,
bsh.ReflectError,
InvocationTargetException
- invokeSuperclassMethod in interface ClassGenerator
invokeSuperclassMethodImpl
public static Object invokeSuperclassMethodImpl(BshClassManager bcm,
Object instance,
String methodName,
Object[] args)
throws UtilEvalError,
bsh.ReflectError,
InvocationTargetException
setInstanceNameSpaceParent
public void setInstanceNameSpaceParent(Object instance,
String className,
NameSpace parent)
Change the parent of the class instance namespace.
This is currently used for inner class support.
Note: This method will likely be removed in the future.
- setInstanceNameSpaceParent in interface ClassGenerator