Package io.smallrye.graphql.client.model
Class Classes
java.lang.Object
io.smallrye.graphql.client.model.Classes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotName -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisArray(org.jboss.jandex.Type type) Return true if this is an arraystatic booleanisAsync(org.jboss.jandex.Type type) static booleanisClass(org.jboss.jandex.Type type) static booleanisCollection(org.jboss.jandex.Type type) Return true if type is java Collection type which is handled as GraphQL arraystatic booleanisEnum(org.jboss.jandex.Type type) static booleanisInterface(org.jboss.jandex.Type type) static booleanisMap(org.jboss.jandex.Type type) Return true if type is java Map or its implementations (KNOWN_MAPS)static booleanisMulti(org.jboss.jandex.Type type) static booleanisOptional(org.jboss.jandex.Type type) Check if a certain type is Optionalstatic booleanisParameterized(org.jboss.jandex.Type type) static booleanisPrimitive(org.jboss.jandex.Type type) static booleanisTypeVariable(org.jboss.jandex.Type type) static booleanisUni(org.jboss.jandex.Type type)
-
Field Details
-
OBJECT
public static final org.jboss.jandex.DotName OBJECT -
COLLECTION
public static final org.jboss.jandex.DotName COLLECTION -
LIST
public static final org.jboss.jandex.DotName LIST -
LINKED_LIST
public static final org.jboss.jandex.DotName LINKED_LIST -
VECTOR
public static final org.jboss.jandex.DotName VECTOR -
ARRAY_LIST
public static final org.jboss.jandex.DotName ARRAY_LIST -
STACK
public static final org.jboss.jandex.DotName STACK -
SET
public static final org.jboss.jandex.DotName SET -
HASH_SET
public static final org.jboss.jandex.DotName HASH_SET -
SORTED_SET
public static final org.jboss.jandex.DotName SORTED_SET -
TREE_SET
public static final org.jboss.jandex.DotName TREE_SET -
QUEUE
public static final org.jboss.jandex.DotName QUEUE -
DEQUE
public static final org.jboss.jandex.DotName DEQUE -
MAP
public static final org.jboss.jandex.DotName MAP -
HASH_MAP
public static final org.jboss.jandex.DotName HASH_MAP -
TREE_MAP
public static final org.jboss.jandex.DotName TREE_MAP -
HASHTABLE
public static final org.jboss.jandex.DotName HASHTABLE -
SORTED_MAP
public static final org.jboss.jandex.DotName SORTED_MAP -
OPTIONAL
public static final org.jboss.jandex.DotName OPTIONAL -
TYPESAFE_RESPONSE
public static final org.jboss.jandex.DotName TYPESAFE_RESPONSE -
ERROR_OR
public static final org.jboss.jandex.DotName ERROR_OR
-
-
Method Details
-
isParameterized
public static boolean isParameterized(org.jboss.jandex.Type type) -
isTypeVariable
public static boolean isTypeVariable(org.jboss.jandex.Type type) -
isOptional
public static boolean isOptional(org.jboss.jandex.Type type) Check if a certain type is Optional- Parameters:
type- the type- Returns:
- true if it is
-
isEnum
public static boolean isEnum(org.jboss.jandex.Type type) -
isAsync
public static boolean isAsync(org.jboss.jandex.Type type) -
isInterface
public static boolean isInterface(org.jboss.jandex.Type type) -
isUni
public static boolean isUni(org.jboss.jandex.Type type) -
isMulti
public static boolean isMulti(org.jboss.jandex.Type type) -
isPrimitive
public static boolean isPrimitive(org.jboss.jandex.Type type) -
isClass
public static boolean isClass(org.jboss.jandex.Type type) -
isArray
public static boolean isArray(org.jboss.jandex.Type type) Return true if this is an array- Parameters:
type- to check- Returns:
- if this is an array
-
isCollection
public static boolean isCollection(org.jboss.jandex.Type type) Return true if type is java Collection type which is handled as GraphQL array- Parameters:
type- to check- Returns:
- if this is a collection
-
isMap
public static boolean isMap(org.jboss.jandex.Type type) Return true if type is java Map or its implementations (KNOWN_MAPS)- Parameters:
type- to check- Returns:
- if this is a map
-