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

public abstract Class Attribute

extends Object
implements WritableEntry
Class Inheritance
All Implemented Interfaces
org.jboss.classfilewriter.WritableEntry
Known Direct Subclasses
org.jboss.classfilewriter.attributes.ExceptionsAttribute, org.jboss.classfilewriter.attributes.SignatureAttribute, org.jboss.classfilewriter.attributes.StackMapTableAttribute, org.jboss.classfilewriter.code.CodeAttribute, org.jboss.classfilewriter.annotations.AnnotationsAttribute, org.jboss.classfilewriter.annotations.ParameterAnnotationsAttribute
Imports
org.jboss.classfilewriter.WritableEntry, org.jboss.classfilewriter.constpool.ConstPool, org.jboss.classfilewriter.util.ByteArrayDataOutputStream, java.io.IOException

Represents an attribute in a class file
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
protected final ConstPool
private final String
private final int

Constructor Summary

AccessConstructor and Description
public
Attribute(String name, final ConstPool constPool)

Method Summary

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

Field Detail

constPoolback to summary
protected final ConstPool constPool
nameback to summary
private final String name
nameIndexback to summary
private final int nameIndex

Constructor Detail

Attributeback to summary
public Attribute(String name, final ConstPool constPool)

Method Detail

getNameback to summary
public String getName()
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