]> source.dussan.org Git - javassist.git/commitdiff
added a getter.
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Sat, 12 Aug 2006 06:01:59 +0000 (06:01 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Sat, 12 Aug 2006 06:01:59 +0000 (06:01 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@308 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/bytecode/annotation/AnnotationImpl.java

index 005ab93e48f6f3584456e5269d9c3e6286e4e0e4..00bf318a1a716b06acd5fdee7a80463c61db9467 100644 (file)
@@ -61,6 +61,13 @@ public class AnnotationImpl implements InvocationHandler {
         return annotation.getTypeName();
     }
 
+    /**
+     * Obtains the internal data structure representing the annotation.
+     */
+    public Annotation getAnnotation() {
+        return annotation;
+    }
+
     /**
      * Executes a method invocation on a proxy instance.
      * The implementations of <code>toString()</code>, <code>equals()</code>,