Class AnnotationQuery
- java.lang.Object
-
- com.thoughtworks.qdox.model.annotation.AnnotationQuery
-
- All Implemented Interfaces:
AnnotationValue
public class AnnotationQuery extends java.lang.Object implements AnnotationValue
-
-
Constructor Summary
Constructors Constructor Description AnnotationQuery(AnnotationValue condition, AnnotationValue trueExpression, AnnotationValue falseExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 forAnnotation.getNamedParameter(String)
.AnnotationValue
getTrueExpression()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AnnotationQuery
public AnnotationQuery(AnnotationValue condition, AnnotationValue trueExpression, AnnotationValue falseExpression)
-
-
Method Detail
-
accept
public java.lang.Object accept(AnnotationVisitor visitor)
Description copied from interface:AnnotationValue
Accept a visitor for this value.- Specified by:
accept
in interfaceAnnotationValue
- Parameters:
visitor
- Visitor- Returns:
- Visitor result
-
getCondition
public AnnotationValue getCondition()
-
getTrueExpression
public AnnotationValue getTrueExpression()
-
getFalseExpression
public AnnotationValue getFalseExpression()
-
getParameterValue
public java.lang.Object getParameterValue()
Description copied from interface:AnnotationValue
Get a parameter value forAnnotation.getNamedParameter(String)
.- Specified by:
getParameterValue
in interfaceAnnotationValue
- Returns:
- Parameter value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-