AnnotationValue, Expressionpublic abstract class Constant extends Object implements AnnotationValue
public abstract Object getValue()
public String getImage()
public Object accept(ExpressionVisitor visitor)
accept in interface AnnotationValuevisitor - Visitorpublic String getParameterValue()
JavaAnnotation.getNamedParameter(String).getParameterValue in interface Expressionprotected static Character toChar(String value) throws IllegalArgumentException
value - the single quoted valueIllegalArgumentException - if value is not a character literalprotected static String toString(String value) throws IllegalArgumentException
value - the double quoted valueIllegalArgumentException - if value is not a String literalCopyright © 2002–2018. All rights reserved.