写的java代码片段,如果想使用Beanshell执行时,常常需要手动填写包路径(或粘贴import) image.png 可以编写正则替换小工具,快速补全 image.png 执行效果: image.png