[java decompiler] restores plugin compatibility
This commit is contained in:
@@ -21,6 +21,20 @@ public class BaseDecompiler {
|
|||||||
engine.addSource(source);
|
engine.addSource(source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void addLibrary(File library) {
|
||||||
|
engine.addLibrary(library);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @deprecated use {@link #addSource(File)} / {@link #addLibrary(File)} instead */
|
||||||
|
public void addSpace(File file, boolean own) {
|
||||||
|
if (own) {
|
||||||
|
addSource(file);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
addLibrary(file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void decompileContext() {
|
public void decompileContext() {
|
||||||
try {
|
try {
|
||||||
engine.decompileContext();
|
engine.decompileContext();
|
||||||
|
|||||||
Reference in New Issue
Block a user