test_class.declarator: collection2InputStream
test_class.modifier: private
test_class.original_string: private Stream2JSONInputStream collection2InputStream;
test_class.type: Stream2JSONInputStream
test_class.var_name: collection2InputStream
test_class.declarator: GSON = new GsonBuilder().create()
test_class.modifier: private static final
test_class.original_string: private static final Gson GSON = new GsonBuilder().create();
test_class.type: Gson
test_class.var_name: GSON
test_class.file: bundles/org.openhab.core.io.rest/src/test/java/org/openhab/core/io/rest/Stream2JSONInputStreamTest.java
test_class.identifier: Stream2JSONInputStreamTest
test_case.body: @Test
      public void shouldFailForNullSource() throws IOException {
          assertThrows(IllegalArgumentException.class, () -> new Stream2JSONInputStream(null).close());
      }
test_case.class_method_signature: Stream2JSONInputStreamTest.shouldFailForNullSource()
test_case.full_signature: @Test public void shouldFailForNullSource()
test_case.identifier: shouldFailForNullSource
test_case.invocations: assertThrows close
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldFailForNullSource()
focal_class.declarator: iterator
focal_class.modifier: private final
focal_class.original_string: private final Iterator<String> iterator;
focal_class.type: Iterator<String>
focal_class.var_name: iterator
focal_class.declarator: jsonElementStream
focal_class.modifier: private
focal_class.original_string: private InputStream jsonElementStream;
focal_class.type: InputStream
focal_class.var_name: jsonElementStream
focal_class.declarator: firstIteratorElement
focal_class.modifier: private
focal_class.original_string: private boolean firstIteratorElement;
focal_class.type: boolean
focal_class.var_name: firstIteratorElement
focal_class.declarator: gson = new GsonBuilder().setDateFormat(DateTimeType.DATE_PATTERN_WITH_TZ_AND_MS).create()
focal_class.modifier: private final
focal_class.original_string: private final Gson gson = new GsonBuilder().setDateFormat(DateTimeType.DATE_PATTERN_WITH_TZ_AND_MS).create();
focal_class.type: Gson
focal_class.var_name: gson
focal_class.file: bundles/org.openhab.core.io.rest/src/main/java/org/openhab/core/io/rest/Stream2JSONInputStream.java
focal_class.identifier: Stream2JSONInputStream
focal_class.interfaces: implements JSONInputStream
focal_class.class_method_signature: Stream2JSONInputStream.Stream2JSONInputStream(Stream<?> source)
focal_class.full_signature: public  Stream2JSONInputStream(Stream<?> source)
focal_class.identifier: Stream2JSONInputStream
focal_class.modifiers: public
focal_class.parameters: (Stream<?> source)
focal_class.signature:  Stream2JSONInputStream(Stream<?> source)
focal_class.class_method_signature: Stream2JSONInputStream.read()
focal_class.full_signature: @Override public int read()
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int read()
focal_class.class_method_signature: Stream2JSONInputStream.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: Stream2JSONInputStream.fillBuffer()
focal_class.full_signature: private void fillBuffer()
focal_class.identifier: fillBuffer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void fillBuffer()
focal_class.class_method_signature: Stream2JSONInputStream.finished()
focal_class.full_signature: private boolean finished()
focal_class.identifier: finished
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean finished()
focal_class.superclass: extends InputStream
focal_method.body: @Override
      public void close() throws IOException {
          jsonElementStream.close();
      }
focal_method.class_method_signature: Stream2JSONInputStream.close()
focal_method.full_signature: @Override public void close()
focal_method.identifier: close
focal_method.invocations: close
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void close()