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>argumentsprivate java.lang.StringmethodName
-
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.Objectaccept(ExpressionVisitor visitor)Accept a visitor for this value.java.util.List<AnnotationValue>getArguments()java.lang.StringgetMethodName()java.lang.ObjectgetParameterValue()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:
getParameterValuein 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:
acceptin interfaceAnnotationValue- Parameters:
visitor- Visitor- Returns:
- Visitor result
-
-