com.thoughtworks.qdox.model.annotation

Class AnnotationConstant

Implemented Interfaces:
AnnotationValue

public class AnnotationConstant
extends java.lang.Object
implements AnnotationValue

Constructor Summary

AnnotationConstant(Object value, String image)

Method Summary

Object
accept(AnnotationVisitor visitor)
Accept a visitor for this value.
String
getImage()
Object
getParameterValue()
Get a parameter value for Annotation.getNamedParameter(String).
Object
getValue()
String
toString()

Constructor Details

AnnotationConstant

public AnnotationConstant(Object value,
                          String image)

Method Details

accept

public Object accept(AnnotationVisitor visitor)
Accept a visitor for this value.
Specified by:
accept in interface AnnotationValue
Parameters:
visitor - Visitor
Returns:
Visitor result

getImage

public String getImage()

getParameterValue

public Object getParameterValue()
Specified by:
getParameterValue in interface AnnotationValue
Returns:
Parameter value

getValue

public Object getValue()

toString

public String toString()