for (int i = 0; i < fieldList.length; ++i) { field = fieldList[i];
for (Field aFieldList : fieldList) { field = aFieldList;
	public static XField findXField(String className, String fieldName, String fieldSig)	        throws ClassNotFoundException {		JavaClass classDefiningField = Repository.lookupClass(className);		Field field = null;		loop:			while (classDefiningField != null) {				Field[] fieldList = classDefiningField.getFields();				for (int i = 0; i < fieldList.length; ++i) {					field = fieldList[i];					if (field.getName().equals(fieldName) && field.getSignature().equals(fieldSig)) {						break loop;					}				}				classDefiningField = classDefiningField.getSuperClass();			}		if (classDefiningField == null)			return null;		else {			String realClassName = classDefiningField.getClassName();			int accessFlags = field.getAccessFlags();			return field.isStatic()			        ? (XField) new StaticField(realClassName, fieldName, fieldSig, accessFlags)			        : (XField) new InstanceField(realClassName, fieldName, fieldSig, accessFlags);		}	}