proguard.classfile.editor
Class AnnotationsAttributeEditor

java.lang.Object
  extended by proguard.classfile.editor.AnnotationsAttributeEditor

public class AnnotationsAttributeEditor
extends java.lang.Object

This class can add annotations to a given annotations attribute. Annotations to be added must have been filled out beforehand.


Constructor Summary
AnnotationsAttributeEditor(AnnotationsAttribute targetAnnotationsAttribute)
          Creates a new AnnotationsAttributeEditor that will edit annotations in the given annotations attribute.
 
Method Summary
 void addAnnotation(Annotation annotation)
          Adds a given annotation to the annotations attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsAttributeEditor

public AnnotationsAttributeEditor(AnnotationsAttribute targetAnnotationsAttribute)
Creates a new AnnotationsAttributeEditor that will edit annotations in the given annotations attribute.

Method Detail

addAnnotation

public void addAnnotation(Annotation annotation)
Adds a given annotation to the annotations attribute.