element_value {
u1 tag;
union {
u2 const_value_index;
{ u2 type_name_index;
u2 const_name_index;
} enum_const_value;
u2 class_info_index;
annotation annotation_value;
{ u2 num_values;
element_value values[num_values];
} array_value;
} value;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final byte | |
| public static final byte | |
| public static final byte | |
| private final ConstantPool | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final ConstantPool | |
| pack-priv final int | |
| public static ElementValue | Returns: a new ElementValue.Raw data input. input, final ConstantPool Constant pool. cpool)Reads an |
| public static ElementValue | Returns: a new ElementValue.Raw data input. input, final ConstantPool Constant pool. cpool, int level of current array nesting. arrayNesting)Reads an |
| public abstract String |
| ANNOTATION | back to summary |
|---|---|
| public static final byte ANNOTATION | |
| ARRAY | back to summary |
|---|---|
| public static final byte ARRAY | |
| CLASS | back to summary |
|---|---|
| public static final byte CLASS | |
| cpool | back to summary |
|---|---|
| private final ConstantPool cpool | |
| ENUM_CONSTANT | back to summary |
|---|---|
| public static final byte ENUM_CONSTANT | |
| PRIMITIVE_BOOLEAN | back to summary |
|---|---|
| public static final byte PRIMITIVE_BOOLEAN | |
| PRIMITIVE_BYTE | back to summary |
|---|---|
| public static final byte PRIMITIVE_BYTE | |
| PRIMITIVE_CHAR | back to summary |
|---|---|
| public static final byte PRIMITIVE_CHAR | |
| PRIMITIVE_DOUBLE | back to summary |
|---|---|
| public static final byte PRIMITIVE_DOUBLE | |
| PRIMITIVE_FLOAT | back to summary |
|---|---|
| public static final byte PRIMITIVE_FLOAT | |
| PRIMITIVE_INT | back to summary |
|---|---|
| public static final byte PRIMITIVE_INT | |
| PRIMITIVE_LONG | back to summary |
|---|---|
| public static final byte PRIMITIVE_LONG | |
| PRIMITIVE_SHORT | back to summary |
|---|---|
| public static final byte PRIMITIVE_SHORT | |
| STRING | back to summary |
|---|---|
| public static final byte STRING | |
| type | back to summary |
|---|---|
| private final int type | |
| ElementValue | back to summary |
|---|---|
| pack-priv ElementValue(final int type, final ConstantPool cpool) | |
| getConstantPool | back to summary |
|---|---|
| pack-priv final ConstantPool getConstantPool() | |
| getType | back to summary |
|---|---|
| pack-priv final int getType() | |
| readElementValue | back to summary |
|---|---|
| public static ElementValue readElementValue(final DataInput input, final ConstantPool cpool) throws IOException Reads an
| |
| readElementValue | back to summary |
|---|---|
| public static ElementValue readElementValue(final DataInput input, final ConstantPool cpool, int arrayNesting) throws IOException Reads an
| |
| stringifyValue | back to summary |
|---|---|
| public abstract String stringifyValue() | |