VM_Field instance_fields[] = type.getInstanceFields(); for (int i = 0; i < instance_fields.length; i++) { VM_Field field = instance_fields[i]; if (field.isPublic() && field.getName() == aName) { return java.lang.reflect.JikesRVMSupport.createField(field); } } throw new NoSuchFieldException(name);
  public Field getField(String name) throws NoSuchFieldException, SecurityException {    checkMemberAccess(Member.PUBLIC);    if (!type.isClassType()) throw new NoSuchFieldException();    VM_Atom aName = VM_Atom.findUnicodeAtom(name);    if (aName == null) throw new NoSuchFieldException(name);    VM_Field static_fields[] = type.getStaticFields();    for (int i = 0; i < static_fields.length; i++) {      VM_Field field = static_fields[i];      if (field.isPublic() && field.getName() == aName) {	return java.lang.reflect.JikesRVMSupport.createField(field);      }    }    VM_Field instance_fields[] = type.getInstanceFields();    for (int i = 0; i < instance_fields.length; i++) {      VM_Field field = instance_fields[i];      if (field.isPublic() && field.getName() == aName) {	return java.lang.reflect.JikesRVMSupport.createField(field);      }    }    throw new NoSuchFieldException(name);  }