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

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

Introduction

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

The text is from its open source code.

Subclass

org.springframework.core.convert.TypeDescriptor has subclasses.
Click this link to see all its subclasses.

Constructor

TypeDescriptor(MethodParameter methodParameter)
Create a new type descriptor from a MethodParameter .
TypeDescriptor(Field field)
Create a new type descriptor from a Field .
TypeDescriptor(Property property)
Create a new type descriptor from a Property .

Method

TypeDescriptorforObject(@Nullable Object source)
Create a new type descriptor for an object.
TgetAnnotation(Class annotationType)
Obtain the annotation of the specified annotationType that is on this type descriptor.
TypeDescriptorgetElementTypeDescriptor()
If this type is an array, returns the array's component type.
TypeDescriptorgetMapKeyTypeDescriptor()
If this type is a Map and its key type is parameterized, returns the map's key type.
TypeDescriptorgetMapValueTypeDescriptor()
If this type is a Map and its value type is parameterized, returns the map's value type.
StringgetName()
Return the name of this type: the fully qualified class name.
ClassgetObjectType()
Variation of #getType() that accounts for a primitive type by returning its object wrapper type.
ResolvableTypegetResolvableType()
Return the underlying ResolvableType .
ClassgetType()
The type of the backing class, method parameter, field, or property described by this TypeDescriptor.
booleanhasAnnotation(Class annotationType)
Determine if this type descriptor has the specified annotation.
booleanisArray()
Is this type an array type?
booleanisAssignableTo(TypeDescriptor typeDescriptor)
Returns true if an object of this type descriptor can be assigned to the location described by the given type descriptor.
booleanisCollection()
Is this type a Collection type?
booleanisPrimitive()
Is this type a primitive type?
TypeDescriptornarrow(@Nullable Object value)
Narrows this TypeDescriptor by setting its type to the class of the provided value.
TypeDescriptornested(MethodParameter methodParameter, int nestingLevel)
Create a type descriptor for a nested type declared within the method parameter.
TypeDescriptornested(Field field, int nestingLevel)
Create a type descriptor for a nested type declared within the field.
TypeDescriptornested(Property property, int nestingLevel)
Create a type descriptor for a nested type declared within the property.
TypeDescriptornested(TypeDescriptor typeDescriptor, int nestingLevel)
TypeDescriptorvalueOf(@Nullable Class type)
Create a new type descriptor from the given type.