类的使用
bsh.Modifiers
使用Modifiers的程序包
-
bsh中Modifiers的使用
修饰符和类型方法说明BshMethod.getModifiers()
Variable.getModifiers()
final Modifiers
Parser.Modifiers
(int context, boolean lookahead) THE JAVA LANGUAGE GRAMMAR STARTS HERE *修饰符和类型方法说明abstract Class
ClassGenerator.generateClass
(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) Parse the BSHBlock for the class definition and generate the class.ClassGeneratorImpl.generateClass
(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) static Class
ClassGeneratorImpl.generateClassImpl
(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) Parse the BSHBlock for for the class definition and generate the class using ClassGenerator.void
ExternalNameSpace.setTypedVariable
(String name, Class type, Object value, Modifiers modifiers) void
NameSpace.setTypedVariable
(String name, Class type, Object value, Modifiers modifiers) Declare a variable in the local scope and set its initial value.限定符构造器说明ClassGeneratorUtil
(Modifiers classModifiers, String className, String packageName, Class superClass, Class[] interfaces, Variable[] vars, DelayedEvalBshMethod[] bshmethods, NameSpace classStaticNameSpace, boolean isInterface)