Class TypeInfo
java.lang.Object
io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo
-
Method Summary
Modifier and TypeMethodDescriptionthisand all enclosing types, i.e.booleanfields()<T extends Annotation>
TgetAnnotation(Class<T> type) Get the type of keys included in this Map.Class<?> Get the type of values included in this Map.inthashCode()booleanisAnnotated(Class<? extends Annotation> type) booleanisAsync()booleanbooleanisEnum()booleanbooleanIs this a GraphQL Interface, i.e.booleanisMap()booleanisMulti()booleanisNestedIn(TypeInfo that) booleanbooleanbooleanbooleanbooleanisRecord()booleanisScalar()booleanbooleanisUni()booleanisUnion()booleanisVoid()newInstance(Object[] args) static TypeInfosubtypes()toString()
-
Method Details
-
of
-
toString
-
equals
-
hashCode
public int hashCode() -
getTypeName
-
getGraphQlTypeName
-
getSimpleName
-
getPackage
-
isCollection
public boolean isCollection() -
isAsync
public boolean isAsync() -
isMulti
public boolean isMulti() -
isUni
public boolean isUni() -
isMap
public boolean isMap() -
isOptionalNumber
public boolean isOptionalNumber() -
fields
-
isOptional
public boolean isOptional() -
isErrorOr
public boolean isErrorOr() -
isTypesafeResponse
public boolean isTypesafeResponse() -
isRecord
public boolean isRecord() -
isUnion
public boolean isUnion() -
isInterface
public boolean isInterface()Is this a GraphQL Interface, i.e. a Java interface without a@Unionannotation -
isScalar
public boolean isScalar() -
isPrimitive
public boolean isPrimitive() -
isVoid
public boolean isVoid() -
isEnum
public boolean isEnum() -
scalarConstructor
-
newInstance
-
isNonNull
public boolean isNonNull() -
getRawType
-
getItemType
-
getKeyType
Get the type of keys included in this Map. This only works when this type is a Map -
getValueType
Get the type of values included in this Map. This only works when this type is a Map -
getMethod
-
isNestedIn
-
enclosingTypes
thisand all enclosing types, i.e. the types this type is nested in. -
isAnnotated
-
getAnnotation
-
subtype
-
subtypes
-