⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 which.bsh

📁 用java 编写的源码开放的文本编辑器。有很多有用的特性
💻 BSH
字号:
/**	Use classpath mapping to determine the source of the specified class	file.  (Like the Unix which command for executables).	@method which( classIdentifier | string | class )*/bsh.help.which= "usage: which( classIdentifier | string | class )";import bsh.Name;import bsh.BshClassManager;which( clas ) { 	// make the class into a name	if ( clas instanceof Name.ClassIdentifier )		clas = this.namespace.identifierToClass( clas );	if ( clas instanceof Class )		clas = clas.getName();	String className = clas;	cp = BshClassManager.getClassManager().getClassPath();	print ( cp.getClassSource( className ) );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -