Class ParenExpression
- java.lang.Object
-
- com.thoughtworks.qdox.model.expression.ParenExpression
-
- All Implemented Interfaces:
AnnotationValue
,Expression
public class ParenExpression extends java.lang.Object implements AnnotationValue
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationValue
value
-
Constructor Summary
Constructors Constructor Description ParenExpression(AnnotationValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(ExpressionVisitor visitor)
Accept a visitor for this value.java.lang.String
getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.AnnotationValue
getValue()
java.lang.String
toString()
-
-
-
Field Detail
-
value
private AnnotationValue value
-
-
Constructor Detail
-
ParenExpression
public ParenExpression(AnnotationValue value)
-
-
Method Detail
-
getValue
public AnnotationValue getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
accept
public java.lang.Object accept(ExpressionVisitor visitor)
Accept a visitor for this value.- Specified by:
accept
in interfaceAnnotationValue
- Parameters:
visitor
- Visitor- Returns:
- Visitor result
-
getParameterValue
public java.lang.String getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.- Specified by:
getParameterValue
in interfaceExpression
- Returns:
- Parameter value
-
-