test_class.declarator: source
test_class.modifier: private
test_class.original_string: private StateDescriptionFragmentImpl source;
test_class.type: StateDescriptionFragmentImpl
test_class.var_name: source
test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/internal/types/StateDescriptionFragmentImplTest.java
test_class.identifier: StateDescriptionFragmentImplTest
test_case.body: @Test
      @SuppressWarnings("null")
      public void toStateDescription() {
          StateDescription stateDescription = source.toStateDescription();
  
          assertThat(stateDescription.getMinimum(), is(source.getMinimum()));
          assertThat(stateDescription.getMaximum(), is(source.getMaximum()));
          assertThat(stateDescription.getStep(), is(source.getStep()));
          assertThat(stateDescription.getPattern(), is(source.getPattern()));
          assertThat(stateDescription.isReadOnly(), is(source.isReadOnly()));
          assertThat(stateDescription.getOptions(), is(source.getOptions()));
      }
test_case.class_method_signature: StateDescriptionFragmentImplTest.toStateDescription()
test_case.full_signature: @Test @SuppressWarnings("null") public void toStateDescription()
test_case.identifier: toStateDescription
test_case.invocations: toStateDescription assertThat getMinimum is getMinimum assertThat getMaximum is getMaximum assertThat getStep is getStep assertThat getPattern is getPattern assertThat isReadOnly is isReadOnly assertThat getOptions is getOptions
test_case.modifiers: @Test @SuppressWarnings("null") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toStateDescription()
focal_class.declarator: minimum
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable BigDecimal minimum;
focal_class.type: BigDecimal
focal_class.var_name: minimum
focal_class.declarator: maximum
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable BigDecimal maximum;
focal_class.type: BigDecimal
focal_class.var_name: maximum
focal_class.declarator: step
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable BigDecimal step;
focal_class.type: BigDecimal
focal_class.var_name: step
focal_class.declarator: pattern
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String pattern;
focal_class.type: String
focal_class.var_name: pattern
focal_class.declarator: readOnly
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable Boolean readOnly;
focal_class.type: Boolean
focal_class.var_name: readOnly
focal_class.declarator: options
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable List<StateOption> options;
focal_class.type: List<StateOption>
focal_class.var_name: options
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/internal/types/StateDescriptionFragmentImpl.java
focal_class.identifier: StateDescriptionFragmentImpl
focal_class.interfaces: implements StateDescriptionFragment
focal_class.class_method_signature: StateDescriptionFragmentImpl.StateDescriptionFragmentImpl()
focal_class.full_signature: public  StateDescriptionFragmentImpl()
focal_class.identifier: StateDescriptionFragmentImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  StateDescriptionFragmentImpl()
focal_class.class_method_signature: StateDescriptionFragmentImpl.StateDescriptionFragmentImpl(@Nullable BigDecimal minimum, @Nullable BigDecimal maximum,
              @Nullable BigDecimal step, @Nullable String pattern, @Nullable Boolean readOnly,
              @Nullable List<StateOption> options)
focal_class.full_signature: @Deprecated public  StateDescriptionFragmentImpl(@Nullable BigDecimal minimum, @Nullable BigDecimal maximum,
              @Nullable BigDecimal step, @Nullable String pattern, @Nullable Boolean readOnly,
              @Nullable List<StateOption> options)
focal_class.identifier: StateDescriptionFragmentImpl
focal_class.modifiers: @Deprecated public
focal_class.parameters: (@Nullable BigDecimal minimum, @Nullable BigDecimal maximum,
              @Nullable BigDecimal step, @Nullable String pattern, @Nullable Boolean readOnly,
              @Nullable List<StateOption> options)
focal_class.signature:  StateDescriptionFragmentImpl(@Nullable BigDecimal minimum, @Nullable BigDecimal maximum,
              @Nullable BigDecimal step, @Nullable String pattern, @Nullable Boolean readOnly,
              @Nullable List<StateOption> options)
