summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/de/fernflower/main/rels/ClassWrapper.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/de/fernflower/main/rels/ClassWrapper.java b/src/de/fernflower/main/rels/ClassWrapper.java
index 11adda0..e09b1df 100644
--- a/src/de/fernflower/main/rels/ClassWrapper.java
+++ b/src/de/fernflower/main/rels/ClassWrapper.java
@@ -88,8 +88,7 @@ public class ClassWrapper {
boolean isError = false;
try {
- // TODO: simple check if code present?
- if((mt.getAccessFlags() & (CodeConstants.ACC_ABSTRACT | CodeConstants.ACC_NATIVE)) == 0) { // native or abstract method, explicit or interface
+ if(mt.containsCode()) {
int maxsec = 10 * Integer.parseInt(DecompilerContext.getProperty(IFernflowerPreferences.MAX_PROCESSING_METHOD).toString());