Add Java Compiler to the API

This commit is contained in:
Konloch 2021-06-26 07:37:41 -07:00
parent eadd35174e
commit 2d80244e1f

View file

@ -260,6 +260,15 @@ public class BytecodeViewer {
return Decompiler.JADX.getDecompiler();
}
/**
* Returns the wrapped Java Compiler instance.
*
* @return The wrapped Java Compiler instance
*/
public static InternalCompiler getJavaCompiler() {
return Compiler.JAVA_COMPILER.getCompiler();
}
/**
* Returns the wrapped Krakatau Assembler instance.
*