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)
AnnotationValue
accept
in interface AnnotationValue
visitor
- Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public Object getParameterValue()
AnnotationValue
Annotation.getNamedParameter(String)
.getParameterValue
in interface AnnotationValue
Copyright © 2002–2017. All rights reserved.