| Modifier and Type | Field and Description |
|---|---|
| private ElementValue |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotationDefault(final int
Index pointing to the name Code nameIndex, final int Content length in bytes length, final DataInput Input stream input, final ConstantPool Array of constants constantPool)
|
| public | AnnotationDefault(final int
Index pointing to the name Code nameIndex, final int Content length in bytes length, final ElementValue the annotation's default value defaultValue, final ConstantPool Array of constants constantPool)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract org. Implements org. |
| public Attribute | copy(final ConstantPool
constant pool to save. constantPool)Implements abstract org. |
| public final void | dump(final DataOutputStream
Output file stream dos)Overrides org. |
| public final ElementValue | |
| public final void |
| defaultValue | back to summary |
|---|---|
| private ElementValue defaultValue | |
| AnnotationDefault | back to summary |
|---|---|
pack-priv AnnotationDefault(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException
| |
| AnnotationDefault | back to summary |
|---|---|
public AnnotationDefault(final int nameIndex, final int length, final ElementValue defaultValue, final ConstantPool constantPool)
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract org. Implements org. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract org.
| |
| dump | back to summary |
|---|---|
| public final void dump(final DataOutputStream dos) throws IOException Overrides org. Doc from org. Dumps attribute to file stream in binary format.
| |
| getDefaultValue | back to summary |
|---|---|
public final ElementValue getDefaultValue()
| |
| setDefaultValue | back to summary |
|---|---|
public final void setDefaultValue(final ElementValue defaultValue)
| |