@SPI
public interface AnnotatedMethodParameterProcessor
extends org.apache.dubbo.common.lang.Prioritized
| Modifier and Type | Method and Description |
|---|---|
static String |
buildDefaultValue(int parameterIndex)
Build the default value
|
String |
getAnnotationType()
The string presenting the annotation type
|
void |
process(Annotation annotation,
Parameter parameter,
int parameterIndex,
Method method,
Class<?> serviceType,
Class<?> serviceInterfaceClass,
RestMethodMetadata restMethodMetadata)
Process the specified method
parameter |
String getAnnotationType()
void process(Annotation annotation, Parameter parameter, int parameterIndex, Method method, Class<?> serviceType, Class<?> serviceInterfaceClass, RestMethodMetadata restMethodMetadata)
parameterannotation - the target annotation whose type is getAnnotationType()parameter - the method parameterparameterIndex - the index of method parametermethod - method that parameter belongs toserviceType - Dubbo Service interface or typeserviceInterfaceClass - The type of Dubbo Service interfacerestMethodMetadata - the metadata is used to updatestatic String buildDefaultValue(int parameterIndex)
parameterIndex - the index of parameterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.