testrepo/plugins/groovy/Skeleton.gy

18 lines
421 B
Plaintext
Raw Normal View History

2021-12-19 23:24:17 +00:00
import org.objectweb.asm.tree.ClassNode
2022-01-08 10:48:25 +00:00
import the.bytecode.club.bytecodeviewer.api.*
2015-07-08 23:35:21 +00:00
2022-01-22 19:10:10 +00:00
/**
** This is a skeleton template for BCV's Groovy Plugin System
**
** @author [Your Name Goes Here]
**/
2021-12-19 23:24:17 +00:00
class Skeleton extends Plugin {
2015-07-08 23:35:21 +00:00
@Override
2021-12-19 23:24:17 +00:00
void execute(List<ClassNode> classNodesList) {
2022-01-18 00:59:38 +00:00
PluginConsole gui = new PluginConsole("Skeleton Title")
2021-12-19 23:24:17 +00:00
gui.setVisible(true)
2022-01-18 00:59:38 +00:00
gui.appendText("executed skeleton example")
2015-07-08 23:35:21 +00:00
}
2022-01-18 00:59:38 +00:00
}