Types
Factory methods for types.
Functions
array Of
Link copied to clipboard
Returns an array type whose elements are all instances of
componentType.collection Element Type
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.
generated Json Adapter Name
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.get Raw Type
Link copied to clipboard
new Parameterized Type
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.new Parameterized Type With Owner
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.next Annotations
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.subtype Of
Link copied to clipboard
Returns a type that represents an unknown type that extends
bound.supertype Of
Link copied to clipboard
Returns a type that represents an unknown supertype of
bound.