15 lines
No EOL
432 B
Ruby
15 lines
No EOL
432 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 |