object Types
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Types
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val boolean: __Type
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def collectTypes(t: __Type, existingTypes: List[__Type] = Nil): List[__Type]
Returns a map of all the types nested within the given root type.
- val double: __Type
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractCommonDescription(l: List[__Field]): Option[String]
- val float: __Type
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def innerType(t: __Type): __Type
- val int: __Type
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listOf(t: __Type): Option[__Type]
- val long: __Type
- def makeEnum(name: Option[String], description: Option[String], values: List[__EnumValue], origin: Option[String], directives: Option[List[Directive]] = None): __Type
- def makeField(name: String, description: Option[String], arguments: List[__InputValue], type: () => __Type, isDeprecated: Boolean = false, deprecationReason: Option[String] = None, directives: Option[List[Directive]] = None): __Field
- def makeInputObject(name: Option[String], description: Option[String], fields: List[__InputValue], origin: Option[String] = None, directives: Option[List[Directive]] = None): __Type
- def makeInterface(name: Option[String], description: Option[String], fields: () => List[__Field], subTypes: List[__Type], origin: Option[String] = None, directives: Option[List[Directive]] = None): __Type
- def makeObject(name: Option[String], description: Option[String], fields: List[__Field], directives: List[Directive], origin: Option[String] = None, interfaces: () => Option[List[__Type]] = () => Some(Nil)): __Type
- def makeScalar(name: String, description: Option[String] = None, specifiedBy: Option[String] = None, directives: Option[List[Directive]] = None): __Type
Creates a new scalar type with the given name.
- def makeUnion(name: Option[String], description: Option[String], subTypes: List[__Type], origin: Option[String] = None, directives: Option[List[Directive]] = None): __Type
- def name(t: __Type): String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def same(t1: __Type, t2: __Type): Boolean
- Annotations
- @tailrec()
- val string: __Type
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unify(t1: __Type, t2: __Type): Option[__Type]
Tries to unify two types by widening them to a common supertype.
Tries to unify two types by widening them to a common supertype.
- t1
type second type to unify
- t2
the first type to unify
- returns
the unified type if one could be found
unify(string, makeNonNull(string)) // => Some(__Type(SCALAR, Some("String")))
Example: - def unify(l: List[__Field]): Option[__Type]
Tries to find a common widened type among a list of fields.
Tries to find a common widened type among a list of fields.
- l
a list of fields to unify
- returns
the unified type if one could be found
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)