bcv-vf/plugins/ruby/Skeleton.rb

15 lines
432 B
Ruby
Raw Normal View History

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'
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