Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for November 2007

Tom Hawtin

Thomas Hawtin's Weblog

Static 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
Available Archives
- January (1 item)
- March (1 item)
- May (1 item)
- November (1 item)
- December (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact