2021-06-26 13:00:30 +00:00
|
|
|
require 'java'
|
|
|
|
|
|
|
|
java_import 'the.bytecode.club.bytecodeviewer.api.Plugin'
|
|
|
|
java_import 'the.bytecode.club.bytecodeviewer.api.PluginConsole'
|
|
|
|
java_import 'java.lang.System'
|
|
|
|
java_import 'java.util.ArrayList'
|
|
|
|
java_import 'org.objectweb.asm.tree.ClassNode'
|
|
|
|
|
2022-01-22 19:36:10 +00:00
|
|
|
#
|
|
|
|
# This is a skeleton template for BCV's Ruby Plugin System
|
|
|
|
#
|
|
|
|
# @author [Your Name Goes Here]
|
|
|
|
#
|
|
|
|
|
2021-06-26 13:00:30 +00:00
|
|
|
class Skeleton < Plugin
|
|
|
|
def execute(classNodeList)
|
2022-01-18 00:57:58 +00:00
|
|
|
gui = PluginConsole.new "Skeleton Title"
|
2021-06-26 13:00:30 +00:00
|
|
|
gui.setVisible(true)
|
2022-01-18 00:57:58 +00:00
|
|
|
gui.appendText("executed skeleton example")
|
2021-06-26 13:00:30 +00:00
|
|
|
end
|
2022-01-22 19:03:55 +00:00
|
|
|
end
|