code_junkie

When Using Dynamic Proxies, how do I access the underlying object's Annotations?

Nov 11th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if (Enhancer.isEnhanced(getClass())) {
  2. currClass = UnEnhancer.unenhance(getClass());
  3. } else {
  4. // else, let's get the original class directly
  5. currClass = getClass();
  6. }
Add Comment
Please, Sign In to add comment