| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| protected | SimpleElementValueGen(final int type, final int idx, final ConstantPoolGen cpGen)
Protected ctor used for deserialization, doesn't *put* an entry in the constant pool, assumes the one at the supplied index is correct. |
| public | SimpleElementValueGen(final SimpleElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries)
The boolean controls whether we copy info from the 'old' constant pool to the 'new'. |
| Modifier and Type | Method and Description |
|---|---|
| public void | dump(final DataOutputStream dos)
Implements abstract com.
|
| public ElementValue | getElementValue()
Implements abstract com. Return immutable variant |
| public int | |
| public int | |
| public String | |
| public String | stringifyValue()
Implements abstract com.
|
| idx | back to summary |
|---|---|
| private final int idx | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final boolean value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final byte value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final char value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final double value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final float value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final int value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final long value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final short value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final int type, final ConstantPoolGen cpGen, final String value) | |
| SimpleElementValueGen | back to summary |
|---|---|
| protected SimpleElementValueGen(final int type, final int idx, final ConstantPoolGen cpGen) Protected ctor used for deserialization, doesn't *put* an entry in the constant pool, assumes the one at the supplied index is correct. | |
| SimpleElementValueGen | back to summary |
|---|---|
| public SimpleElementValueGen(final SimpleElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries) The boolean controls whether we copy info from the 'old' constant pool to the 'new'. You need to use this ctor if the annotation is being copied from one file to another. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream dos) throws IOException Implements abstract com.
| |
| getElementValue | back to summary |
|---|---|
| public ElementValue getElementValue() Implements abstract com. Return immutable variant
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| getValueInt | back to summary |
|---|---|
| public int getValueInt() | |
| getValueString | back to summary |
|---|---|
| public String getValueString() | |
| stringifyValue | back to summary |
|---|---|
| public String stringifyValue() Implements abstract com.
| |