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