Am 03.09.2013 11:04, schrieb Remi Forax: [...]
So there is a need for an API to get the caller classes which is not getCallerClass (or any methods in a package sun.*) that will hide you the method handle API impementation and allow you choose to filter caller methods using a user defined API.
not sure how filtering the caller methods would work (by annotation check?), but it is probably good enough for us, yes. In the end we need the class loader
bye Jochen -- Jochen "blackdrag" Theodorou - Groovy Project Tech Lead blog: http://blackdragsview.blogspot.com/ german groovy discussion newsgroup: de.comp.lang.misc For Groovy programming sources visit http://groovy-lang.org