16 lines
433 B
Ruby
16 lines
433 B
Ruby
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)
|
|
gui = PluginConsole.new "Skeleton Title"
|
|
gui.setVisible(true)
|
|
gui.appendText("executed skeleton example")
|
|
end
|
|
end
|