super(parameters);
}
public DialogElement make() throws ClassNotFoundException {
Hidden hiddenFieldAnnotation = getAnnotation(Hidden.class);
HiddenWidgetParameters parameters = new HiddenWidgetParameters();
parameters.setName(getNameForField());
parameters.setFieldName(getFieldNameForField());
parameters.setFieldLabel(getFieldLabelForField());
parameters.setFieldDescription(getFieldDescriptionForField());
parameters.setAllowBlank(!getIsRequiredForField());
parameters.setDefaultValue(getDefaultValueForField());
parameters.setHideLabel(getHideLabelForField());
parameters.setListeners(getListeners());
parameters.setAdditionalProperties(getAdditionalPropertiesForField());
parameters.setValue(hiddenFieldAnnotation.value());
return new HiddenWidget(parameters);
}