aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/annotation/Annotation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/bytecode/annotation/Annotation.java')
-rw-r--r--src/main/javassist/bytecode/annotation/Annotation.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main/javassist/bytecode/annotation/Annotation.java b/src/main/javassist/bytecode/annotation/Annotation.java
index e542d8cb..f4f8ac61 100644
--- a/src/main/javassist/bytecode/annotation/Annotation.java
+++ b/src/main/javassist/bytecode/annotation/Annotation.java
@@ -243,7 +243,16 @@ public class Annotation {
/**
* Obtains the member value with the given name.
*
- * @return null if the member cannot be found.
+ * <p>If this annotation does not have a value for the
+ * specified member,
+ * this method returns null. It does not return a
+ * <code>MemberValue</code> with the default value.
+ * The default value can be obtained from the annotation type.
+ *
+ * @return null if the member cannot be found or if the value is
+ * the default value.
+ *
+ * @see AnnotationDefaultAttribute
*/
public MemberValue getMemberValue(String name) {
if (members == null)