/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Constructs a class value. * The initial value is java.lang.Class. */ public ClassMemberValue(ConstPool cp) { super('c', cp); setValue("java.lang.Class"); }
/** * Constructs a char constant value. The initial value is '\0'. */ public CharMemberValue(ConstPool cp) { super('C', cp); setValue('\0'); }
/** * Constructs a short constant value. * * @param s the initial value. */ public ShortMemberValue(short s, ConstPool cp) { super('S', cp); setValue(s); }
/** * Constructs a long constant value. * * @param j the initial value. */ public LongMemberValue(long j, ConstPool cp) { super('J', cp); setValue(j); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { int num = values == null ? 0 : values.length; writer.arrayValue(num); for (int i = 0; i < num; ++i) values[i].write(writer); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.annotationValue(); value.write(writer); }
/** * Accepts a visitor. */ public void accept(MemberValueVisitor visitor) { visitor.visitCharMemberValue(this); } }
/** * Obtains the string representation of this object. */ public String toString() { return value.toString(); }
/** * Accepts a visitor. */ public void accept(MemberValueVisitor visitor) { visitor.visitAnnotationMemberValue(this); } }
/** * Accepts a visitor. */ public void accept(MemberValueVisitor visitor) { visitor.visitLongMemberValue(this); } }