public class TypeInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T extends GraphQLType> |
decorate(GraphQLType objectType)
This will decorate a graphql type with the original hierarchy of non null and list'ness
it originally contained in its definition type
|
java.lang.String |
getName() |
Type |
getRawType() |
TypeName |
getTypeName() |
java.lang.String |
toString() |
static TypeInfo |
typeInfo(Type type) |
public TypeInfo(Type type)
public Type getRawType()
public TypeName getTypeName()
public java.lang.String getName()
public <T extends GraphQLType> T decorate(GraphQLType objectType)
T
- the typeobjectType
- this should be a graphql type that was originally built from this raw typepublic java.lang.String toString()
toString
in class java.lang.Object