diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2006-08-12 06:01:59 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2006-08-12 06:01:59 +0000 |
commit | 0acfa5ff72a4e238b63c6569edbd117d01fb6ae7 (patch) | |
tree | afbfd453eb7ecc27adc59bb354b7878b78d57e5e /src | |
parent | 2d45afd62bf1453e0e12236d7a18113d07be608a (diff) | |
download | javassist-0acfa5ff72a4e238b63c6569edbd117d01fb6ae7.tar.gz javassist-0acfa5ff72a4e238b63c6569edbd117d01fb6ae7.zip |
added a getter.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@308 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src')
-rw-r--r-- | src/main/javassist/bytecode/annotation/AnnotationImpl.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/annotation/AnnotationImpl.java b/src/main/javassist/bytecode/annotation/AnnotationImpl.java index 005ab93e..00bf318a 100644 --- a/src/main/javassist/bytecode/annotation/AnnotationImpl.java +++ b/src/main/javassist/bytecode/annotation/AnnotationImpl.java @@ -62,6 +62,13 @@ public class AnnotationImpl implements InvocationHandler { } /** + * 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>, * and <code>hashCode()</code> are directly supplied by the |