ClassAnalyzer now handles OPTION_IMMEDIATE flag

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1035 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 25 years ago
parent cb2026eac7
commit 6e053f676e
  1. 11
      jode/jode/decompiler/MethodAnalyzer.java

@ -379,8 +379,7 @@ public class MethodAnalyzer implements Analyzer, Scope, ClassDeclarer {
if (!isConstructor)
imports.useType(methodType.getReturnType());
if ((Decompiler.options & Decompiler.OPTION_IMMEDIATE) == 0)
analyzeCode();
analyzeCode();
}
public final LocalInfo getParamInfo(int nr) {
@ -538,14 +537,6 @@ public class MethodAnalyzer implements Analyzer, Scope, ClassDeclarer {
&& classAnalyzer.outerValues.length > 0 ? 1 : 0;
}
if ((Decompiler.options & Decompiler.OPTION_IMMEDIATE) != 0
&& code != null) {
// We do the analyzeCode() here, to get
// immediate output.
analyzeCode();
}
if (minfo.isDeprecated()) {
writer.println("/**");
writer.println(" * @deprecated");

Loading…
Cancel
Save