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

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

public static class AnnotationElement.NamedValue
extends AnnotationElement

Abstraction for the named value 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.NamedValue(java.lang.String name, java.lang.Object value)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Object getResolvedValue()
           
 AnnotationElement.Type getType()
           
 java.lang.Object getValue()
           
 boolean isResolved()
           
 void setResolvedValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationElement.NamedValue

public AnnotationElement.NamedValue(java.lang.String name,
                                    java.lang.Object value)
Method Detail

getName

public java.lang.String getName()

getValue

public java.lang.Object getValue()

getType

public AnnotationElement.Type getType()

setResolvedValue

public void setResolvedValue(java.lang.Object value)

isResolved

public boolean isResolved()

getResolvedValue

public java.lang.Object getResolvedValue()

toString

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