public class AnnotationDefault extends Attribute
constant_pool, length, name_index, tag| Constructor and Description |
|---|
AnnotationDefault(int name_index,
int length,
DataInputStream file,
ConstantPool constant_pool) |
AnnotationDefault(int name_index,
int length,
ElementValue defaultValue,
ConstantPool constant_pool) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
copy(ConstantPool _constant_pool) |
void |
setDefaultValue(ElementValue defaultValue) |
public AnnotationDefault(int name_index,
int length,
DataInputStream file,
ConstantPool constant_pool)
throws IOException
name_index - Index pointing to the name Codelength - Content length in bytesfile - Input streamconstant_pool - Array of constantsIOExceptionpublic AnnotationDefault(int name_index,
int length,
ElementValue defaultValue,
ConstantPool constant_pool)
name_index - Index pointing to the name Codelength - Content length in bytesdefaultValue - the annotation's default valueconstant_pool - Array of constantspublic final void setDefaultValue(ElementValue defaultValue)
defaultValue - the default value of this methodinfo's annotationpublic Attribute copy(ConstantPool _constant_pool)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.