test_class.file: shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareCheckerTest.java
test_class.identifier: MySQLComStmtPrepareCheckerTest
test_case.body: @Test
      public void assertIsStatementAllowed() {
          List<SQLStatement> statementList = Arrays.asList(
              new MySQLAlterTableStatement(), new MySQLAlterUserStatement(), new MySQLAnalyzeTableStatement(), new MySQLCacheIndexStatement(),
              new MySQLCallStatement(), new MySQLChangeMasterStatement(), new MySQLChecksumTableStatement(), new MySQLCommitStatement(), new MySQLCreateIndexStatement(), 
              new MySQLDropIndexStatement(), new MySQLCreateDatabaseStatement(), new MySQLDropDatabaseStatement(), new MySQLCreateTableStatement(), 
              new MySQLDropTableStatement(), new MySQLCreateUserStatement(), new MySQLRenameUserStatement(), new MySQLDropUserStatement(), 
              new MySQLCreateViewStatement(), new MySQLDropViewStatement(), new MySQLDeleteStatement(), new MySQLDoStatement(), new MySQLFlushStatement(),
              new MySQLGrantStatement(), new MySQLInsertStatement(), new MySQLInstallPluginStatement(), new MySQLKillStatement(), 
              new MySQLLoadIndexInfoStatement(), new MySQLOptimizeTableStatement(), new MySQLRenameTableStatement(), new MySQLRepairTableStatement(), 
              new MySQLResetStatement(), new MySQLRevokeStatement(), new MySQLSelectStatement(), new MySQLSetStatement(), new MySQLShowWarningsStatement(),
              new MySQLShowErrorsStatement(), new MySQLShowBinlogStatement(), new MySQLShowCreateProcedureStatement(), new MySQLShowCreateFunctionStatement(), new MySQLShowCreateEventStatement(),
              new MySQLShowCreateTableStatement(), new MySQLShowCreateViewStatement(), new MySQLShowBinaryLogsStatement(), new MySQLShowStatusStatement(), new MySQLStartSlaveStatement(),
              new MySQLStopSlaveStatement(), new MySQLTruncateStatement(), new MySQLUninstallPluginStatement(), new MySQLUpdateStatement());
          for (SQLStatement each : statementList) {
              assertTrue(MySQLComStmtPrepareChecker.isStatementAllowed(each));
          }
      }
test_case.class_method_signature: MySQLComStmtPrepareCheckerTest.assertIsStatementAllowed()
test_case.full_signature: @Test public void assertIsStatementAllowed()
test_case.identifier: assertIsStatementAllowed
test_case.invocations: asList assertTrue isStatementAllowed
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertIsStatementAllowed()
focal_class.declarator: SQL_STATEMENTS_ALLOWED = new HashSet<>()
focal_class.modifier: private static final
focal_class.original_string: private static final Set<Class<?>> SQL_STATEMENTS_ALLOWED = new HashSet<>();
focal_class.type: Set<Class<?>>
focal_class.var_name: SQL_STATEMENTS_ALLOWED
focal_class.file: shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareChecker.java
focal_class.identifier: MySQLComStmtPrepareChecker
focal_class.class_method_signature: MySQLComStmtPrepareChecker.isStatementAllowed(final SQLStatement sqlStatement)
focal_class.full_signature: public static boolean isStatementAllowed(final SQLStatement sqlStatement)
focal_class.identifier: isStatementAllowed
focal_class.modifiers: public static
focal_class.parameters: (final SQLStatement sqlStatement)
focal_class.return: boolean
focal_class.signature: boolean isStatementAllowed(final SQLStatement sqlStatement)
focal_method.body: public static boolean isStatementAllowed(final SQLStatement sqlStatement) {
          return SQL_STATEMENTS_ALLOWED.contains(sqlStatement.getClass());
      }
focal_method.class_method_signature: MySQLComStmtPrepareChecker.isStatementAllowed(final SQLStatement sqlStatement)
focal_method.full_signature: public static boolean isStatementAllowed(final SQLStatement sqlStatement)
focal_method.identifier: isStatementAllowed
focal_method.invocations: contains getClass
focal_method.modifiers: public static
focal_method.parameters: (final SQLStatement sqlStatement)
focal_method.return: boolean
focal_method.signature: boolean isStatementAllowed(final SQLStatement sqlStatement)