public void printFields(Class<?> c){
		Field[] declaredfields = c.getDeclaredFields();
		Field[] fields = c.getFields();
		ArrayList<Field> fieldList = new ArrayList<Field>(fields.length); 
		for(int i = 0; i < fields.length; i++){
			fieldList.add(fields[i]);
		}
		for(int i = 0; i < declaredfields.length; i++){
			if(!fieldList.contains(declaredfields[i])){
				fieldList.add(declaredfields[i]);
			}
		}
		Field[] allFields = new Field[fieldList.size()];
		for(int i = 0; i < allFields.length; i++){
			allFields[i] = fieldList.get(i);
		}
		printMembers(allFields);
	}