summaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtMember.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-07-18 15:33:14 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-07-18 15:33:14 +0000
commitf19b6003aee1f59e68fc685093721ca524f35e77 (patch)
tree49fec6447b88c9deb4902f11e1d8e200d38564a4 /src/main/javassist/CtMember.java
parent722509666b5e7a9ceef5c3513fa3d70ed0a3ac74 (diff)
downloadjavassist-f19b6003aee1f59e68fc685093721ca524f35e77.tar.gz
javassist-f19b6003aee1f59e68fc685093721ca524f35e77.zip
reformatted.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@301 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtMember.java')
-rw-r--r--src/main/javassist/CtMember.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main/javassist/CtMember.java b/src/main/javassist/CtMember.java
index 341521b8..cb944e62 100644
--- a/src/main/javassist/CtMember.java
+++ b/src/main/javassist/CtMember.java
@@ -158,16 +158,17 @@ public abstract class CtMember {
/**
* Returns the annotations associated with this member.
- * For example, if an annotation <code>@Author</code> is associated
- * with this member, the returned array contains an <code>Author</code>
- * object. The member values can be obtained by calling methods on
- * the <code>Author</code> object.
- * If any annotations are not on the classpath, they are not returned
+ * This method is equivalent to <code>getAnnotations()</code>
+ * except that, if any annotations are not on the classpath,
+ * they are not included in the returned array.
*
* @return an array of annotation-type objects.
- * @see CtClass#getAnnotations()
+ * @see #getAnnotations()
+ * @see CtClass#getAvailableAnnotations()
+ * @since 3.3
*/
- public abstract Object[] getAvailableAnnotations() throws ClassNotFoundException;
+ public abstract Object[] getAvailableAnnotations()
+ throws ClassNotFoundException;
/**