for (int i = 0; i < f.length; i++) if (f[i].getName().equals(fieldName)) {
for (Field aF : f) if (aF.getName().equals(fieldName)) {
	Field findField(String className, String fieldName) {		try {			// System.out.println("Looking for " + className);			JavaClass fieldDefinedIn = getThisClass();			if (!className.equals(getClassName())) {				// System.out.println("Using repository to look for " + className);				fieldDefinedIn = Repository.lookupClass(className);			}			Field[] f = fieldDefinedIn.getFields();			for (int i = 0; i < f.length; i++)				if (f[i].getName().equals(fieldName)) {					// System.out.println("Found " + f[i]);					return f[i];				}			return null;		} catch (ClassNotFoundException e) {			return null;		}	}