Tom HawtinThomas Hawtin's WeblogStatic this.getClass()- November 22, 2007 So there you are in a static context and you want to get the Class of the enclosing class, but you don't want to have to name it explicitly. What is one to do new Object() .getClass().getEnclosingClass() (from 1.5)http://www.jroller.com/tackline/entry/static_this_getclass |