test_class.file: jtss/src/test/java/ec/tss/tsproviders/utils/ByteArrayConverterTest.java
test_class.identifier: ByteArrayConverterTest
test_case.body: @Test
      @SuppressWarnings("null")
      public void testInstance() {
          Assertions.assertThatThrownBy(() -> ByteArrayConverter.setInstance(null))
                  .isInstanceOf(NullPointerException.class);
  
          ByteArrayConverter c1 = new ByteArrayConverter() {
              @Override
              public byte[] fromDoubleArray(double[] input) {
                  throw new RuntimeException();
              }
          };
          Assertions.assertThatThrownBy(() -> ByteArrayConverter.setInstance(c1))
                  .isInstanceOf(IllegalArgumentException.class)
                  .hasCauseInstanceOf(RuntimeException.class);
  
          ByteArrayConverter c2 = new ByteArrayConverter() {
              @Override
              public double[] toDoubleArray(byte[] input) {
                  return new double[0];
              }
          };
          Assertions.assertThatThrownBy(() -> ByteArrayConverter.setInstance(c2))
                  .isInstanceOf(IllegalArgumentException.class)
                  .hasNoCause();
      }
test_case.class_method_signature: ByteArrayConverterTest.testInstance()
test_case.full_signature: @Test @SuppressWarnings("null") public void testInstance()
test_case.identifier: testInstance
test_case.invocations: isInstanceOf assertThatThrownBy setInstance hasCauseInstanceOf isInstanceOf assertThatThrownBy setInstance hasNoCause isInstanceOf assertThatThrownBy setInstance
test_case.modifiers: @Test @SuppressWarnings("null") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInstance()
focal_class.declarator: INSTANCE = new AtomicReference<>(getDefault())
focal_class.modifier: private static final
focal_class.original_string: private static final AtomicReference<ByteArrayConverter> INSTANCE = new AtomicReference<>(getDefault());
focal_class.type: AtomicReference<ByteArrayConverter>
focal_class.var_name: INSTANCE
focal_class.file: jtss/src/main/java/ec/tss/tsproviders/utils/ByteArrayConverter.java
focal_class.identifier: ByteArrayConverter
focal_class.class_method_signature: ByteArrayConverter.getInstance()
focal_class.full_signature: @NonNull public static final ByteArrayConverter getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: @NonNull public static final
focal_class.parameters: ()
focal_class.return: ByteArrayConverter
focal_class.signature: ByteArrayConverter getInstance()
focal_class.class_method_signature: ByteArrayConverter.setInstance(@NonNull ByteArrayConverter s)
focal_class.full_signature: public static final void setInstance(@NonNull ByteArrayConverter s)
focal_class.identifier: setInstance
focal_class.modifiers: public static final
focal_class.parameters: (@NonNull ByteArrayConverter s)
focal_class.return: void
focal_class.signature: void setInstance(@NonNull ByteArrayConverter s)
focal_class.class_method_signature: ByteArrayConverter.fromDoubleArray(@NonNull double[] input)
focal_class.full_signature: @NonNull @NewObject public byte[] fromDoubleArray(@NonNull double[] input)
focal_class.identifier: fromDoubleArray
focal_class.modifiers: @NonNull @NewObject public
focal_class.parameters: (@NonNull double[] input)
focal_class.return: byte[]
focal_class.signature: byte[] fromDoubleArray(@NonNull double[] input)
focal_class.class_method_signature: ByteArrayConverter.toDoubleArray(@NonNull byte[] input)
focal_class.full_signature: @NonNull @NewObject public double[] toDoubleArray(@NonNull byte[] input)
focal_class.identifier: toDoubleArray
focal_class.modifiers: @NonNull @NewObject public
focal_class.parameters: (@NonNull byte[] input)
focal_class.return: double[]
focal_class.signature: double[] toDoubleArray(@NonNull byte[] input)
focal_class.class_method_signature: ByteArrayConverter.getDefault()
focal_class.full_signature: @NonNull public static final ByteArrayConverter getDefault()
focal_class.identifier: getDefault
focal_class.modifiers: @NonNull public static final
focal_class.parameters: ()
focal_class.return: ByteArrayConverter
focal_class.signature: ByteArrayConverter getDefault()
focal_class.class_method_signature: ByteArrayConverter.getDeflate(int level, boolean nowrap)
focal_class.full_signature: @NonNull public static final ByteArrayConverter getDeflate(int level, boolean nowrap)
focal_class.identifier: getDeflate
focal_class.modifiers: @NonNull public static final
focal_class.parameters: (int level, boolean nowrap)
focal_class.return: ByteArrayConverter
focal_class.signature: ByteArrayConverter getDeflate(int level, boolean nowrap)
focal_class.class_method_signature: ByteArrayConverter.check(ByteArrayConverter converter)
focal_class.full_signature: private static ByteArrayConverter check(ByteArrayConverter converter)
focal_class.identifier: check
focal_class.modifiers: private static
focal_class.parameters: (ByteArrayConverter converter)
focal_class.return: ByteArrayConverter
focal_class.signature: ByteArrayConverter check(ByteArrayConverter converter)
focal_method.body: public static final void setInstance(@NonNull ByteArrayConverter s) throws IllegalArgumentException {
          INSTANCE.set(check(Objects.requireNonNull(s)));
      }
focal_method.class_method_signature: ByteArrayConverter.setInstance(@NonNull ByteArrayConverter s)
focal_method.full_signature: public static final void setInstance(@NonNull ByteArrayConverter s)
focal_method.identifier: setInstance
focal_method.invocations: set check requireNonNull
focal_method.modifiers: public static final
focal_method.parameters: (@NonNull ByteArrayConverter s)
focal_method.return: void
focal_method.signature: void setInstance(@NonNull ByteArrayConverter s)