ResolvedTypeReference

data class ResolvedTypeReference(val type: Type, val typeNode: ExpressionNode, val fullNode: ExpressionNode = typeNode, val isOptional: Boolean = false, val constraints: List<ResolvedTypeReference.Constraint> = emptyList()) : TypeReference

Constructors

Link copied to clipboard
constructor(type: Type, typeNode: ExpressionNode, fullNode: ExpressionNode = typeNode, isOptional: Boolean = false, constraints: List<ResolvedTypeReference.Constraint> = emptyList())

Types

Link copied to clipboard
interface Constraint

Properties

Link copied to clipboard

Includes the full type reference, e.g. "List? (1..100)"

Link copied to clipboard
open override val humanReadableName: String
Link copied to clipboard
val isOptional: Boolean = false
Link copied to clipboard
val type: Type
Link copied to clipboard

Includes only the type reference, e.g. "foo.bar.Baz", "Map" or "String"