Types
Factory methods for types.
Functions
Link copied to clipboard
Returns an array type whose elements are all instances of
componentType.Link copied to clipboard
open fun collectionElementType(context: Type, contextRawType: Class<out Any>): Type
Content copied to clipboard
Returns the element type of this collection type.
Link copied to clipboard
Resolves the generated JsonAdapter fully qualified class name for a given JsonClass-annotated
clazz.Resolves the generated JsonAdapter fully qualified class name for a given JsonClass-annotated
className.Link copied to clipboard
Link copied to clipboard
open fun newParameterizedType(rawType: Type, typeArguments: Array<Type>): ParameterizedType
Content copied to clipboard
Returns a new parameterized type, applying
typeArguments to rawType.Link copied to clipboard
open fun newParameterizedTypeWithOwner( ownerType: Type, rawType: Type, typeArguments: Array<Type>): ParameterizedType
Content copied to clipboard
Returns a new parameterized type, applying
typeArguments to rawType.Link copied to clipboard
open fun nextAnnotations(annotations: Set<out Annotation>, jsonQualifier: Class<out Annotation>): Set<out Annotation>
Content copied to clipboard
Checks if
annotations contains jsonQualifier.Link copied to clipboard
Returns a type that represents an unknown type that extends
bound.Link copied to clipboard
Returns a type that represents an unknown supertype of
bound.