diff --git a/jode/jode/decompiler/MethodAnalyzer.java b/jode/jode/decompiler/MethodAnalyzer.java index 6bfdfca..9a21e35 100644 --- a/jode/jode/decompiler/MethodAnalyzer.java +++ b/jode/jode/decompiler/MethodAnalyzer.java @@ -118,7 +118,8 @@ public class MethodAnalyzer implements Analyzer { } if (isConstructor() - && classAnalyzer.getParent() instanceof ClassAnalyzer) { + && classAnalyzer.getParent() instanceof ClassAnalyzer + && !classAnalyzer.isStatic()) { ClassAnalyzer parent = (ClassAnalyzer) classAnalyzer.getParent(); LocalInfo clazz = code.getParamInfo(1); clazz.setType(Type.tClass(parent.getClazz()));