public class ParameterAnnotationReader
extends java.lang.Object
Constructor and Description |
---|
ParameterAnnotationReader() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<io.swagger.annotations.ApiParam> |
apiParam(org.springframework.core.MethodParameter methodParameter) |
static <A extends java.lang.annotation.Annotation> |
fromHierarchy(org.springframework.core.MethodParameter methodParameter,
java.lang.Class<A> annotationType) |
public static com.google.common.base.Optional<io.swagger.annotations.ApiParam> apiParam(org.springframework.core.MethodParameter methodParameter)
public static <A extends java.lang.annotation.Annotation> com.google.common.base.Optional<A> fromHierarchy(org.springframework.core.MethodParameter methodParameter, java.lang.Class<A> annotationType)