test_class.declarator: TEST_RUNNABLE = () -> {
      }
test_class.modifier: private static final
test_class.original_string: private static final Runnable TEST_RUNNABLE = () -> {
      };
test_class.type: Runnable
test_class.var_name: TEST_RUNNABLE
test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/common/ThreadFactoryBuilderTest.java
test_class.identifier: ThreadFactoryBuilderTest
test_case.body: @Test
      public void testWithDaemonThreads() {
          ThreadFactory threadFactory = ThreadFactoryBuilder.create().withDaemonThreads(true).build();
          assertThat(threadFactory.newThread(TEST_RUNNABLE).isDaemon(), is(true));
  
          threadFactory = ThreadFactoryBuilder.create().withDaemonThreads(false).build();
          assertThat(threadFactory.newThread(TEST_RUNNABLE).isDaemon(), is(false));
      }
test_case.class_method_signature: ThreadFactoryBuilderTest.testWithDaemonThreads()
test_case.full_signature: @Test public void testWithDaemonThreads()
test_case.identifier: testWithDaemonThreads
test_case.invocations: build withDaemonThreads create assertThat isDaemon newThread is build withDaemonThreads create assertThat isDaemon newThread is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithDaemonThreads()
focal_class.declarator: DEFAULT_NAME_PREFIX = "OH"
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_NAME_PREFIX = "OH";
focal_class.type: String
focal_class.var_name: DEFAULT_NAME_PREFIX
focal_class.declarator: wrappedThreadFactory
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable ThreadFactory wrappedThreadFactory;
focal_class.type: ThreadFactory
focal_class.var_name: wrappedThreadFactory
focal_class.declarator: name
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: namePrefix = DEFAULT_NAME_PREFIX
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String namePrefix = DEFAULT_NAME_PREFIX;
focal_class.type: String
focal_class.var_name: namePrefix
focal_class.declarator: daemonThreads
focal_class.modifier: private
focal_class.original_string: private boolean daemonThreads;
focal_class.type: boolean
focal_class.var_name: daemonThreads
focal_class.declarator: uncaughtExceptionHandler
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable UncaughtExceptionHandler uncaughtExceptionHandler;
focal_class.type: UncaughtExceptionHandler
focal_class.var_name: uncaughtExceptionHandler
focal_class.declarator: priority
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable Integer priority;
focal_class.type: Integer
focal_class.var_name: priority
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/common/ThreadFactoryBuilder.java
focal_class.identifier: ThreadFactoryBuilder
focal_class.class_method_signature: ThreadFactoryBuilder.create()
focal_class.full_signature: public static ThreadFactoryBuilder create()
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder create()
focal_class.class_method_signature: ThreadFactoryBuilder.ThreadFactoryBuilder()
focal_class.full_signature: private  ThreadFactoryBuilder()
focal_class.identifier: ThreadFactoryBuilder
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ThreadFactoryBuilder()
focal_class.class_method_signature: ThreadFactoryBuilder.withWrappedThreadFactory(@Nullable ThreadFactory wrappedThreadFactory)
focal_class.full_signature: public ThreadFactoryBuilder withWrappedThreadFactory(@Nullable ThreadFactory wrappedThreadFactory)
focal_class.identifier: withWrappedThreadFactory
focal_class.modifiers: public
focal_class.parameters: (@Nullable ThreadFactory wrappedThreadFactory)
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder withWrappedThreadFactory(@Nullable ThreadFactory wrappedThreadFactory)
focal_class.class_method_signature: ThreadFactoryBuilder.withName(@Nullable String name)
focal_class.full_signature: public ThreadFactoryBuilder withName(@Nullable String name)
focal_class.identifier: withName
focal_class.modifiers: public
focal_class.parameters: (@Nullable String name)
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder withName(@Nullable String name)
focal_class.class_method_signature: ThreadFactoryBuilder.withNamePrefix(@Nullable String namePrefix)
focal_class.full_signature: public ThreadFactoryBuilder withNamePrefix(@Nullable String namePrefix)
focal_class.identifier: withNamePrefix
focal_class.modifiers: public
focal_class.parameters: (@Nullable String namePrefix)
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder withNamePrefix(@Nullable String namePrefix)
focal_class.class_method_signature: ThreadFactoryBuilder.withDaemonThreads(boolean daemonThreads)
focal_class.full_signature: public ThreadFactoryBuilder withDaemonThreads(boolean daemonThreads)
focal_class.identifier: withDaemonThreads
focal_class.modifiers: public
focal_class.parameters: (boolean daemonThreads)
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder withDaemonThreads(boolean daemonThreads)
focal_class.class_method_signature: ThreadFactoryBuilder.withUncaughtExceptionHandler(
              @Nullable UncaughtExceptionHandler uncaughtExceptionHandler)
