APIdia Launch Partner
Top Description Constructors Methods
com.sun.org.apache.bcel.internal.classfile

public Class RuntimeVisibleAnnotations

extends Annotations
Class Inheritance
Imports
java.io.DataInput, .DataOutputStream, .IOException, com.sun.org.apache.bcel.internal.Const

An annotation that is represented in the class file and is provided to the JVM.
Since
6.0

Constructor Summary

AccessConstructor and Description
public
RuntimeVisibleAnnotations(final int
Index pointing to the name Code
nameIndex
,
final int
Content length in bytes
length
,
final DataInput
Input stream
input
,
final ConstantPool
Array of constants
constantPool
)

Constructs a new instance.

Method Summary

Modifier and TypeMethod and Description
public Attribute

Returns:

deep copy of this attribute.
copy
(final ConstantPool constantPool)

Overrides com.sun.org.apache.bcel.internal.classfile.Annotations.copy.

Creates a deep copy of this attribute.

public final void
dump(final DataOutputStream dos)

Overrides com.sun.org.apache.bcel.internal.classfile.Attribute.dump.

Dumps attribute to file stream in binary format.

Inherited from com.sun.org.apache.bcel.internal.classfile.Annotations:
acceptgetAnnotationEntriesgetNumAnnotationsisRuntimeVisibleiteratorsetAnnotationTabletoStringwriteAnnotations

Constructor Detail

RuntimeVisibleAnnotationsback to summary
public RuntimeVisibleAnnotations(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException

Constructs a new instance.

Parameters
nameIndex:int

Index pointing to the name Code

length:int

Content length in bytes

input:DataInput

Input stream

constantPool:ConstantPool

Array of constants

Exceptions
IOException:
Thrown when an I/O exception of some sort has occurred.

Method Detail

copyback to summary
public Attribute copy(final ConstantPool constantPool)

Overrides com.sun.org.apache.bcel.internal.classfile.Annotations.copy.

Creates a deep copy of this attribute.

Returns:Attribute

deep copy of this attribute.

Annotations
@Override
dumpback to summary
public final void dump(final DataOutputStream dos) throws IOException

Overrides com.sun.org.apache.bcel.internal.classfile.Attribute.dump.

Doc from com.sun.org.apache.bcel.internal.classfile.Attribute.dump.

Dumps attribute to file stream in binary format.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs.