com.tc.backport175.bytecode
Class AnnotationElement.Array

java.lang.Object
  extended by com.tc.backport175.bytecode.AnnotationElement
      extended by com.tc.backport175.bytecode.AnnotationElement.Array
All Implemented Interfaces:
AnnotationElement.NestedAnnotationElement, java.io.Serializable
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 com.tc.backport175.bytecode.AnnotationElement
AnnotationElement.Annotation, AnnotationElement.Array, AnnotationElement.Enum, AnnotationElement.NamedValue, AnnotationElement.NestedAnnotationElement, AnnotationElement.Type
 
Field Summary
 
Fields inherited from class com.tc.backport175.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


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.