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