public class AnnotationQuery extends java.lang.Object implements AnnotationValue
Modifier and Type | Field and Description |
---|---|
private AnnotationValue |
condition |
private AnnotationValue |
falseExpression |
private AnnotationValue |
trueExpression |
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() |
private final AnnotationValue condition
private final AnnotationValue trueExpression
private final AnnotationValue falseExpression
public AnnotationQuery(AnnotationValue condition, AnnotationValue trueExpression, AnnotationValue falseExpression)
public java.lang.Object accept(AnnotationVisitor visitor)
AnnotationValue
accept
in interface AnnotationValue
visitor
- Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public java.lang.Object getParameterValue()
AnnotationValue
Annotation.getNamedParameter(String)
.getParameterValue
in interface AnnotationValue
public java.lang.String toString()
toString
in class java.lang.Object