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. 10
      jode/jode/decompiler/CodeAnalyzer.java

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

Loading…
Cancel
Save