org.eigenbase.util
Class ReflectVisitorTest.CluelessNumberNegater

java.lang.Object
  extended by org.eigenbase.util.ReflectVisitorTest.NumberNegater
      extended by org.eigenbase.util.ReflectVisitorTest.CluelessNumberNegater
All Implemented Interfaces:
ReflectiveVisitor
Enclosing class:
ReflectVisitorTest

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.


Field Summary
 
Fields inherited from class org.eigenbase.util.ReflectVisitorTest.NumberNegater
result
 
Constructor Summary
ReflectVisitorTest.CluelessNumberNegater()
           
 
Method Summary
 void visit(Object obj)
           
 void visit(Short s)
           
 
Methods inherited from class org.eigenbase.util.ReflectVisitorTest.NumberNegater
negate, negateWithoutDispatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectVisitorTest.CluelessNumberNegater

public ReflectVisitorTest.CluelessNumberNegater()
Method Detail

visit

public void visit(Object obj)

visit

public void visit(Short s)