public static final class ClassFile.AnnotationsAttribute.ArrayElementValue extends Object implements ClassFile.AnnotationsAttribute.ElementValue
ClassFile.AnnotationsAttribute.ElementValue.Visitor<R,EX extends Throwable>| Modifier and Type | Field and Description |
|---|---|
ClassFile.AnnotationsAttribute.ElementValue[] |
values
The values of the elements of this array element value.
|
| Constructor and Description |
|---|
ArrayElementValue(ClassFile.AnnotationsAttribute.ElementValue[] values) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(ClassFile.AnnotationsAttribute.ElementValue.Visitor<R,EX> visitor)
Invokes the respective method of the
ClassFile.AnnotationsAttribute.ElementValue.Visitor. |
byte |
getTag() |
void |
store(DataOutputStream dos)
Writes this element value in an element-value-type dependent way; see JVMS8 4.7.16.1.
|
public final ClassFile.AnnotationsAttribute.ElementValue[] values
public ArrayElementValue(ClassFile.AnnotationsAttribute.ElementValue[] values)
public byte getTag()
getTag in interface ClassFile.AnnotationsAttribute.ElementValuepublic void store(DataOutputStream dos) throws IOException
ClassFile.AnnotationsAttribute.ElementValuestore in interface ClassFile.AnnotationsAttribute.ElementValueIOException@Nullable public <R,EX extends Throwable> R accept(ClassFile.AnnotationsAttribute.ElementValue.Visitor<R,EX> visitor) throws EX extends Throwable
ClassFile.AnnotationsAttribute.ElementValueClassFile.AnnotationsAttribute.ElementValue.Visitor.accept in interface ClassFile.AnnotationsAttribute.ElementValueEX extends Throwable