|
|
@ -36,6 +36,9 @@ public class TransformConstructors { |
|
|
|
int constrCount = cons.length; |
|
|
|
int constrCount = cons.length; |
|
|
|
StructuredBlock[] sb = new StructuredBlock[constrCount]; |
|
|
|
StructuredBlock[] sb = new StructuredBlock[constrCount]; |
|
|
|
for (int i=0; i< constrCount; ) { |
|
|
|
for (int i=0; i< constrCount; ) { |
|
|
|
|
|
|
|
FlowBlock header = cons[i].getMethodHeader(); |
|
|
|
|
|
|
|
if (!header.hasNoJumps()) |
|
|
|
|
|
|
|
return; |
|
|
|
sb[i] = cons[i].getMethodHeader().block; |
|
|
|
sb[i] = cons[i].getMethodHeader().block; |
|
|
|
// Decompiler.err.println("constr "+i+": "+sb[i]);
|
|
|
|
// Decompiler.err.println("constr "+i+": "+sb[i]);
|
|
|
|
if (!isStatic) { |
|
|
|
if (!isStatic) { |
|
|
@ -133,8 +136,9 @@ public class TransformConstructors { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!clazzAnalyzer.setFieldInitializer(pfo.getFieldName(), |
|
|
|
if (!(clazzAnalyzer |
|
|
|
pfo.getFieldType(), expr)) { |
|
|
|
.getField(pfo.getFieldName(), pfo.getFieldType()) |
|
|
|
|
|
|
|
.setInitializer(expr))) { |
|
|
|
// Decompiler.err.println("setField failed");
|
|
|
|
// Decompiler.err.println("setField failed");
|
|
|
|
break big_loop; |
|
|
|
break big_loop; |
|
|
|
} |
|
|
|
} |
|
|
|