test_class.file: shardingsphere-scaling/shardingsphere-scaling-postgresql/src/test/java/org/apache/shardingsphere/scaling/postgresql/wal/WalPositionTest.java
test_class.identifier: WalPositionTest
test_case.body: @Test
      public void assertToJson() {
          WalPosition walPosition = new WalPosition(LogSequenceNumber.valueOf(100L));
          assertThat(walPosition.toJson().toString(), is("100"));
      }
test_case.class_method_signature: WalPositionTest.assertToJson()
test_case.full_signature: @Test public void assertToJson()
test_case.identifier: assertToJson
test_case.invocations: valueOf assertThat toString toJson is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertToJson()
focal_class.declarator: GSON = new Gson()
focal_class.modifier: private static final
focal_class.original_string: private static final Gson GSON = new Gson();
focal_class.type: Gson
focal_class.var_name: GSON
focal_class.declarator: logSequenceNumber
focal_class.modifier: private final
focal_class.original_string: private final LogSequenceNumber logSequenceNumber;
focal_class.type: LogSequenceNumber
focal_class.var_name: logSequenceNumber
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-postgresql/src/main/java/org/apache/shardingsphere/scaling/postgresql/wal/WalPosition.java
focal_class.identifier: WalPosition
focal_class.interfaces: implements IncrementalPosition
focal_class.class_method_signature: WalPosition.compareTo(final Position position)
focal_class.full_signature: @Override public int compareTo(final Position position)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (final Position position)
focal_class.return: int
focal_class.signature: int compareTo(final Position position)
focal_class.class_method_signature: WalPosition.toJson()
focal_class.full_signature: @Override public JsonElement toJson()
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonElement
focal_class.signature: JsonElement toJson()
focal_method.body: @Override
      public JsonElement toJson() {
          return GSON.toJsonTree(logSequenceNumber.asLong());
      }
focal_method.class_method_signature: WalPosition.toJson()
focal_method.full_signature: @Override public JsonElement toJson()
focal_method.identifier: toJson
focal_method.invocations: toJsonTree asLong
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: JsonElement
focal_method.signature: JsonElement toJson()