summaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtClass.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/CtClass.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/CtClass.java')
-rw-r--r--src/main/javassist/CtClass.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java
index a8261b37..3fb8860b 100644
--- a/src/main/javassist/CtClass.java
+++ b/src/main/javassist/CtClass.java
@@ -474,6 +474,7 @@ public abstract class CtClass {
* the <code>Author</code> object.
*
* @return an array of annotation-type objects.
+ * @see CtMember#getAnnotations()
* @since 3.1
*/
public Object[] getAnnotations() throws ClassNotFoundException {
@@ -482,13 +483,13 @@ public abstract class CtClass {
/**
* Returns the annotations associated with this class.
- * For example, if an annotation <code>@Author</code> is associated
- * with this class, 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 #getAnnotations()
+ * @see CtMember#getAvailableAnnotations()
* @since 3.3
*/
public Object[] getAvailableAnnotations(){