public class AnnotationQuery extends Object implements AnnotationValue
| Constructor and Description |
|---|
AnnotationQuery(AnnotationValue condition,
AnnotationValue trueExpression,
AnnotationValue falseExpression) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(AnnotationVisitor visitor)
Accept a visitor for this value.
|
AnnotationValue |
getCondition() |
AnnotationValue |
getFalseExpression() |
Object |
getParameterValue()
Get a parameter value for
Annotation.getNamedParameter(String). |
AnnotationValue |
getTrueExpression() |
String |
toString() |
public AnnotationQuery(AnnotationValue condition, AnnotationValue trueExpression, AnnotationValue falseExpression)
public Object accept(AnnotationVisitor visitor)
AnnotationValueaccept in interface AnnotationValuevisitor - Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public Object getParameterValue()
AnnotationValueAnnotation.getNamedParameter(String).getParameterValue in interface AnnotationValueCopyright © 2002–2017. All rights reserved.