test_class.declarator: KNOWN_INT_0 = 23
test_class.modifier: private static final
test_class.original_string: private static final int KNOWN_INT_0 = 23;
test_class.type: int
test_class.var_name: KNOWN_INT_0
test_class.declarator: KNOWN_INT_1 = 42
test_class.modifier: private static final
test_class.original_string: private static final int KNOWN_INT_1 = 42;
test_class.type: int
test_class.var_name: KNOWN_INT_1
test_class.declarator: KNOWN_INT_2 = 1337
test_class.modifier: private static final
test_class.original_string: private static final int KNOWN_INT_2 = 1337;
test_class.type: int
test_class.var_name: KNOWN_INT_2
test_class.declarator: KNOWN_INT_VALUE_LIST = new ArrayList<>()
test_class.modifier: private static final
test_class.original_string: private static final List<JsonValue> KNOWN_INT_VALUE_LIST = new ArrayList<>();
test_class.type: List<JsonValue>
test_class.var_name: KNOWN_INT_VALUE_LIST
test_class.file: json/src/test/java/org/eclipse/ditto/json/ImmutableJsonArrayTest.java
test_class.identifier: ImmutableJsonArrayTest
test_case.body: @Test
      public void testHashCodeAndEquals() {
          final List<JsonValue> stringJsonValueList = toList(JsonValue.of("foo"), JsonValue.of("bar"));
          final List<JsonValue> numberJsonValueList = toList(JsonValue.of(1), JsonValue.of(2), JsonValue.of(3));
          final ImmutableJsonArray redArray = ImmutableJsonArray.of(stringJsonValueList);
          final ImmutableJsonArray blackArray = ImmutableJsonArray.of(numberJsonValueList);
          final ImmutableJsonArray.SoftReferencedValueList
                  redValueList = ImmutableJsonArray.SoftReferencedValueList.of(stringJsonValueList);
          final ImmutableJsonArray.SoftReferencedValueList
                  blackValueList = ImmutableJsonArray.SoftReferencedValueList.of(numberJsonValueList);
  
          EqualsVerifier.forClass(ImmutableJsonArray.class)
                  .withPrefabValues(ImmutableJsonArray.class, redArray, blackArray)
                  .withPrefabValues(ImmutableJsonArray.SoftReferencedValueList.class, redValueList, blackValueList)
                  .withNonnullFields("valueList")
                  .verify();
      }
