Java org.springframework.core ResolvableType fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core ResolvableType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core ResolvableType.

The text is from its open source code.

Field

ResolvableTypeNONE
ResolvableType returned when no value is available.

Method

ResolvableTypeas(Class type)
Return this type as a ResolvableType of the specified class.
voidclearCache()
Clear the internal ResolvableType / SerializableTypeWrapper cache.
ResolvableTypeforClass(@Nullable Class clazz)
Return a ResolvableType for the specified Class , using the full generic type information for assignability checks.
ResolvableTypeforClass(Class baseType, Class implementationClass)
Return a ResolvableType for the specified base type (interface or base class) with a given implementation class.
ResolvableTypeforClassWithGenerics(Class clazz, Class... generics)
Return a ResolvableType for the specified Class with pre-declared generics.
ResolvableTypeforClassWithGenerics(Class clazz, ResolvableType... generics)
Return a ResolvableType for the specified Class with pre-declared generics.
ResolvableTypeforField(Field field, Class implementationClass)
Return a ResolvableType for the specified Field with a given implementation.
ResolvableTypeforField(Field field, @Nullable ResolvableType implementationType)
Return a ResolvableType for the specified Field with a given implementation.
ResolvableTypeforField(Field field, int nestingLevel)
Return a ResolvableType for the specified Field with the given nesting level.
ResolvableTypeforField(Field field)
Return a ResolvableType for the specified Field .
ResolvableTypeforInstance(Object instance)
Return a ResolvableType for the specified instance.
ResolvableTypeforMethodParameter(Method method, int parameterIndex, Class implementationClass)
Return a ResolvableType for the specified Method parameter with a given implementation.
ResolvableTypeforMethodParameter(MethodParameter methodParameter, @Nullable Type targetType, int nestingLevel)
Return a ResolvableType for the specified MethodParameter at a specific nesting level, overriding the target type to resolve with a specific given type.
ResolvableTypeforMethodParameter(MethodParameter methodParameter)
Return a ResolvableType for the specified MethodParameter .
ResolvableTypeforMethodParameter(Method method, int parameterIndex)
Return a ResolvableType for the specified Method parameter.
ResolvableTypeforMethodParameter(MethodParameter methodParameter, @Nullable ResolvableType implementationType)
Return a ResolvableType for the specified MethodParameter with a given implementation type.
ResolvableTypeforMethodParameter(MethodParameter methodParameter, @Nullable Type targetType)
Return a ResolvableType for the specified MethodParameter , overriding the target type to resolve with a specific given type.
ResolvableTypeforMethodReturnType(Method method, Class implementationClass)
Return a ResolvableType for the specified Method return type.
ResolvableTypeforMethodReturnType(Method method)
Return a ResolvableType for the specified Method return type.
ResolvableTypeforType(@Nullable Type type)
Return a ResolvableType for the specified Type .
ResolvableTypeforType(ParameterizedTypeReference typeReference)
Return a ResolvableType for the specified ParameterizedTypeReference .
ResolvableTypeforType(@Nullable Type type, @Nullable ResolvableType owner)
Return a ResolvableType for the specified Type backed by the given owner type.
ResolvableTypeforType(@Nullable Type type, @Nullable VariableResolver variableResolver)
Return a ResolvableType for the specified Type backed by a given VariableResolver .
ClassgetClass()
Returns the runtime class of this Object .
ResolvableTypegetGeneric(@Nullable int... indexes)
Return a ResolvableType representing the generic parameter for the given indexes.
ResolvableType[]getGenerics()
Return an array of ResolvableType ResolvableTypes representing the generic parameters of this type.
ClassgetRawClass()
Return the underlying Java Class being managed, if available; otherwise null .
ObjectgetSource()
Return the underlying source of the resolvable type.
ResolvableTypegetSuperType()
Return a ResolvableType representing the direct supertype of this type.
booleanhasGenerics()
Return true if this type contains generic parameters.
booleanhasUnresolvableGenerics()
Determine whether the underlying type has any unresolvable generics: either through an unresolvable type variable on the type itself or through implementing a generic interface in a raw fashion, i.e.
booleanisAssignableFrom(Class other)
Determine whether this ResolvableType is assignable from the specified other type.
booleanisAssignableFrom(ResolvableType other)
Determine whether this ResolvableType is assignable from the specified other type.
Classresolve()
Resolve this type to a java.lang.Class , returning null if the type cannot be resolved.
Classresolve(Class fallback)
Resolve this type to a java.lang.Class , returning the specified fallback if the type cannot be resolved.
ClasstoClass()
Return this type as a resolved Class , falling back to java.lang.Object if no specific class can be resolved.