code: public void addField(String fieldName, Class<?> fieldType, boolean isPublic, boolean isStatic, boolean isFinal, String initCode) throws CannotCompileException, NotFoundException {
  		CtField f = new CtField(resolve(fieldType), fieldName, clazz);
  		int modifiers = 0;
  		modifiers += isPublic ? Modifier.PUBLIC : Modifier.PRIVATE;
  		if (isStatic) {
  			modifiers += Modifier.STATIC;
  		}
  		if (isFinal) {
  			modifiers += Modifier.FINAL;
  		}
  		f.setModifiers(modifiers);
  		if (initCode != null) {
  			clazz.addField(f, initCode);
  		}
  		else {
  			clazz.addField(f);
  		}
  	}
docs: <p>addField.</p>
  
  @param fieldName a {@link java.lang.String} object.
  @param fieldType a {@link java.lang.Class} object.
  @param isPublic a boolean.
  @param isStatic a boolean.
  @param isFinal a boolean.
  @param initCode a {@link java.lang.String} object.
  @throws javassist.CannotCompileException if any.
  @throws javassist.NotFoundException if any.