- java.lang.Object
-
- com.thoughtworks.qdox.model.expression.MethodInvocation
-
- All Implemented Interfaces:
AnnotationValue
,Expression
public class MethodInvocation extends Object implements AnnotationValue
-
-
Constructor Summary
Constructors Constructor Description MethodInvocation(String methodName, List<AnnotationValue> arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(ExpressionVisitor visitor)
Accept a visitor for this value.List<AnnotationValue>
getArguments()
String
getMethodName()
Object
getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.
-
-
-
Constructor Detail
-
MethodInvocation
public MethodInvocation(String methodName, List<AnnotationValue> arguments)
-
-
Method Detail
-
getParameterValue
public Object getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.- Specified by:
getParameterValue
in interfaceExpression
- Returns:
- Parameter value
-
getMethodName
public String getMethodName()
-
getArguments
public List<AnnotationValue> getArguments()
-
accept
public Object accept(ExpressionVisitor visitor)
Accept a visitor for this value.- Specified by:
accept
in interfaceAnnotationValue
- Parameters:
visitor
- Visitor- Returns:
- Visitor result
-
-