public class RuntimeVisibleAnnotations extends Annotations
constant_pool, EMPTY_ARRAY, length, name_index, tag
Constructor and Description |
---|
RuntimeVisibleAnnotations(int name_index,
int length,
DataInput input,
ConstantPool constant_pool) |
Modifier and Type | Method and Description |
---|---|
Attribute |
copy(ConstantPool constant_pool) |
void |
dump(DataOutputStream dos)
Dump 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 name_index, int length, DataInput input, ConstantPool constant_pool) throws IOException
name_index
- Index pointing to the name Codelength
- Content length in bytesinput
- Input streamconstant_pool
- Array of constantsIOException
public Attribute copy(ConstantPool constant_pool)
copy
in class Annotations
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–2022 The Apache Software Foundation. All rights reserved.