code: public static Field getFieldIgnoreCase(Class c, String name) throws NoSuchFieldException {
  	Field[] fields = c.getFields();
  	for (int i = 0; i < fields.length; i++) {
  	    Field f = fields[i];
  	    // Same Name
  	    if (f.getName().equalsIgnoreCase(name)) {
  		return f;
  	    }
  	}
  	throw new NoSuchFieldException("Field doesn't exist");
      }
docs: same like method getField from Class but ignore case from field name
  
  @param c class to search the field
  @param name name to search
  @return Matching Field
  @throws NoSuchFieldException