setstrictjava.bsh

来自「用java 编写的源码开放的文本编辑器。有很多有用的特性」· BSH 代码 · 共 21 行

BSH
21
字号
/**	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 + =
减小字号Ctrl + -
显示快捷键?