test_case.class_method_signature: ImmutableJsonArrayTest.testHashCodeAndEquals()
test_case.full_signature: @Test public void testHashCodeAndEquals()
test_case.identifier: testHashCodeAndEquals
test_case.invocations: toList of of toList of of of of of of of verify withNonnullFields withPrefabValues withPrefabValues forClass
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHashCodeAndEquals()
focal_class.declarator: emptyInstance = null
focal_class.modifier: @Nullable private static
focal_class.original_string: @Nullable private static ImmutableJsonArray emptyInstance = null;
focal_class.type: ImmutableJsonArray
focal_class.var_name: emptyInstance
focal_class.declarator: ASSERTION_VALUES_OF_JSON_ARRAY = "The values of the JSON array must not be null!"
focal_class.modifier: private static final
focal_class.original_string: private static final String ASSERTION_VALUES_OF_JSON_ARRAY = "The values of the JSON array must not be null!";
focal_class.type: String
focal_class.var_name: ASSERTION_VALUES_OF_JSON_ARRAY
focal_class.declarator: valueList
focal_class.modifier: private final
focal_class.original_string: private final SoftReferencedValueList valueList;
focal_class.type: SoftReferencedValueList
focal_class.var_name: valueList
focal_class.file: json/src/main/java/org/eclipse/ditto/json/ImmutableJsonArray.java
focal_class.identifier: ImmutableJsonArray
focal_class.interfaces: implements JsonArray
focal_class.class_method_signature: ImmutableJsonArray.ImmutableJsonArray(final SoftReferencedValueList theValueList)
focal_class.full_signature:   ImmutableJsonArray(final SoftReferencedValueList theValueList)
focal_class.identifier: ImmutableJsonArray
focal_class.parameters: (final SoftReferencedValueList theValueList)
focal_class.signature:  ImmutableJsonArray(final SoftReferencedValueList theValueList)
focal_class.class_method_signature: ImmutableJsonArray.empty()
focal_class.full_signature: public static ImmutableJsonArray empty()
focal_class.identifier: empty
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray empty()
focal_class.class_method_signature: ImmutableJsonArray.of(final List<JsonValue> values)
focal_class.full_signature: public static ImmutableJsonArray of(final List<JsonValue> values)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<JsonValue> values)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray of(final List<JsonValue> values)
focal_class.class_method_signature: ImmutableJsonArray.of(final List<JsonValue> values, @Nullable final String stringRepresentation)
focal_class.full_signature: public static ImmutableJsonArray of(final List<JsonValue> values, @Nullable final String stringRepresentation)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<JsonValue> values, @Nullable final String stringRepresentation)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray of(final List<JsonValue> values, @Nullable final String stringRepresentation)
focal_class.class_method_signature: ImmutableJsonArray.of(final List<JsonValue> values, @Nullable final byte[] cborRepresentation)
focal_class.full_signature: public static ImmutableJsonArray of(final List<JsonValue> values, @Nullable final byte[] cborRepresentation)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<JsonValue> values, @Nullable final byte[] cborRepresentation)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray of(final List<JsonValue> values, @Nullable final byte[] cborRepresentation)
focal_class.class_method_signature: ImmutableJsonArray.of(final List<JsonValue> values, @Nullable final String stringRepresentation,
              @Nullable final byte[] cborRepresentation)
focal_class.full_signature: public static ImmutableJsonArray of(final List<JsonValue> values, @Nullable final String stringRepresentation,
              @Nullable final byte[] cborRepresentation)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final List<JsonValue> values, @Nullable final String stringRepresentation,
              @Nullable final byte[] cborRepresentation)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray of(final List<JsonValue> values, @Nullable final String stringRepresentation,
              @Nullable final byte[] cborRepresentation)
