| 程序包 | 说明 |
|---|---|
| cn.jants.restful.bind |
| 限定符和类型 | 字段和说明 |
|---|---|
static ResolvableType |
ResolvableType.NONE
ResolvableType returned when no value is available. |
| 限定符和类型 | 方法和说明 |
|---|---|
ResolvableType |
ResolvableType.as(java.lang.Class<?> type)
Return this type as a
ResolvableType of the specified class. |
ResolvableType |
ResolvableType.asCollection()
Convenience method to return this type as a resolvable
Collection type. |
ResolvableType |
ResolvableType.asMap()
Convenience method to return this type as a resolvable
Map type. |
static ResolvableType |
ResolvableType.forArrayComponent(ResolvableType componentType)
Return a
ResolvableType as a array of the specified componentType. |
static ResolvableType |
ResolvableType.forClass(java.lang.Class<?> sourceClass)
Return a
ResolvableType for the specified Class. |
static ResolvableType |
ResolvableType.forClass(java.lang.Class<?> sourceClass,
java.lang.Class<?> implementationClass)
Return a
ResolvableType for the specified Class with a given
implementation. |
static ResolvableType |
ResolvableType.forClassWithGenerics(java.lang.Class<?> sourceClass,
java.lang.Class<?>... generics)
Return a
ResolvableType for the specified Class with pre-declared generics. |
static ResolvableType |
ResolvableType.forClassWithGenerics(java.lang.Class<?> sourceClass,
ResolvableType... generics)
Return a
ResolvableType for the specified Class with pre-declared generics. |
static ResolvableType |
ResolvableType.forConstructorParameter(java.lang.reflect.Constructor<?> constructor,
int parameterIndex)
Return a
ResolvableType for the specified Constructor parameter. |
static ResolvableType |
ResolvableType.forConstructorParameter(java.lang.reflect.Constructor<?> constructor,
int parameterIndex,
java.lang.Class<?> implementationClass)
Return a
ResolvableType for the specified Constructor parameter
with a given implementation. |
static ResolvableType |
ResolvableType.forField(java.lang.reflect.Field field)
Return a
ResolvableType for the specified Field. |
static ResolvableType |
ResolvableType.forField(java.lang.reflect.Field field,
java.lang.Class<?> implementationClass)
Return a
ResolvableType for the specified Field with a given
implementation. |
static ResolvableType |
ResolvableType.forField(java.lang.reflect.Field field,
int nestingLevel)
Return a
ResolvableType for the specified Field with the
given nesting level. |
static ResolvableType |
ResolvableType.forField(java.lang.reflect.Field field,
int nestingLevel,
java.lang.Class<?> implementationClass)
Return a
ResolvableType for the specified Field with a given
implementation and the given nesting level. |
static ResolvableType |
ResolvableType.forField(java.lang.reflect.Field field,
ResolvableType implementationType)
Return a
ResolvableType for the specified Field with a given
implementation. |
static ResolvableType |
ResolvableType.forMethodParameter(java.lang.reflect.Method method,
int parameterIndex)
Return a
ResolvableType for the specified Method parameter. |
static ResolvableType |
ResolvableType.forMethodParameter(java.lang.reflect.Method method,
int parameterIndex,
java.lang.Class<?> implementationClass)
Return a
ResolvableType for the specified Method parameter with a
given implementation. |
static ResolvableType |
ResolvableType.forMethodParameter(MethodParameter methodParameter)
Return a
ResolvableType for the specified MethodParameter. |
static ResolvableType |
ResolvableType.forMethodParameter(MethodParameter methodParameter,
ResolvableType implementationType)
Return a
ResolvableType for the specified MethodParameter with a
given implementation type. |
static ResolvableType |
ResolvableType.forMethodParameter(MethodParameter methodParameter,
java.lang.reflect.Type targetType)
Return a
ResolvableType for the specified MethodParameter,
overriding the target type to resolve with a specific given type. |
static ResolvableType |
ResolvableType.forMethodReturnType(java.lang.reflect.Method method)
Return a
ResolvableType for the specified Method return type. |
static ResolvableType |
ResolvableType.forMethodReturnType(java.lang.reflect.Method method,
java.lang.Class<?> implementationClass)
Return a
ResolvableType for the specified Method return type. |
static ResolvableType |
ResolvableType.forType(java.lang.reflect.Type type)
Return a
ResolvableType for the specified Type. |
static ResolvableType |
ResolvableType.forType(java.lang.reflect.Type type,
ResolvableType owner)
Return a
ResolvableType for the specified Type backed by the given
owner type. |
ResolvableType |
ResolvableType.getComponentType()
Return the ResolvableType representing the component type of the array or
NONE if this type does not represent an array. |
ResolvableType |
ResolvableType.getGeneric(int... indexes)
Return a
ResolvableType representing the generic parameter for the given
indexes. |
ResolvableType[] |
ResolvableType.getGenerics()
Return an array of
ResolvableTypes representing the generic parameters of
this type. |
ResolvableType[] |
ResolvableType.getInterfaces()
Return a
ResolvableType array representing the direct interfaces
implemented by this type. |
ResolvableType |
ResolvableType.getNested(int nestingLevel)
Return a
ResolvableType for the specified nesting level. |
ResolvableType |
ResolvableType.getNested(int nestingLevel,
java.util.Map<java.lang.Integer,java.lang.Integer> typeIndexesPerLevel)
Return a
ResolvableType for the specified nesting level. |
ResolvableType |
ResolvableType.getSuperType()
Return a
ResolvableType representing the direct supertype of this type. |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResolvableType |
ResolvableType.forArrayComponent(ResolvableType componentType)
Return a
ResolvableType as a array of the specified componentType. |
static ResolvableType |
ResolvableType.forClassWithGenerics(java.lang.Class<?> sourceClass,
ResolvableType... generics)
Return a
ResolvableType for the specified Class with pre-declared generics. |
static ResolvableType |
ResolvableType.forField(java.lang.reflect.Field field,
ResolvableType implementationType)
Return a
ResolvableType for the specified Field with a given
implementation. |
static ResolvableType |
ResolvableType.forMethodParameter(MethodParameter methodParameter,
ResolvableType implementationType)
Return a
ResolvableType for the specified MethodParameter with a
given implementation type. |
static ResolvableType |
ResolvableType.forType(java.lang.reflect.Type type,
ResolvableType owner)
Return a
ResolvableType for the specified Type backed by the given
owner type. |
boolean |
ResolvableType.isAssignableFrom(ResolvableType other)
Determine whether this
ResolvableType is assignable from the
specified other type. |
Copyright © 2018. All Rights Reserved.