| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.reflect.type |
| 限定符和类型 | 方法和说明 |
|---|---|
SimpleParameter |
SimpleParameter.clone() |
static SimpleParameter |
SimpleParameter.forMethodOrConstructor(Object methodOrConstructor,
int parameterIndex)
Create a new MethodParameter for the given method or constructor.
|
SimpleParameter |
SimpleParameter.nested()
Return a variant of this
MethodParameter which points to the
same parameter but one nesting level deeper. |
SimpleParameter |
SimpleParameter.nestedIfOptional()
Return a variant of this
MethodParameter which points to
the same parameter but one nesting level deeper in case of a |
| 限定符和类型 | 方法和说明 |
|---|---|
static Type |
SerializableTypeWrapper.forMethodParameter(SimpleParameter methodParameter)
Return a
Serializable variant of
getGenericParameterType(). |
static ResolvableType |
ResolvableType.forMethodParameter(SimpleParameter methodParameter)
Return a
ResolvableType for the specified SimpleParameter. |
static ResolvableType |
ResolvableType.forMethodParameter(SimpleParameter methodParameter,
ResolvableType implementationType)
Return a
ResolvableType for the specified SimpleParameter with a
given implementation type. |
static ResolvableType |
ResolvableType.forMethodParameter(SimpleParameter methodParameter,
Type targetType)
Return a
ResolvableType for the specified SimpleParameter,
overriding the target type to resolve with a specific given type. |
static Type |
GenericTypeResolver.getTargetType(SimpleParameter methodParameter)
已过时。
as of Spring 4.0, use
getGenericParameterType() |
static Class<?> |
GenericTypeResolver.resolveParameterType(SimpleParameter methodParameter,
Class<?> implementationClass)
Determine the target type for the given generic parameter type.
|
| 构造器和说明 |
|---|
MethodParameterTypeProvider(SimpleParameter methodParameter) |
SimpleParameter(SimpleParameter original)
Copy constructor, resulting in an independent MethodParameter object
based on the same metadata and cache state that the original object was in.
|
Copyright © 2022. All rights reserved.