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; method = ma;
env = e; env = e;
AttributeInfo attr = code.findAttribute("LocalVariableTable"); if (Decompiler.useLVT) {
if (attr != null) AttributeInfo attr = code.findAttribute("LocalVariableTable");
lvt = new LocalVariableTable(bc.getMaxLocals(), if (attr != null)
method.classAnalyzer, attr); lvt = new LocalVariableTable(bc.getMaxLocals(),
method.classAnalyzer, attr);
}
int paramCount = method.getParamCount(); int paramCount = method.getParamCount();
param = new LocalInfo[paramCount]; param = new LocalInfo[paramCount];

Loading…
Cancel
Save