test_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/test/java/org/apache/shardingsphere/sql/parser/binder/segment/select/orderby/OrderByItemTest.java
test_class.identifier: OrderByItemTest
test_case.body: @Test
      public void assertEqualsWhenObjIsNull() {
          assertFalse(new OrderByItem(mock(OrderByItemSegment.class)).equals(null));
      }
test_case.class_method_signature: OrderByItemTest.assertEqualsWhenObjIsNull()
test_case.full_signature: @Test public void assertEqualsWhenObjIsNull()
test_case.identifier: assertEqualsWhenObjIsNull
test_case.invocations: assertFalse equals mock
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertEqualsWhenObjIsNull()
focal_class.declarator: segment
focal_class.modifier: private final
focal_class.original_string: private final OrderByItemSegment segment;
focal_class.type: OrderByItemSegment
focal_class.var_name: segment
focal_class.declarator: index
focal_class.modifier: private
focal_class.original_string: private int index;
focal_class.type: int
focal_class.var_name: index
focal_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/segment/select/orderby/OrderByItem.java
focal_class.identifier: OrderByItem
focal_class.class_method_signature: OrderByItem.equals(final Object obj)
focal_class.full_signature: @Override public boolean equals(final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object obj)
focal_method.body: @Override
      public boolean equals(final Object obj) {
          if (!(obj instanceof OrderByItem)) {
              return false;
          }
          OrderByItem orderByItem = (OrderByItem) obj;
          return segment.getOrderDirection() == orderByItem.segment.getOrderDirection() && index == orderByItem.index;
      }
focal_method.class_method_signature: OrderByItem.equals(final Object obj)
focal_method.full_signature: @Override public boolean equals(final Object obj)
focal_method.identifier: equals
focal_method.invocations: getOrderDirection getOrderDirection
focal_method.modifiers: @Override public
focal_method.parameters: (final Object obj)
focal_method.return: boolean
focal_method.signature: boolean equals(final Object obj)