类的使用
bsh.This
使用This的程序包
-
bsh中This的使用
修饰符和类型类说明class
XThis is a dynamically loaded extension which extends This.java and adds support for the generalized interface proxy mechanism introduced in JDK1.3.修饰符和类型方法说明NameSpace.getGlobal
(Interpreter declaringInterpreter) Get the top level namespace or this namespace if we are the top.NameSpace.getSuper
(Interpreter declaringInterpreter) Get the parent namespace' This reference or this namespace' This reference if we are the top.修饰符和类型方法说明static void
This.bind
(This ths, NameSpace namespace, Interpreter declaringInterpreter) Bind a This reference to a parent's namespace with the specified declaring interpreter.ClassGeneratorUtil.getConstructorArgs
(String superClassName, This classStaticThis, Object[] consArgs, int index) Evaluate the arguments (if any) for the constructor specified by the constructor index. -
bsh.util中This的使用