I'd rather leave the field private, and have subclasses use getJavaClass().  Does that work?