focal_class.class_method_signature: StateDescriptionFragmentImpl.StateDescriptionFragmentImpl(StateDescription legacy)
focal_class.full_signature: @Deprecated public  StateDescriptionFragmentImpl(StateDescription legacy)
focal_class.identifier: StateDescriptionFragmentImpl
focal_class.modifiers: @Deprecated public
focal_class.parameters: (StateDescription legacy)
focal_class.signature:  StateDescriptionFragmentImpl(StateDescription legacy)
focal_class.class_method_signature: StateDescriptionFragmentImpl.StateDescriptionFragmentImpl(StateDescriptionFragmentImpl source)
focal_class.full_signature: public  StateDescriptionFragmentImpl(StateDescriptionFragmentImpl source)
focal_class.identifier: StateDescriptionFragmentImpl
focal_class.modifiers: public
focal_class.parameters: (StateDescriptionFragmentImpl source)
focal_class.signature:  StateDescriptionFragmentImpl(StateDescriptionFragmentImpl source)
focal_class.class_method_signature: StateDescriptionFragmentImpl.getMinimum()
focal_class.full_signature: @Override public @Nullable BigDecimal getMinimum()
focal_class.identifier: getMinimum
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: ()
focal_class.return: BigDecimal
focal_class.signature: BigDecimal getMinimum()
focal_class.class_method_signature: StateDescriptionFragmentImpl.setMinimum(BigDecimal minimum)
focal_class.full_signature: public void setMinimum(BigDecimal minimum)
focal_class.identifier: setMinimum
focal_class.modifiers: public
focal_class.parameters: (BigDecimal minimum)
focal_class.return: void
focal_class.signature: void setMinimum(BigDecimal minimum)
focal_class.class_method_signature: StateDescriptionFragmentImpl.getMaximum()
focal_class.full_signature: @Override public @Nullable BigDecimal getMaximum()
focal_class.identifier: getMaximum
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: ()
focal_class.return: BigDecimal
focal_class.signature: BigDecimal getMaximum()
focal_class.class_method_signature: StateDescriptionFragmentImpl.setMaximum(BigDecimal maximum)
focal_class.full_signature: public void setMaximum(BigDecimal maximum)
focal_class.identifier: setMaximum
focal_class.modifiers: public
focal_class.parameters: (BigDecimal maximum)
focal_class.return: void
focal_class.signature: void setMaximum(BigDecimal maximum)
focal_class.class_method_signature: StateDescriptionFragmentImpl.getStep()
focal_class.full_signature: @Override public @Nullable BigDecimal getStep()
focal_class.identifier: getStep
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: ()
focal_class.return: BigDecimal
focal_class.signature: BigDecimal getStep()
focal_class.class_method_signature: StateDescriptionFragmentImpl.setStep(BigDecimal step)
focal_class.full_signature: public void setStep(BigDecimal step)
focal_class.identifier: setStep
focal_class.modifiers: public
focal_class.parameters: (BigDecimal step)
focal_class.return: void
focal_class.signature: void setStep(BigDecimal step)
focal_class.class_method_signature: StateDescriptionFragmentImpl.getPattern()
focal_class.full_signature: @Override public @Nullable String getPattern()
focal_class.identifier: getPattern
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPattern()
focal_class.class_method_signature: StateDescriptionFragmentImpl.setPattern(String pattern)
focal_class.full_signature: public void setPattern(String pattern)
focal_class.identifier: setPattern
focal_class.modifiers: public
focal_class.parameters: (String pattern)
focal_class.return: void
focal_class.signature: void setPattern(String pattern)
focal_class.class_method_signature: StateDescriptionFragmentImpl.isReadOnly()
focal_class.full_signature: @Override public @Nullable Boolean isReadOnly()
focal_class.identifier: isReadOnly
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: ()
focal_class.return: Boolean
focal_class.signature: Boolean isReadOnly()
focal_class.class_method_signature: StateDescriptionFragmentImpl.setReadOnly(Boolean readOnly)
focal_class.full_signature: public void setReadOnly(Boolean readOnly)
focal_class.identifier: setReadOnly
focal_class.modifiers: public
focal_class.parameters: (Boolean readOnly)
focal_class.return: void
focal_class.signature: void setReadOnly(Boolean readOnly)
focal_class.class_method_signature: StateDescriptionFragmentImpl.getOptions()
focal_class.full_signature: @Override public @Nullable List<StateOption> getOptions()
focal_class.identifier: getOptions
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: ()
focal_class.return: List<StateOption>
focal_class.signature: List<StateOption> getOptions()
focal_class.class_method_signature: StateDescriptionFragmentImpl.setOptions(List<StateOption> options)
focal_class.full_signature: public void setOptions(List<StateOption> options)
focal_class.identifier: setOptions
focal_class.modifiers: public
focal_class.parameters: (List<StateOption> options)
focal_class.return: void
focal_class.signature: void setOptions(List<StateOption> options)
focal_class.class_method_signature: StateDescriptionFragmentImpl.toStateDescription()
focal_class.full_signature: @SuppressWarnings("deprecation") @Override public @Nullable StateDescription toStateDescription()
focal_class.identifier: toStateDescription
focal_class.modifiers: @SuppressWarnings("deprecation") @Override public @Nullable
focal_class.parameters: ()
focal_class.return: StateDescription
focal_class.signature: StateDescription toStateDescription()
focal_class.class_method_signature: StateDescriptionFragmentImpl.merge(StateDescriptionFragment fragment)
focal_class.full_signature: public StateDescriptionFragment merge(StateDescriptionFragment fragment)
focal_class.identifier: merge
focal_class.modifiers: public
focal_class.parameters: (StateDescriptionFragment fragment)
focal_class.return: StateDescriptionFragment
focal_class.signature: StateDescriptionFragment merge(StateDescriptionFragment fragment)
focal_class.class_method_signature: StateDescriptionFragmentImpl.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: StateDescriptionFragmentImpl.equals(@Nullable Object obj)
focal_class.full_signature: @Override public boolean equals(@Nullable Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable Object obj)
focal_class.class_method_signature: StateDescriptionFragmentImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @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);
      }
focal_method.class_method_signature: StateDescriptionFragmentImpl.toStateDescription()
focal_method.full_signature: @SuppressWarnings("deprecation") @Override public @Nullable StateDescription toStateDescription()
focal_method.identifier: toStateDescription
focal_method.invocations: booleanValue
focal_method.modifiers: @SuppressWarnings("deprecation") @Override public @Nullable
focal_method.parameters: ()
focal_method.return: StateDescription
focal_method.signature: StateDescription toStateDescription()