org.jboss.classfilewriter.annotations
Class ParameterAnnotationsAttribute
java.lang.Object
org.jboss.classfilewriter.attributes.Attribute
org.jboss.classfilewriter.annotations.ParameterAnnotationsAttribute
- All Implemented Interfaces:
- WritableEntry
public class ParameterAnnotationsAttribute
- extends Attribute
A parameter annotations attribute
- Author:
- Stuart Douglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterAnnotationsAttribute
public ParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type,
ConstPool constPool,
int noParameters)
writeData
public void writeData(ByteArrayDataOutputStream stream)
throws IOException
- Specified by:
writeData
in class Attribute
- Throws:
IOException
addAnnotation
public void addAnnotation(int parameter,
Annotation annotation)
addAnnotation
public void addAnnotation(int parameter,
ClassAnnotation annotation)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.