public class ParameterContext extends Object
| 构造器和说明 |
|---|
ParameterContext(ResolvedMethodParameter resolvedMethodParameter,
ParameterBuilder parameterBuilder,
DocumentationContext documentationContext,
GenericTypeNamingStrategy genericNamingStrategy,
OperationContext operationContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.fasterxml.classmate.ResolvedType |
alternateFor(com.fasterxml.classmate.ResolvedType parameterType) |
AlternateTypeProvider |
getAlternateTypeProvider() |
DocumentationContext |
getDocumentationContext() |
DocumentationType |
getDocumentationType() |
GenericTypeNamingStrategy |
getGenericNamingStrategy() |
String |
getGroupName() |
com.google.common.collect.ImmutableSet<Class> |
getIgnorableParameterTypes() |
OperationContext |
getOperationContext() |
org.springframework.core.MethodParameter |
methodParameter()
已过时。
Use
resolvedMethodParameter() instead |
ParameterBuilder |
parameterBuilder() |
ResolvedMethodParameter |
resolvedMethodParameter() |
public ParameterContext(ResolvedMethodParameter resolvedMethodParameter, ParameterBuilder parameterBuilder, DocumentationContext documentationContext, GenericTypeNamingStrategy genericNamingStrategy, OperationContext operationContext)
public ResolvedMethodParameter resolvedMethodParameter()
@Deprecated public org.springframework.core.MethodParameter methodParameter()
resolvedMethodParameter() insteadpublic ParameterBuilder parameterBuilder()
public DocumentationContext getDocumentationContext()
public DocumentationType getDocumentationType()
public com.fasterxml.classmate.ResolvedType alternateFor(com.fasterxml.classmate.ResolvedType parameterType)
public AlternateTypeProvider getAlternateTypeProvider()
public GenericTypeNamingStrategy getGenericNamingStrategy()
public OperationContext getOperationContext()
public com.google.common.collect.ImmutableSet<Class> getIgnorableParameterTypes()
public String getGroupName()
Copyright © 2023. All rights reserved.