test_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/test/java/org/apache/shardingsphere/sql/parser/sql/dialect/handler/ddl/DropIndexStatementHandlerTest.java
test_class.identifier: DropIndexStatementHandlerTest
test_case.body: @Test
      public void assertGetSimpleTableSegmentWithSimpleTableSegmentForSQLServer() {
          SQLServerDropIndexStatement dropIndexStatement = new SQLServerDropIndexStatement();
          dropIndexStatement.setTable(new SimpleTableSegment(0, 0, new IdentifierValue("")));
          Optional<SimpleTableSegment> simpleTableSegment = DropIndexStatementHandler.getSimpleTableSegment(dropIndexStatement);
          assertTrue(simpleTableSegment.isPresent());
      }
test_case.class_method_signature: DropIndexStatementHandlerTest.assertGetSimpleTableSegmentWithSimpleTableSegmentForSQLServer()
test_case.full_signature: @Test public void assertGetSimpleTableSegmentWithSimpleTableSegmentForSQLServer()
test_case.identifier: assertGetSimpleTableSegmentWithSimpleTableSegmentForSQLServer
test_case.invocations: setTable getSimpleTableSegment assertTrue isPresent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGetSimpleTableSegmentWithSimpleTableSegmentForSQLServer()
focal_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/dialect/handler/ddl/DropIndexStatementHandler.java
focal_class.identifier: DropIndexStatementHandler
focal_class.interfaces: implements SQLStatementHandler
focal_class.class_method_signature: DropIndexStatementHandler.getSimpleTableSegment(final DropIndexStatement dropIndexStatement)
focal_class.full_signature: public static Optional<SimpleTableSegment> getSimpleTableSegment(final DropIndexStatement dropIndexStatement)
focal_class.identifier: getSimpleTableSegment
focal_class.modifiers: public static
focal_class.parameters: (final DropIndexStatement dropIndexStatement)
focal_class.return: Optional<SimpleTableSegment>
focal_class.signature: Optional<SimpleTableSegment> getSimpleTableSegment(final DropIndexStatement dropIndexStatement)
focal_method.body: public static Optional<SimpleTableSegment> getSimpleTableSegment(final DropIndexStatement dropIndexStatement) {
          if (dropIndexStatement instanceof MySQLStatement) {
              return ((MySQLDropIndexStatement) dropIndexStatement).getTable();
          }
          if (dropIndexStatement instanceof SQLServerStatement) {
              return ((SQLServerDropIndexStatement) dropIndexStatement).getTable();
          }
          return Optional.empty();
      }
focal_method.class_method_signature: DropIndexStatementHandler.getSimpleTableSegment(final DropIndexStatement dropIndexStatement)
focal_method.full_signature: public static Optional<SimpleTableSegment> getSimpleTableSegment(final DropIndexStatement dropIndexStatement)
focal_method.identifier: getSimpleTableSegment
focal_method.invocations: getTable getTable empty
focal_method.modifiers: public static
focal_method.parameters: (final DropIndexStatement dropIndexStatement)
focal_method.return: Optional<SimpleTableSegment>
focal_method.signature: Optional<SimpleTableSegment> getSimpleTableSegment(final DropIndexStatement dropIndexStatement)