Package org.apache.bcel.classfile
Class RuntimeVisibleAnnotations
java.lang.Object
org.apache.bcel.classfile.Attribute
org.apache.bcel.classfile.Annotations
org.apache.bcel.classfile.RuntimeVisibleAnnotations
represents an annotation that is represented in the class file and is
provided to the JVM.
- Since:
- 6.0
-
Field Summary
Fields inherited from class org.apache.bcel.classfile.Attribute
constant_pool, length, name_index, tag
-
Constructor Summary
ConstructorDescriptionRuntimeVisibleAnnotations
(int name_index, int length, DataInput input, ConstantPool constant_pool) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(ConstantPool constant_pool) final void
dump
(DataOutputStream dos) Dump attribute to file stream in binary format.Methods inherited from class org.apache.bcel.classfile.Annotations
accept, getAnnotationEntries, getNumAnnotations, isRuntimeVisible, setAnnotationTable, writeAnnotations
Methods inherited from class org.apache.bcel.classfile.Attribute
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toString
-
Constructor Details
-
RuntimeVisibleAnnotations
public RuntimeVisibleAnnotations(int name_index, int length, DataInput input, ConstantPool constant_pool) throws IOException - Parameters:
name_index
- Index pointing to the name Codelength
- Content length in bytesinput
- Input streamconstant_pool
- Array of constants- Throws:
IOException
-
-
Method Details