getFieldIndex returns -1, if it can't find field.

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1195 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent b2783d0d69
commit 761e734973
  1. 3
      jode/jode/decompiler/ClassAnalyzer.java.in

@ -124,8 +124,7 @@ public class ClassAnalyzer
&& fields[i].getType().equals(fieldType))
return i;
}
throw new NoSuchElementException
("Field "+fieldType+" "+clazz.getName()+"."+fieldName);
return -1;
}
public MethodAnalyzer getMethod(String methodName, MethodType methodType) {

Loading…
Cancel
Save