check nolvt option

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@298 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 3fc0321064
commit d5ccb055fe
  1. 2
      jode/jode/decompiler/CodeAnalyzer.java

@ -57,10 +57,12 @@ public class CodeAnalyzer implements Analyzer {
method = ma; method = ma;
env = e; env = e;
if (Decompiler.useLVT) {
AttributeInfo attr = code.findAttribute("LocalVariableTable"); AttributeInfo attr = code.findAttribute("LocalVariableTable");
if (attr != null) if (attr != null)
lvt = new LocalVariableTable(bc.getMaxLocals(), lvt = new LocalVariableTable(bc.getMaxLocals(),
method.classAnalyzer, attr); method.classAnalyzer, attr);
}
int paramCount = method.getParamCount(); int paramCount = method.getParamCount();
param = new LocalInfo[paramCount]; param = new LocalInfo[paramCount];

Loading…
Cancel
Save