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 AnnotationValuevalue
-
Constructor Summary
Constructors Constructor Description ParenExpression(AnnotationValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(ExpressionVisitor visitor)Accept a visitor for this value.java.lang.StringgetParameterValue()Get a parameter value forJavaAnnotation.getNamedParameter(String).AnnotationValuegetValue()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
accept
public java.lang.Object accept(ExpressionVisitor visitor)
Accept a visitor for this value.- Specified by:
acceptin interfaceAnnotationValue- Parameters:
visitor- Visitor- Returns:
- Visitor result
-
getParameterValue
public java.lang.String getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String).- Specified by:
getParameterValuein interfaceExpression- Returns:
- Parameter value
-
-