@FunctionalInterface public static interface DeclarativeContract.ParameterAnnotationProcessor<E extends Annotation>
| Modifier and Type | Field and Description |
|---|---|
static DeclarativeContract.ParameterAnnotationProcessor<Annotation> |
DO_NOTHING |
| Modifier and Type | Method and Description |
|---|---|
void |
process(E annotation,
MethodMetadata metadata,
int paramIndex) |
static final DeclarativeContract.ParameterAnnotationProcessor<Annotation> DO_NOTHING
void process(E annotation, MethodMetadata metadata, int paramIndex)
annotation - present on the current parameter annotation.metadata - metadata collected so far relating to the current java method.paramIndex - if you find a name in annotations, call
Contract.BaseContract.nameParam(MethodMetadata, String, int) with this as the last parameter.Copyright © 2012–2021 OpenFeign. All rights reserved.