getclass.bsh
来自「用java 编写的源码开放的文本编辑器。有很多有用的特性」· BSH 代码 · 共 19 行
BSH
19 行
/** Get a class through the current namespace utilizing the current imports, extended classloader, etc. <p> This is equivalent to the standard Class.forName() method for class loading, however it takes advantage of the BeanShell class manager so that added classpath will be taken into account. You can also use Class.forName(), however if you have modified the classpath or reloaded classes from within your script the modifications will only appear if you use the getClass() command.*/bsh.help.getClass= "usage: getClass( String name )";Class getClass( String name ) { return this.caller.namespace.getClass( name );}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?