Constructor and Description |
---|
AnnotationEntry(int type_index,
ConstantPool constant_pool,
boolean isRuntimeVisible) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.
|
void |
addElementNameValuePair(ElementValuePair elementNameValuePair) |
static AnnotationEntry[] |
createAnnotationEntries(Attribute[] attrs) |
void |
dump(DataOutputStream dos) |
String |
getAnnotationType() |
int |
getAnnotationTypeIndex() |
ConstantPool |
getConstantPool() |
ElementValuePair[] |
getElementValuePairs() |
int |
getNumElementValuePairs() |
int |
getTypeIndex() |
boolean |
isRuntimeVisible() |
static AnnotationEntry |
read(DataInput input,
ConstantPool constant_pool,
boolean isRuntimeVisible) |
String |
toShortString() |
String |
toString() |
public AnnotationEntry(int type_index, ConstantPool constant_pool, boolean isRuntimeVisible)
public static AnnotationEntry read(DataInput input, ConstantPool constant_pool, boolean isRuntimeVisible) throws IOException
IOException
public int getTypeIndex()
public ConstantPool getConstantPool()
public boolean isRuntimeVisible()
public void accept(Visitor v)
public String getAnnotationType()
public int getAnnotationTypeIndex()
public final int getNumElementValuePairs()
public ElementValuePair[] getElementValuePairs()
public void dump(DataOutputStream dos) throws IOException
IOException
public void addElementNameValuePair(ElementValuePair elementNameValuePair)
public String toShortString()
public static AnnotationEntry[] createAnnotationEntries(Attribute[] attrs)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.