FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bytecode-viewer/plugins/ruby/Skeleton.rb at master · GitJavaProgramming/bytecode-viewer · GitHub
GitJavaProgramming
bytecode-viewer
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
bytecode-viewer
/
plugins
/
ruby
/
Skeleton.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (18 loc) · 530 Bytes
Breadcrumbs
bytecode-viewer
/
plugins
/
ruby
/
Skeleton.rb
Copy path
File metadata and controls
21 lines (18 loc) · 530 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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'
#
# This is a skeleton template for BCV's Ruby Plugin System
#
# @author [Your Name Goes Here]
#
class
Skeleton
<
Plugin
def
execute
(
classNodeList
)
gui
=
PluginConsole
.
new
"Skeleton Title"
gui
.
setVisible
(
true
)
gui
.
appendText
(
"executed skeleton example"
)
end
end
Back
|
FazBrowse Home
|
New Git URL