Class ReflectVisitorTest.CluelessNumberNegater

  • All Implemented Interfaces:
    Enclosing class:

    public class ReflectVisitorTest.CluelessNumberNegater
    extends ReflectVisitorTest.NumberNegater
    CluelessNumberNegater implements NumberNegater in a very broken fashion; does the right thing for Shorts, but attempts to override visit(Object). This is just here for testing the hierarchyRoot parameter of invokeVisitor.
    • Constructor Detail

      • CluelessNumberNegater

        public CluelessNumberNegater()
    • Method Detail

      • visit

        public void visit​(java.lang.Object obj)
      • visit

        public void visit​(java.lang.Short s)