public class TypeInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
TypeInfo |
asType(GraphQLType type)
This allows you to morph a type into a more specialized form yet return the same
parent and non-null ness
|
<T extends GraphQLType> |
castType(java.lang.Class<T> clazz) |
boolean |
hasParentType() |
static graphql.execution.TypeInfo.Builder |
newTypeInfo() |
TypeInfo |
parentTypeInfo() |
java.lang.String |
toString() |
GraphQLType |
type() |
boolean |
typeIsNonNull() |
public GraphQLType type()
public <T extends GraphQLType> T castType(java.lang.Class<T> clazz)
public boolean typeIsNonNull()
public TypeInfo parentTypeInfo()
public boolean hasParentType()
public TypeInfo asType(GraphQLType type)
type
- the new type to bepublic static graphql.execution.TypeInfo.Builder newTypeInfo()
public java.lang.String toString()
toString
in class java.lang.Object