focal_class.full_signature: public ThreadFactoryBuilder withUncaughtExceptionHandler(
              @Nullable UncaughtExceptionHandler uncaughtExceptionHandler)
focal_class.identifier: withUncaughtExceptionHandler
focal_class.modifiers: public
focal_class.parameters: (
              @Nullable UncaughtExceptionHandler uncaughtExceptionHandler)
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder withUncaughtExceptionHandler(
              @Nullable UncaughtExceptionHandler uncaughtExceptionHandler)
focal_class.class_method_signature: ThreadFactoryBuilder.withPriority(@Nullable Integer priority)
focal_class.full_signature: public ThreadFactoryBuilder withPriority(@Nullable Integer priority)
focal_class.identifier: withPriority
focal_class.modifiers: public
focal_class.parameters: (@Nullable Integer priority)
focal_class.return: ThreadFactoryBuilder
focal_class.signature: ThreadFactoryBuilder withPriority(@Nullable Integer priority)
focal_class.class_method_signature: ThreadFactoryBuilder.build()
focal_class.full_signature: public ThreadFactory build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ThreadFactory
focal_class.signature: ThreadFactory build()
focal_class.class_method_signature: ThreadFactoryBuilder.build(ThreadFactory wrappedThreadFactory, @Nullable String namePrefix,
              @Nullable String name, boolean daemonThreads, @Nullable UncaughtExceptionHandler uncaughtExceptionHandler,
              @Nullable Integer priority)
focal_class.full_signature: private static ThreadFactory build(ThreadFactory wrappedThreadFactory, @Nullable String namePrefix,
              @Nullable String name, boolean daemonThreads, @Nullable UncaughtExceptionHandler uncaughtExceptionHandler,
              @Nullable Integer priority)
focal_class.identifier: build
focal_class.modifiers: private static
focal_class.parameters: (ThreadFactory wrappedThreadFactory, @Nullable String namePrefix,
              @Nullable String name, boolean daemonThreads, @Nullable UncaughtExceptionHandler uncaughtExceptionHandler,
              @Nullable Integer priority)
focal_class.return: ThreadFactory
focal_class.signature: ThreadFactory build(ThreadFactory wrappedThreadFactory, @Nullable String namePrefix,
              @Nullable String name, boolean daemonThreads, @Nullable UncaughtExceptionHandler uncaughtExceptionHandler,
              @Nullable Integer priority)
focal_method.body: public ThreadFactoryBuilder withDaemonThreads(boolean daemonThreads) {
          this.daemonThreads = daemonThreads;
          return this;
      }
focal_method.class_method_signature: ThreadFactoryBuilder.withDaemonThreads(boolean daemonThreads)
focal_method.full_signature: public ThreadFactoryBuilder withDaemonThreads(boolean daemonThreads)
focal_method.identifier: withDaemonThreads
focal_method.modifiers: public
focal_method.parameters: (boolean daemonThreads)
focal_method.return: ThreadFactoryBuilder
focal_method.signature: ThreadFactoryBuilder withDaemonThreads(boolean daemonThreads)