for (int i = 0; i < fieldList.length; ++i) { Field field = fieldList[i];
for (Field field : fieldList) {
	public static Field findField(String className, String fieldName) throws ClassNotFoundException {		JavaClass jclass = Repository.lookupClass(className);		while (jclass != null) {			Field[] fieldList = jclass.getFields();			for (int i = 0; i < fieldList.length; ++i) {				Field field = fieldList[i];				if (field.getName().equals(fieldName)) {					return field;				}			}			jclass = jclass.getSuperClass();		}		return null;	}