📄 setstrictjava.bsh
字号:
/** When strict Java mode is enabled BeanShell will: <p> <ol> <li>Require typed variable declarations, method arguments and return types. <li>Modify the scoping of variables to look for the variable declaration first in the parent namespace, as in a java method inside a java class. e.g. if you can write a method called incrementFoo() that will do the expected thing without referring to "super.foo". </ul>*/void setStrictJava( boolean val ) { import bsh.Interpreter; Interpreter.strictJava = val;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -