aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/annotation/ShortMemberValue.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/bytecode/annotation/ShortMemberValue.java')
-rw-r--r--src/main/javassist/bytecode/annotation/ShortMemberValue.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/javassist/bytecode/annotation/ShortMemberValue.java b/src/main/javassist/bytecode/annotation/ShortMemberValue.java
index cd9f9429..fc0a1702 100644
--- a/src/main/javassist/bytecode/annotation/ShortMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/ShortMemberValue.java
@@ -77,7 +77,10 @@ public class ShortMemberValue extends MemberValue {
return Short.toString(getValue());
}
- void write(AnnotationsWriter writer) throws IOException {
+ /**
+ * Writes the value.
+ */
+ public void write(AnnotationsWriter writer) throws IOException {
writer.constValueIndex(getValue());
}