Class AnnotationConstant
- java.lang.Object
-
- com.thoughtworks.qdox.model.annotation.AnnotationConstant
-
- All Implemented Interfaces:
AnnotationValue,java.io.Serializable
public class AnnotationConstant extends java.lang.Object implements AnnotationValue, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationConstant(java.lang.Object value, java.lang.String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(AnnotationVisitor visitor)Accept a visitor for this value.java.lang.StringgetImage()java.lang.ObjectgetParameterValue()Get a parameter value forAnnotation.getNamedParameter(String).java.lang.ObjectgetValue()java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
-
getImage
public java.lang.String getImage()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
accept
public java.lang.Object accept(AnnotationVisitor visitor)
Description copied from interface:AnnotationValueAccept a visitor for this value.- Specified by:
acceptin interfaceAnnotationValue- Parameters:
visitor- Visitor- Returns:
- Visitor result
-
getParameterValue
public java.lang.Object getParameterValue()
Description copied from interface:AnnotationValueGet a parameter value forAnnotation.getNamedParameter(String).- Specified by:
getParameterValuein interfaceAnnotationValue- Returns:
- Parameter value
-
-