test_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
test_class.identifier: MySQLRandomGeneratorTest
test_case.body: @Test
      public void assertGenerateRandomBytes() {
          assertThat(MySQLRandomGenerator.getINSTANCE().generateRandomBytes(8).length, is(8));
          assertThat(MySQLRandomGenerator.getINSTANCE().generateRandomBytes(12).length, is(12));
      }
test_case.class_method_signature: MySQLRandomGeneratorTest.assertGenerateRandomBytes()
test_case.full_signature: @Test public void assertGenerateRandomBytes()
test_case.identifier: assertGenerateRandomBytes
test_case.invocations: assertThat generateRandomBytes getINSTANCE is assertThat generateRandomBytes getINSTANCE is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGenerateRandomBytes()
focal_class.declarator: INSTANCE = new MySQLRandomGenerator()
focal_class.modifier: @Getter
      private static final
focal_class.original_string: @Getter
      private static final MySQLRandomGenerator INSTANCE = new MySQLRandomGenerator();
focal_class.type: MySQLRandomGenerator
focal_class.var_name: INSTANCE
focal_class.declarator: SEED = {
          'a', 'b', 'e', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 
          'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
          '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', }
focal_class.modifier: private static final
focal_class.original_string: private static final byte[] SEED = {
          'a', 'b', 'e', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 
          'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
          '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', };
focal_class.type: byte[]
focal_class.var_name: SEED
focal_class.declarator: random = ThreadLocalRandom.current()
focal_class.modifier: private final
focal_class.original_string: private final Random random = ThreadLocalRandom.current();
focal_class.type: Random
focal_class.var_name: random
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLRandomGenerator.java
focal_class.identifier: MySQLRandomGenerator
focal_class.class_method_signature: MySQLRandomGenerator.generateRandomBytes(final int length)
focal_class.full_signature: public byte[] generateRandomBytes(final int length)
focal_class.identifier: generateRandomBytes
focal_class.modifiers: public
focal_class.parameters: (final int length)
focal_class.return: byte[]
focal_class.signature: byte[] generateRandomBytes(final int length)
focal_method.body: public byte[] generateRandomBytes(final int length) {
          byte[] result = new byte[length];
          for (int i = 0; i < length; i++) {
              result[i] = SEED[random.nextInt(SEED.length)];
          }
          return result;
      }
focal_method.class_method_signature: MySQLRandomGenerator.generateRandomBytes(final int length)
focal_method.full_signature: public byte[] generateRandomBytes(final int length)
focal_method.identifier: generateRandomBytes
focal_method.invocations: nextInt
focal_method.modifiers: public
focal_method.parameters: (final int length)
focal_method.return: byte[]
focal_method.signature: byte[] generateRandomBytes(final int length)