test_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-rewrite/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptInConditionTest.java
test_class.identifier: EncryptInConditionTest
test_case.body: @Test
      public void assertGetConditionValues() {
          List<Object> actual = new EncryptInCondition(
                  "col", null, 0, 0, Arrays.asList(new LiteralExpressionSegment(0, 0, 1), new LiteralExpressionSegment(0, 0, 2))).getValues(Collections.emptyList());
          assertThat(actual.size(), is(2));
          assertThat(actual.get(0), is(1));
          assertThat(actual.get(1), is(2));
      }
test_case.class_method_signature: EncryptInConditionTest.assertGetConditionValues()
test_case.full_signature: @Test public void assertGetConditionValues()
test_case.identifier: assertGetConditionValues
test_case.invocations: getValues asList emptyList assertThat size is assertThat get is assertThat get is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGetConditionValues()
focal_class.declarator: columnName
focal_class.modifier: private final
focal_class.original_string: private final String columnName;
focal_class.type: String
focal_class.var_name: columnName
focal_class.declarator: tableName
focal_class.modifier: private final
focal_class.original_string: private final String tableName;
focal_class.type: String
focal_class.var_name: tableName
focal_class.declarator: startIndex
focal_class.modifier: private final
focal_class.original_string: private final int startIndex;
focal_class.type: int
focal_class.var_name: startIndex
focal_class.declarator: stopIndex
focal_class.modifier: private final
focal_class.original_string: private final int stopIndex;
focal_class.type: int
focal_class.var_name: stopIndex
focal_class.declarator: positionIndexMap = new LinkedHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<Integer, Integer> positionIndexMap = new LinkedHashMap<>();
focal_class.type: Map<Integer, Integer>
focal_class.var_name: positionIndexMap
focal_class.declarator: positionValueMap = new LinkedHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<Integer, Object> positionValueMap = new LinkedHashMap<>();
focal_class.type: Map<Integer, Object>
focal_class.var_name: positionValueMap
focal_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-rewrite/src/main/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptInCondition.java
focal_class.identifier: EncryptInCondition
focal_class.interfaces: implements EncryptCondition
focal_class.class_method_signature: EncryptInCondition.EncryptInCondition(final String columnName, final String tableName, final int startIndex, final int stopIndex, final List<ExpressionSegment> expressionSegments)
focal_class.full_signature: public  EncryptInCondition(final String columnName, final String tableName, final int startIndex, final int stopIndex, final List<ExpressionSegment> expressionSegments)
focal_class.identifier: EncryptInCondition
focal_class.modifiers: public
focal_class.parameters: (final String columnName, final String tableName, final int startIndex, final int stopIndex, final List<ExpressionSegment> expressionSegments)
focal_class.signature:  EncryptInCondition(final String columnName, final String tableName, final int startIndex, final int stopIndex, final List<ExpressionSegment> expressionSegments)
focal_class.class_method_signature: EncryptInCondition.putPositionMap(final int position, final ExpressionSegment expressionSegment)
focal_class.full_signature: private void putPositionMap(final int position, final ExpressionSegment expressionSegment)
focal_class.identifier: putPositionMap
focal_class.modifiers: private
focal_class.parameters: (final int position, final ExpressionSegment expressionSegment)
focal_class.return: void
focal_class.signature: void putPositionMap(final int position, final ExpressionSegment expressionSegment)
focal_class.class_method_signature: EncryptInCondition.getValues(final List<Object> parameters)
focal_class.full_signature: @Override public List<Object> getValues(final List<Object> parameters)
focal_class.identifier: getValues
focal_class.modifiers: @Override public
focal_class.parameters: (final List<Object> parameters)
focal_class.return: List<Object>
focal_class.signature: List<Object> getValues(final List<Object> parameters)
focal_method.body: @Override
      public List<Object> getValues(final List<Object> parameters) {
          List<Object> result = new ArrayList<>(positionValueMap.values());
          for (Entry<Integer, Integer> entry : positionIndexMap.entrySet()) {
              Object parameter = parameters.get(entry.getValue());
              if (entry.getKey() < result.size()) {
                  result.add(entry.getKey(), parameter);
              } else {
                  result.add(parameter);
              }
          }
          return result;
      }
focal_method.class_method_signature: EncryptInCondition.getValues(final List<Object> parameters)
focal_method.full_signature: @Override public List<Object> getValues(final List<Object> parameters)
focal_method.identifier: getValues
focal_method.invocations: values entrySet get getValue getKey size add getKey add
focal_method.modifiers: @Override public
focal_method.parameters: (final List<Object> parameters)
focal_method.return: List<Object>
focal_method.signature: List<Object> getValues(final List<Object> parameters)