|
|
@ -150,9 +150,16 @@ public class MethodAnalyzer implements Analyzer { |
|
|
|
public void dumpSource(TabbedPrintWriter writer) |
|
|
|
public void dumpSource(TabbedPrintWriter writer) |
|
|
|
throws IOException |
|
|
|
throws IOException |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (synth != null && synth.getKind() != synth.UNKNOWN) |
|
|
|
if (synth != null) { |
|
|
|
// We don't need this class anymore (hopefully?)
|
|
|
|
// We don't need this class anymore (hopefully?)
|
|
|
|
|
|
|
|
if (synth.getKind() == synth.GETCLASS) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
if (synth.getKind() >= synth.ACCESSGETFIELD |
|
|
|
|
|
|
|
&& synth.getKind() <= synth.ACCESSSTATICMETHOD |
|
|
|
|
|
|
|
&& (Decompiler.options & Decompiler.OPTION_INNER) != 0 |
|
|
|
|
|
|
|
&& (Decompiler.options & Decompiler.OPTION_ANON) != 0) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (isConstructor && classAnalyzer.constructors.length == 1 |
|
|
|
if (isConstructor && classAnalyzer.constructors.length == 1 |
|
|
|
&& (methodType.getParameterTypes().length == 0 |
|
|
|
&& (methodType.getParameterTypes().length == 0 |
|
|
|