test_class.declarator: payload
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private MySQLPacketPayload payload;
test_class.type: MySQLPacketPayload
test_class.var_name: payload
test_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
test_class.identifier: MySQLComStmtExecutePacketTest
test_case.body: @Test
      public void assertNewWithNotNullParameters() throws SQLException {
          MySQLBinaryStatementRegistry.getInstance().register("SELECT id FROM tbl WHERE id=?", 1);
          when(payload.readInt4()).thenReturn(1);
          when(payload.readInt1()).thenReturn(0, 0, 1);
          MySQLComStmtExecutePacket actual = new MySQLComStmtExecutePacket(payload);
          assertThat(actual.getSequenceId(), is(0));
          assertThat(actual.getSql(), is("SELECT id FROM tbl WHERE id=?"));
          assertThat(actual.getParameters(), is(Collections.<Object>singletonList(1)));
      }
test_case.class_method_signature: MySQLComStmtExecutePacketTest.assertNewWithNotNullParameters()
test_case.full_signature: @Test public void assertNewWithNotNullParameters()
test_case.identifier: assertNewWithNotNullParameters
test_case.invocations: register getInstance thenReturn when readInt4 thenReturn when readInt1 assertThat getSequenceId is assertThat getSql is assertThat getParameters is singletonList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertNewWithNotNullParameters()
focal_class.declarator: ITERATION_COUNT = 1
focal_class.modifier: private static final
focal_class.original_string: private static final int ITERATION_COUNT = 1;
focal_class.type: int
focal_class.var_name: ITERATION_COUNT
focal_class.declarator: NULL_BITMAP_OFFSET = 0
focal_class.modifier: private static final
focal_class.original_string: private static final int NULL_BITMAP_OFFSET = 0;
focal_class.type: int
focal_class.var_name: NULL_BITMAP_OFFSET
focal_class.declarator: statementId
focal_class.modifier: private final
focal_class.original_string: private final int statementId;
focal_class.type: int
focal_class.var_name: statementId
focal_class.declarator: binaryStatement
focal_class.modifier: private final
focal_class.original_string: private final MySQLBinaryStatement binaryStatement;
focal_class.type: MySQLBinaryStatement
focal_class.var_name: binaryStatement
focal_class.declarator: flags
focal_class.modifier: private final
focal_class.original_string: private final int flags;
focal_class.type: int
focal_class.var_name: flags
focal_class.declarator: nullBitmap
focal_class.modifier: private final
focal_class.original_string: private final MySQLNullBitmap nullBitmap;
focal_class.type: MySQLNullBitmap
focal_class.var_name: nullBitmap
focal_class.declarator: newParametersBoundFlag
focal_class.modifier: private final
focal_class.original_string: private final MySQLNewParametersBoundFlag newParametersBoundFlag;
focal_class.type: MySQLNewParametersBoundFlag
focal_class.var_name: newParametersBoundFlag
focal_class.declarator: sql
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final String sql;
focal_class.type: String
focal_class.var_name: sql
focal_class.declarator: parameters
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final List<Object> parameters;
focal_class.type: List<Object>
focal_class.var_name: parameters
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacket.java
focal_class.identifier: MySQLComStmtExecutePacket
focal_class.class_method_signature: MySQLComStmtExecutePacket.MySQLComStmtExecutePacket(final MySQLPacketPayload payload)
focal_class.full_signature: public  MySQLComStmtExecutePacket(final MySQLPacketPayload payload)
focal_class.identifier: MySQLComStmtExecutePacket
focal_class.modifiers: public
focal_class.parameters: (final MySQLPacketPayload payload)
focal_class.signature:  MySQLComStmtExecutePacket(final MySQLPacketPayload payload)
focal_class.class_method_signature: MySQLComStmtExecutePacket.getParameterTypes(final MySQLPacketPayload payload, final int parameterCount)
focal_class.full_signature: private List<MySQLBinaryStatementParameterType> getParameterTypes(final MySQLPacketPayload payload, final int parameterCount)
focal_class.identifier: getParameterTypes
focal_class.modifiers: private
focal_class.parameters: (final MySQLPacketPayload payload, final int parameterCount)
focal_class.return: List<MySQLBinaryStatementParameterType>
focal_class.signature: List<MySQLBinaryStatementParameterType> getParameterTypes(final MySQLPacketPayload payload, final int parameterCount)
focal_class.class_method_signature: MySQLComStmtExecutePacket.getParameters(final MySQLPacketPayload payload, final int parameterCount)
focal_class.full_signature: private List<Object> getParameters(final MySQLPacketPayload payload, final int parameterCount)
focal_class.identifier: getParameters
focal_class.modifiers: private
focal_class.parameters: (final MySQLPacketPayload payload, final int parameterCount)
focal_class.return: List<Object>
focal_class.signature: List<Object> getParameters(final MySQLPacketPayload payload, final int parameterCount)
focal_class.class_method_signature: MySQLComStmtExecutePacket.doWrite(final MySQLPacketPayload payload)
focal_class.full_signature: @Override public void doWrite(final MySQLPacketPayload payload)
focal_class.identifier: doWrite
focal_class.modifiers: @Override public
focal_class.parameters: (final MySQLPacketPayload payload)
focal_class.return: void
focal_class.signature: void doWrite(final MySQLPacketPayload payload)
focal_class.superclass: extends MySQLCommandPacket
focal_method.body: private List<Object> getParameters(final MySQLPacketPayload payload, final int parameterCount) throws SQLException {
          List<Object> result = new ArrayList<>(parameterCount);
          for (int parameterIndex = 0; parameterIndex < parameterCount; parameterIndex++) {
              MySQLBinaryProtocolValue binaryProtocolValue = MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(binaryStatement.getParameterTypes().get(parameterIndex).getColumnType());
              result.add(nullBitmap.isNullParameter(parameterIndex) ? null : binaryProtocolValue.read(payload));
          }
          return result;
      }
focal_method.class_method_signature: MySQLComStmtExecutePacket.getParameters(final MySQLPacketPayload payload, final int parameterCount)
focal_method.full_signature: private List<Object> getParameters(final MySQLPacketPayload payload, final int parameterCount)
focal_method.identifier: getParameters
focal_method.invocations: getBinaryProtocolValue getColumnType get getParameterTypes add isNullParameter read
focal_method.modifiers: private
focal_method.parameters: (final MySQLPacketPayload payload, final int parameterCount)
focal_method.return: List<Object>
focal_method.signature: List<Object> getParameters(final MySQLPacketPayload payload, final int parameterCount)