summaryrefslogtreecommitdiffstats
path: root/src/de
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-19 21:46:03 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-19 21:46:03 +0400
commite1efc66c86cd3e95fb3222b1453842a894a6ff73 (patch)
treeec86fdb1e4c0fa7bf6ea1c95fc779130b0ec17be /src/de
parentea3c37a8c2d912d8f56fa7bb118c57b9fdc4913d (diff)
downloadfernflower-e1efc66c86cd3e95fb3222b1453842a894a6ff73.tar
fernflower-e1efc66c86cd3e95fb3222b1453842a894a6ff73.tar.gz
fernflower-e1efc66c86cd3e95fb3222b1453842a894a6ff73.tar.lz
fernflower-e1efc66c86cd3e95fb3222b1453842a894a6ff73.tar.xz
fernflower-e1efc66c86cd3e95fb3222b1453842a894a6ff73.zip
content supplying method exposed
Diffstat (limited to 'src/de')
-rw-r--r--src/de/fernflower/main/decompiler/EclipseDecompiler.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/de/fernflower/main/decompiler/EclipseDecompiler.java b/src/de/fernflower/main/decompiler/EclipseDecompiler.java
index c18c19f..48f1e62 100644
--- a/src/de/fernflower/main/decompiler/EclipseDecompiler.java
+++ b/src/de/fernflower/main/decompiler/EclipseDecompiler.java
@@ -14,6 +14,8 @@
package de.fernflower.main.decompiler;
+import java.io.File;
+import java.io.IOException;
import java.util.HashMap;
import de.fernflower.main.DecompilerContext;
@@ -36,8 +38,12 @@ public class EclipseDecompiler {
DecompilerContext.setLogger(logger);
}
-
- public void decompileContext() {
+
+ public void addSpace(File file, boolean isOwn) throws IOException {
+ fernflower.getStructcontext().addSpace(file, isOwn);
+ }
+
+ public void decompileContext() {
fernflower.decompileContext();
}