test_class.declarator: KEY1 = "key1"
test_class.modifier: private static final
test_class.original_string: private static final String KEY1 = "key1";
test_class.type: String
test_class.var_name: KEY1
test_class.declarator: KEY2 = "key2"
test_class.modifier: private static final
test_class.original_string: private static final String KEY2 = "key2";
test_class.type: String
test_class.var_name: KEY2
test_class.declarator: VALUE1 = "value1"
test_class.modifier: private static final
test_class.original_string: private static final String VALUE1 = "value1";
test_class.type: String
test_class.var_name: VALUE1
test_class.declarator: VALUE2 = "value2"
test_class.modifier: private static final
test_class.original_string: private static final String VALUE2 = "value2";
test_class.type: String
test_class.var_name: VALUE2
test_class.declarator: properties = new HashMap<String, String>() {
          private static final long serialVersionUID = 1L;
          {
              put(KEY1, VALUE1);
              put(KEY2, VALUE2);
          }
      }
test_class.modifier: private final
test_class.original_string: private final Map<String, String> properties = new HashMap<String, String>() {
          private static final long serialVersionUID = 1L;
          {
              put(KEY1, VALUE1);
              put(KEY2, VALUE2);
          }
      };
test_class.type: Map<String, String>
test_class.var_name: properties
test_class.declarator: builder
test_class.modifier: private
test_class.original_string: private ChannelBuilder builder;
test_class.type: ChannelBuilder
test_class.var_name: builder
test_class.declarator: channel
test_class.modifier: private
test_class.original_string: private Channel channel;
test_class.type: Channel
test_class.var_name: channel
test_class.file: bundles/org.openhab.core.thing/src/test/java/org/openhab/core/thing/binding/builder/ChannelBuilderTest.java
test_class.identifier: ChannelBuilderTest
test_case.body: @Test
      public void testChannelBuilder() {
          assertThat(channel.getAcceptedItemType(), is(SYSTEM_OUTDOOR_TEMPERATURE.getItemType()));
          assertThat(channel.getChannelTypeUID(), is(SYSTEM_OUTDOOR_TEMPERATURE.getUID()));
          assertThat(channel.getDefaultTags(), hasSize(0));
          assertThat(channel.getDescription(), is("My test channel"));
          assertThat(channel.getKind(), is(ChannelKind.STATE));
          assertThat(channel.getLabel(), is("Test"));
          assertThat(channel.getProperties().size(), is(2));
          assertThat(channel.getProperties().get(KEY1), is(VALUE1));
          assertThat(channel.getProperties().get(KEY2), is(VALUE2));
      }
