@SPI public interface AnnotatedMethodParameterProcessor extends Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 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(AnnotationMirror annotation,
VariableElement parameter,
int parameterIndex,
ExecutableElement method,
RestMethodMetadata restMethodMetadata)
Process the specified method
parameter |
compareTo, getPriorityString getAnnotationType()
void process(AnnotationMirror annotation, VariableElement parameter, int parameterIndex, ExecutableElement method, RestMethodMetadata restMethodMetadata)
parameterannotation - the target annotation whose type is getAnnotationType()parameter - method parameterparameterIndex - the index of parameter in the methodmethod - method that parameter belongs torestMethodMetadata - the metadata is used to updatestatic String buildDefaultValue(int parameterIndex)
parameterIndex - the index of parameterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.