org.codehaus.backport175.reader.bytecode
Class AnnotationElement.Array

java.lang.Object
  extended by org.codehaus.backport175.reader.bytecode.AnnotationElement
      extended by org.codehaus.backport175.reader.bytecode.AnnotationElement.Array
All Implemented Interfaces:
java.io.Serializable, AnnotationElement.NestedAnnotationElement
Enclosing class:
AnnotationElement

public static class AnnotationElement.Array
extends AnnotationElement
implements AnnotationElement.NestedAnnotationElement

Abstraction for the array element type.

Author:
Jonas Bon?r
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.backport175.reader.bytecode.AnnotationElement
AnnotationElement.Annotation, AnnotationElement.Array, AnnotationElement.Enum, AnnotationElement.NamedValue, AnnotationElement.NestedAnnotationElement, AnnotationElement.Type
 
Field Summary
 
Fields inherited from class org.codehaus.backport175.reader.bytecode.AnnotationElement
DEFAULT_VALUE_NAME
 
Constructor Summary
AnnotationElement.Array()
           
 
Method Summary
 void addElement(java.lang.String name, java.lang.Object element)
           
 java.util.List getElements()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationElement.Array

public AnnotationElement.Array()
Method Detail

addElement

public void addElement(java.lang.String name,
                       java.lang.Object element)
Specified by:
addElement in interface AnnotationElement.NestedAnnotationElement

getElements

public java.util.List getElements()
Specified by:
getElements in interface AnnotationElement.NestedAnnotationElement

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object