public class BytecodeViewer
extends java.lang.Object
Constructor and Description |
---|
BytecodeViewer() |
Modifier and Type | Method and Description |
---|---|
static void |
createNewClassNodeLoaderInstance()
Creates a new instance of the ClassNode loader.
|
static Decompiler |
getCFRDecompiler()
Returns the wrapped CFR Decompiler instance.
|
static java.net.URLClassLoader |
getClassLoaderInstance()
Returns the URLClassLoader instance
|
static org.objectweb.asm.tree.ClassNode |
getClassNode(java.lang.String name)
Used to load a ClassNode.
|
static ClassNodeLoader |
getClassNodeLoader()
Grab the loader instance
|
static org.objectweb.asm.tree.ClassNode |
getCurrentlyOpenedClassNode()
Returns the currently opened class node, if nothing is opened it'll return null.
|
static Decompiler |
getFernFlowerDecompiler()
Returns the wrapped FernFlower Decompiler instance.
|
static Compiler |
getKrakatauCompiler()
Returns the wrapped Krakatau Assembler instance.
|
static Decompiler |
getKrakatauDecompiler()
Returns the wrapped Krakatau Decompiler instance.
|
static Decompiler |
getKrakatauDisassembler()
Returns the wrapped Krakatau Disassembler instance.
|
static java.util.ArrayList<org.objectweb.asm.tree.ClassNode> |
getLoadedClasses()
Used to grab the loaded ClassNodes.
|
static Decompiler |
getProcyonDecompiler()
Returns the wrapped Procyon Decompiler instance.
|
static Compiler |
getSmaliCompiler()
Returns the wrapped Smali Assembler instance.
|
static void |
insertHook(BytecodeHook hook)
Used to insert a Bytecode Hook using EZ-Injection.
|
static java.util.List<java.lang.Class<?>> |
loadClassesIntoClassLoader()
Re-instances the URLClassLoader and loads a jar to it.
|
static void |
openFiles(java.io.File[] files,
boolean recentFiles)
Used to load classes/jars into BCV.
|
static void |
resetWorkSpace(boolean ask)
This will ask the user if they really want to reset the workspace, then
it'll reset the work space.
|
static void |
setBusy(boolean busy)
If true, it will display the busy icon, if false it will remove it if
it's displayed.
|
static void |
showMessage(java.lang.String message)
Sends a small window popup with the defined message.
|
static void |
startPlugin(java.io.File plugin)
Used to start a plugin from file.
|
public static ClassNodeLoader getClassNodeLoader()
public static java.net.URLClassLoader getClassLoaderInstance()
public static java.util.List<java.lang.Class<?>> loadClassesIntoClassLoader()
path
- public static void createNewClassNodeLoaderInstance()
public static void startPlugin(java.io.File plugin)
plugin
- the file of the pluginpublic static void openFiles(java.io.File[] files, boolean recentFiles)
files
- an array of the files you want loaded.recentFiles
- if it should save to the recent files menu.public static org.objectweb.asm.tree.ClassNode getCurrentlyOpenedClassNode()
public static org.objectweb.asm.tree.ClassNode getClassNode(java.lang.String name)
name
- the full name of the ClassNodepublic static java.util.ArrayList<org.objectweb.asm.tree.ClassNode> getLoadedClasses()
public static void insertHook(BytecodeHook hook)
hook
- public static void resetWorkSpace(boolean ask)
ask
- if it should ask the user about resetting the workspacepublic static void setBusy(boolean busy)
busy
- if it should display the busy icon or notpublic static void showMessage(java.lang.String message)
message
- the message you want to displaypublic static Decompiler getKrakatauDecompiler()
public static Decompiler getProcyonDecompiler()
public static Decompiler getCFRDecompiler()
public static Decompiler getFernFlowerDecompiler()
public static Decompiler getKrakatauDisassembler()
public static Compiler getKrakatauCompiler()
public static Compiler getSmaliCompiler()