test_case.class_method_signature: ChannelBuilderTest.testChannelBuilder()
test_case.full_signature: @Test public void testChannelBuilder()
test_case.identifier: testChannelBuilder
test_case.invocations: assertThat getAcceptedItemType is getItemType assertThat getChannelTypeUID is getUID assertThat getDefaultTags hasSize assertThat getDescription is assertThat getKind is assertThat getLabel is assertThat size getProperties is assertThat get getProperties is assertThat get getProperties is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testChannelBuilder()
focal_class.declarator: channelUID
focal_class.modifier: private final
focal_class.original_string: private final ChannelUID channelUID;
focal_class.type: ChannelUID
focal_class.var_name: channelUID
focal_class.declarator: acceptedItemType
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String acceptedItemType;
focal_class.type: String
focal_class.var_name: acceptedItemType
focal_class.declarator: kind
focal_class.modifier: private
focal_class.original_string: private ChannelKind kind;
focal_class.type: ChannelKind
focal_class.var_name: kind
focal_class.declarator: configuration
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable Configuration configuration;
focal_class.type: Configuration
focal_class.var_name: configuration
focal_class.declarator: defaultTags
focal_class.modifier: private
focal_class.original_string: private Set<String> defaultTags;
focal_class.type: Set<String>
focal_class.var_name: defaultTags
focal_class.declarator: properties
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable Map<String, String> properties;
focal_class.type: Map<String, String>
focal_class.var_name: properties
focal_class.declarator: label
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String label;
focal_class.type: String
focal_class.var_name: label
focal_class.declarator: description
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String description;
focal_class.type: String
focal_class.var_name: description
focal_class.declarator: channelTypeUID
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable ChannelTypeUID channelTypeUID;
focal_class.type: ChannelTypeUID
focal_class.var_name: channelTypeUID
focal_class.declarator: autoUpdatePolicy
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable AutoUpdatePolicy autoUpdatePolicy;
focal_class.type: AutoUpdatePolicy
focal_class.var_name: autoUpdatePolicy
focal_class.file: bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/binding/builder/ChannelBuilder.java
focal_class.identifier: ChannelBuilder
focal_class.class_method_signature: ChannelBuilder.ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_class.full_signature: private  ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_class.identifier: ChannelBuilder
focal_class.modifiers: private
focal_class.parameters: (ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_class.signature:  ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_class.class_method_signature: ChannelBuilder.create(ChannelUID channelUID)
focal_class.full_signature: public static ChannelBuilder create(ChannelUID channelUID)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (ChannelUID channelUID)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder create(ChannelUID channelUID)
focal_class.class_method_signature: ChannelBuilder.create(ChannelUID channelUID, @Nullable String acceptedItemType)
focal_class.full_signature: public static ChannelBuilder create(ChannelUID channelUID, @Nullable String acceptedItemType)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (ChannelUID channelUID, @Nullable String acceptedItemType)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder create(ChannelUID channelUID, @Nullable String acceptedItemType)
focal_class.class_method_signature: ChannelBuilder.create(Channel channel)
focal_class.full_signature: public static ChannelBuilder create(Channel channel)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (Channel channel)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder create(Channel channel)
focal_class.class_method_signature: ChannelBuilder.withType(@Nullable ChannelTypeUID channelTypeUID)
focal_class.full_signature: public ChannelBuilder withType(@Nullable ChannelTypeUID channelTypeUID)
focal_class.identifier: withType
focal_class.modifiers: public
focal_class.parameters: (@Nullable ChannelTypeUID channelTypeUID)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withType(@Nullable ChannelTypeUID channelTypeUID)
focal_class.class_method_signature: ChannelBuilder.withConfiguration(Configuration configuration)
focal_class.full_signature: public ChannelBuilder withConfiguration(Configuration configuration)
focal_class.identifier: withConfiguration
focal_class.modifiers: public
focal_class.parameters: (Configuration configuration)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withConfiguration(Configuration configuration)
focal_class.class_method_signature: ChannelBuilder.withProperties(Map<String, String> properties)
focal_class.full_signature: public ChannelBuilder withProperties(Map<String, String> properties)
focal_class.identifier: withProperties
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> properties)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withProperties(Map<String, String> properties)
focal_class.class_method_signature: ChannelBuilder.withLabel(String label)
focal_class.full_signature: public ChannelBuilder withLabel(String label)
focal_class.identifier: withLabel
focal_class.modifiers: public
focal_class.parameters: (String label)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withLabel(String label)
focal_class.class_method_signature: ChannelBuilder.withDescription(String description)
focal_class.full_signature: public ChannelBuilder withDescription(String description)
focal_class.identifier: withDescription
focal_class.modifiers: public
focal_class.parameters: (String description)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withDescription(String description)
focal_class.class_method_signature: ChannelBuilder.withDefaultTags(Set<String> defaultTags)
focal_class.full_signature: public ChannelBuilder withDefaultTags(Set<String> defaultTags)
focal_class.identifier: withDefaultTags
focal_class.modifiers: public
focal_class.parameters: (Set<String> defaultTags)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withDefaultTags(Set<String> defaultTags)
focal_class.class_method_signature: ChannelBuilder.withKind(ChannelKind kind)
focal_class.full_signature: public ChannelBuilder withKind(ChannelKind kind)
focal_class.identifier: withKind
focal_class.modifiers: public
focal_class.parameters: (ChannelKind kind)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withKind(ChannelKind kind)
focal_class.class_method_signature: ChannelBuilder.withAcceptedItemType(@Nullable String acceptedItemType)
focal_class.full_signature: public ChannelBuilder withAcceptedItemType(@Nullable String acceptedItemType)
focal_class.identifier: withAcceptedItemType
focal_class.modifiers: public
focal_class.parameters: (@Nullable String acceptedItemType)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withAcceptedItemType(@Nullable String acceptedItemType)
focal_class.class_method_signature: ChannelBuilder.withAutoUpdatePolicy(@Nullable AutoUpdatePolicy policy)
focal_class.full_signature: public ChannelBuilder withAutoUpdatePolicy(@Nullable AutoUpdatePolicy policy)
focal_class.identifier: withAutoUpdatePolicy
focal_class.modifiers: public
focal_class.parameters: (@Nullable AutoUpdatePolicy policy)
focal_class.return: ChannelBuilder
focal_class.signature: ChannelBuilder withAutoUpdatePolicy(@Nullable AutoUpdatePolicy policy)
focal_class.class_method_signature: ChannelBuilder.build()
focal_class.full_signature: @SuppressWarnings("deprecation") public Channel build()
focal_class.identifier: build
focal_class.modifiers: @SuppressWarnings("deprecation") public
focal_class.parameters: ()
focal_class.return: Channel
focal_class.signature: Channel build()
focal_method.body: private ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags) {
          this.channelUID = channelUID;
          this.acceptedItemType = acceptedItemType;
          this.defaultTags = defaultTags;
          this.kind = ChannelKind.STATE;
      }
focal_method.class_method_signature: ChannelBuilder.ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_method.full_signature: private  ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_method.identifier: ChannelBuilder
focal_method.modifiers: private
focal_method.parameters: (ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)
focal_method.signature:  ChannelBuilder(ChannelUID channelUID, @Nullable String acceptedItemType, Set<String> defaultTags)