[java decompiler] restores plugin compatibility

master
Roman Shevchenko 7 years ago
parent 38f01f009a
commit 2393cd9aa8
  1. 14
      src/org/jetbrains/java/decompiler/main/decompiler/BaseDecompiler.java

@ -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();

Loading…
Cancel
Save