public class RuntimeVisibleAnnotations extends Annotations
constant_pool, EMPTY_ARRAY, length, name_index, tag
Constructor and Description |
---|
RuntimeVisibleAnnotations(int nameIndex,
int length,
DataInput input,
ConstantPool constantPool) |
Modifier and Type | Method and Description |
---|---|
Attribute |
copy(ConstantPool constantPool) |
void |
dump(DataOutputStream dos)
Dumps attribute to file stream in binary format.
|
accept, getAnnotationEntries, getNumAnnotations, isRuntimeVisible, iterator, setAnnotationTable, toString, writeAnnotations
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public RuntimeVisibleAnnotations(int nameIndex, int length, DataInput input, ConstantPool constantPool) throws IOException
nameIndex
- Index pointing to the name Codelength
- Content length in bytesinput
- Input streamconstantPool
- Array of constantsIOException
- Thrown when an I/O exception of some sort has occurred.public Attribute copy(ConstantPool constantPool)
copy
in class Annotations
constantPool
- constant pool to save.public final void dump(DataOutputStream dos) throws IOException
Attribute
dump
in class Attribute
dos
- Output file streamIOException
- if an I/O error occurs.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.