focal_class.class_method_signature: ImmutableJsonArray.checkValue(final Object value)
focal_class.full_signature: private static void checkValue(final Object value)
focal_class.identifier: checkValue
focal_class.modifiers: private static
focal_class.parameters: (final Object value)
focal_class.return: void
focal_class.signature: void checkValue(final Object value)
focal_class.class_method_signature: ImmutableJsonArray.checkFurtherValues(final Object furtherValues)
focal_class.full_signature: private static void checkFurtherValues(final Object furtherValues)
focal_class.identifier: checkFurtherValues
focal_class.modifiers: private static
focal_class.parameters: (final Object furtherValues)
focal_class.return: void
focal_class.signature: void checkFurtherValues(final Object furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.isArray()
focal_class.full_signature: @Override public boolean isArray()
focal_class.identifier: isArray
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isArray()
focal_class.class_method_signature: ImmutableJsonArray.asArray()
focal_class.full_signature: @Override public ImmutableJsonArray asArray()
focal_class.identifier: asArray
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray asArray()
focal_class.class_method_signature: ImmutableJsonArray.add(final int value, final int... furtherValues)
focal_class.full_signature: @Override public ImmutableJsonArray add(final int value, final int... furtherValues)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final int value, final int... furtherValues)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray add(final int value, final int... furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.add(final long value, final long... furtherValues)
focal_class.full_signature: @Override public ImmutableJsonArray add(final long value, final long... furtherValues)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final long value, final long... furtherValues)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray add(final long value, final long... furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.add(final double value, final double... furtherValues)
focal_class.full_signature: @Override public ImmutableJsonArray add(final double value, final double... furtherValues)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final double value, final double... furtherValues)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray add(final double value, final double... furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.add(final boolean value, final boolean... furtherValues)
focal_class.full_signature: @Override public ImmutableJsonArray add(final boolean value, final boolean... furtherValues)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final boolean value, final boolean... furtherValues)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray add(final boolean value, final boolean... furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.add(final String value, final String... furtherValues)
focal_class.full_signature: @Override public ImmutableJsonArray add(final String value, final String... furtherValues)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final String value, final String... furtherValues)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray add(final String value, final String... furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.add(final JsonValue value, final JsonValue... furtherValues)
focal_class.full_signature: @Override public ImmutableJsonArray add(final JsonValue value, final JsonValue... furtherValues)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue value, final JsonValue... furtherValues)
focal_class.return: ImmutableJsonArray
focal_class.signature: ImmutableJsonArray add(final JsonValue value, final JsonValue... furtherValues)
focal_class.class_method_signature: ImmutableJsonArray.get(final int index)
focal_class.full_signature: @Override public Optional<JsonValue> get(final int index)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (final int index)
focal_class.return: Optional<JsonValue>
focal_class.signature: Optional<JsonValue> get(final int index)
focal_class.class_method_signature: ImmutableJsonArray.isEmpty()
focal_class.full_signature: @Override public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: ImmutableJsonArray.getSize()
focal_class.full_signature: @Override public int getSize()
focal_class.identifier: getSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSize()
focal_class.class_method_signature: ImmutableJsonArray.contains(final JsonValue value)
focal_class.full_signature: @Override public boolean contains(final JsonValue value)
focal_class.identifier: contains
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue value)
focal_class.return: boolean
focal_class.signature: boolean contains(final JsonValue value)
focal_class.class_method_signature: ImmutableJsonArray.indexOf(final JsonValue value)
focal_class.full_signature: @Override public int indexOf(final JsonValue value)
focal_class.identifier: indexOf
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue value)
focal_class.return: int
focal_class.signature: int indexOf(final JsonValue value)
focal_class.class_method_signature: ImmutableJsonArray.iterator()
focal_class.full_signature: @Override public Iterator<JsonValue> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<JsonValue>
focal_class.signature: Iterator<JsonValue> iterator()
focal_class.class_method_signature: ImmutableJsonArray.stream()
focal_class.full_signature: @Override public Stream<JsonValue> stream()
focal_class.identifier: stream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Stream<JsonValue>
focal_class.signature: Stream<JsonValue> stream()
focal_class.class_method_signature: ImmutableJsonArray.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: ImmutableJsonArray.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: ImmutableJsonArray.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_class.class_method_signature: ImmutableJsonArray.writeValue(final SerializationContext serializationContext)
focal_class.full_signature: @Override public void writeValue(final SerializationContext serializationContext)
focal_class.identifier: writeValue
focal_class.modifiers: @Override public
focal_class.parameters: (final SerializationContext serializationContext)
focal_class.return: void
focal_class.signature: void writeValue(final SerializationContext serializationContext)
focal_class.class_method_signature: ImmutableJsonArray.getUpperBoundForStringSize()
focal_class.full_signature: @Override public long getUpperBoundForStringSize()
focal_class.identifier: getUpperBoundForStringSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getUpperBoundForStringSize()
focal_class.superclass: extends AbstractJsonValue
focal_method.body: public static ImmutableJsonArray of(final List<JsonValue> values) {
          return new ImmutableJsonArray(SoftReferencedValueList.of(values));
      }
focal_method.class_method_signature: ImmutableJsonArray.of(final List<JsonValue> values)
focal_method.full_signature: public static ImmutableJsonArray of(final List<JsonValue> values)
focal_method.identifier: of
focal_method.invocations: of
focal_method.modifiers: public static
focal_method.parameters: (final List<JsonValue> values)
focal_method.return: ImmutableJsonArray
focal_method.signature: ImmutableJsonArray of(final List<JsonValue> values)