Util
class Util
Content copied to clipboard
Types
GenericArrayTypeImpl
Link copied to clipboard
ParameterizedTypeImpl
Link copied to clipboard
WildcardTypeImpl
Link copied to clipboard
Functions
boxIfPrimitive
Link copied to clipboard
canonicalize
Link copied to clipboard
generatedAdapter
Link copied to clipboard
@Nullable()
Content copied to clipboard
Loads the generated JsonAdapter for classes annotated JsonClass.
getGenericSupertype
Link copied to clipboard
hasNullable
Link copied to clipboard
isAnnotationPresent
Link copied to clipboard
open fun isAnnotationPresent(annotations: Set<out Annotation>, annotationClass: Class<out Annotation>): Boolean
Content copied to clipboard
isPlatformType
Link copied to clipboard
jsonAnnotations
Link copied to clipboard
open fun jsonAnnotations(annotations: Array<Annotation>): Set<out Annotation>
Content copied to clipboard
open fun jsonAnnotations(annotatedElement: AnnotatedElement): Set<out Annotation>
Content copied to clipboard
lookupDefaultsConstructor
Link copied to clipboard
open fun <T> lookupDefaultsConstructor(targetClass: Class<T>): Constructor<T>
Content copied to clipboard
missingProperty
Link copied to clipboard
open fun missingProperty(propertyName: String, jsonName: String, reader: JsonReader): JsonDataException
Content copied to clipboard
removeSubtypeWildcard
Link copied to clipboard
rethrowCause
Link copied to clipboard
typeAnnotatedWithAnnotations
Link copied to clipboard
open fun typeAnnotatedWithAnnotations(type: Type, annotations: Set<out Annotation>): String
Content copied to clipboard
typesMatch
Link copied to clipboard
unexpectedNull
Link copied to clipboard
open fun unexpectedNull(propertyName: String, jsonName: String, reader: JsonReader): JsonDataException
Content copied to clipboard
Properties
DEFAULT_CONSTRUCTOR_MARKER
Link copied to clipboard
EMPTY_TYPE_ARRAY
Link copied to clipboard
NO_ANNOTATIONS
Link copied to clipboard