/* * @(#)AnnotationValue.java 1.3 04/04/08 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.javadoc; /** * Represents a value of an annotation type element. * * @author Scott Seligman * @version 1.3 04/04/08 * @since 1.5 */ public interface AnnotationValue { /** * Returns the value. * The type of the returned object is one of the following: * * * @return the value. */ Object value(); /** * Returns a string representation of the value. * * @return the text of a Java language annotation value expression * whose value is the value of this element. */ String toString(); }