class StateDescriptionFragmentImpl implements StateDescriptionFragment {

    @SuppressWarnings("deprecation")
    @Override
    public @Nullable StateDescription toStateDescription() {
        if (minimum == null && maximum == null && step == null && readOnly == null && pattern == null
                && options == null) {
            return null;
        }
        final Boolean ro = readOnly;
        return new StateDescription(minimum, maximum, step, pattern, ro == null ? false : ro.booleanValue(), options);
    }

    public  StateDescriptionFragmentImpl();
    @Deprecated public  StateDescriptionFragmentImpl(@Nullable BigDecimal minimum, @Nullable BigDecimal maximum,
            @Nullable BigDecimal step, @Nullable String pattern, @Nullable Boolean readOnly,
            @Nullable List<StateOption> options);
    @Deprecated public  StateDescriptionFragmentImpl(StateDescription legacy);
    public  StateDescriptionFragmentImpl(StateDescriptionFragmentImpl source);

}