Class MethodInvocation
- java.lang.Object
-
- com.thoughtworks.qdox.model.expression.MethodInvocation
-
- All Implemented Interfaces:
AnnotationValue
,Expression
public class MethodInvocation extends java.lang.Object implements AnnotationValue
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<AnnotationValue>
arguments
private java.lang.String
methodName
-
Constructor Summary
Constructors Constructor Description MethodInvocation(java.lang.String methodName, java.util.List<AnnotationValue> arguments)
-
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.util.List<AnnotationValue>
getArguments()
java.lang.String
getMethodName()
java.lang.Object
getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.
-
-
-
Field Detail
-
methodName
private java.lang.String methodName
-
arguments
private java.util.List<AnnotationValue> arguments
-
-
Constructor Detail
-
MethodInvocation
public MethodInvocation(java.lang.String methodName, java.util.List<AnnotationValue> arguments)
-
-
Method Detail
-
getParameterValue
public java.lang.Object getParameterValue()
Get a parameter value forJavaAnnotation.getNamedParameter(String)
.- Specified by:
getParameterValue
in interfaceExpression
- Returns:
- Parameter value
-
getMethodName
public java.lang.String getMethodName()
-
getArguments
public java.util.List<AnnotationValue> getArguments()
-
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
-
-