code: public void removeField(final JavaClassSource targetClass, final Field<JavaClassSource> field)
     {
        PropertySource<JavaClassSource> property = targetClass.getProperty(field.getName());
        property.setMutable(false).setAccessible(false);
        targetClass.removeProperty(property);
        updateToString(targetClass);
     }
docs: Removes the field, including its getters and setters and updating toString()
  
  @param targetClass The class, which field will be removed
  @param field The field to be removed