Class ReflectVisitorTest

  • public class ReflectVisitorTest
    extends java.lang.Object
    ReflectVisitorTest tests ReflectUtil.invokeVisitor(org.apache.calcite.util.ReflectiveVisitor, java.lang.Object, java.lang.Class, java.lang.String) and ReflectiveVisitor and provides a contrived example of how to use them.
    • Constructor Detail

      • ReflectVisitorTest

        public ReflectVisitorTest()
    • Method Detail

      • testCarelessNegater

        public void testCarelessNegater()
        Tests CarelessNumberNegater.
      • testCarefulNegater

        public void testCarefulNegater()
        Tests CarefulNumberNegater.
      • testCluelessNegater

        public void testCluelessNegater()
        Tests CluelessNumberNegater.
      • testAmbiguity

        public void testAmbiguity()
        Tests for ambiguity detection in method lookup.
      • testNonAmbiguity

        public void testNonAmbiguity()
        Tests that ambiguity detection in method lookup does not kick in when a better match is available.