类的使用
bsh.Variable
使用Variable的程序包
-
bsh中Variable的使用
修饰符和类型方法说明Variable[]
ExternalNameSpace.getDeclaredVariables()
Variable[]
NameSpace.getDeclaredVariables()
protected Variable
NameSpace.getImportedVar
(String name) protected Variable
ExternalNameSpace.getVariableImpl
(String name, boolean recurse) protected Variable
NameSpace.getVariableImpl
(String name, boolean recurse) Locate a variable and return the Variable object with optional recursion through parent name spaces.修饰符和类型方法说明protected Object
NameSpace.unwrapVariable
(Variable var) Unwrap a variable to its value.限定符构造器说明ClassGeneratorUtil
(Modifiers classModifiers, String className, String packageName, Class superClass, Class[] interfaces, Variable[] vars, DelayedEvalBshMethod[] bshmethods, NameSpace classStaticNameSpace, boolean isInterface)