Top Description Fields Constructors Methods
org.jboss.classfilewriter.annotations

public abstract Class AnnotationValue

extends Object
implements WritableEntry
Class Inheritance
All Implemented Interfaces
org.jboss.classfilewriter.WritableEntry
Known Direct Subclasses
org.jboss.classfilewriter.annotations.ArrayAnnotationValue, org.jboss.classfilewriter.annotations.BooleanAnnotationValue, org.jboss.classfilewriter.annotations.ByteAnnotationValue, org.jboss.classfilewriter.annotations.CharAnnotationValue, org.jboss.classfilewriter.annotations.ClassAnnotationValue, org.jboss.classfilewriter.annotations.DoubleAnnotationValue, org.jboss.classfilewriter.annotations.EnumAnnotationValue, org.jboss.classfilewriter.annotations.FloatAnnotationValue, org.jboss.classfilewriter.annotations.IntAnnotationValue, org.jboss.classfilewriter.annotations.LongAnnotationValue, org.jboss.classfilewriter.annotations.ShortAnnotationValue, org.jboss.classfilewriter.annotations.StringAnnotationValue, org.jboss.classfilewriter.annotations.AnnotationAnnotationValue
Imports
org.jboss.classfilewriter.WritableEntry, org.jboss.classfilewriter.constpool.ConstPool, org.jboss.classfilewriter.util.ByteArrayDataOutputStream, java.io.IOException

Represents an annotation name/value pair. This class can also represent a value an an array valued annotation instance, if the name is null
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final String
private final int

Constructor Summary

AccessConstructor and Description
protected
AnnotationValue(ConstPool constPool, String name)

Method Summary

Modifier and TypeMethod and Description
public String
public abstract char
public void
public abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
nameIndexback to summary
private final int nameIndex

Constructor Detail

AnnotationValueback to summary
protected AnnotationValue(ConstPool constPool, String name)

Method Detail

getNameback to summary
public String getName()
getTagback to summary
public abstract char getTag()
writeback to summary
public void write(ByteArrayDataOutputStream stream) throws IOException

Implements org.jboss.classfilewriter.WritableEntry.write.

writeDataback to summary
public abstract void writeData(ByteArrayDataOutputStream stream) throws IOException