Package io.smallrye.graphql.client.model
Class Classes
- java.lang.Object
-
- io.smallrye.graphql.client.model.Classes
-
public class Classes extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.jandex.DotNameARRAY_LISTstatic org.jboss.jandex.DotNameCOLLECTIONstatic org.jboss.jandex.DotNameDEQUEstatic org.jboss.jandex.DotNameERROR_ORstatic org.jboss.jandex.DotNameHASH_MAPstatic org.jboss.jandex.DotNameHASH_SETstatic org.jboss.jandex.DotNameHASHTABLEstatic org.jboss.jandex.DotNameLINKED_LISTstatic org.jboss.jandex.DotNameLISTstatic org.jboss.jandex.DotNameMAPstatic org.jboss.jandex.DotNameOBJECTstatic org.jboss.jandex.DotNameOPTIONALstatic org.jboss.jandex.DotNameQUEUEstatic org.jboss.jandex.DotNameSETstatic org.jboss.jandex.DotNameSORTED_MAPstatic org.jboss.jandex.DotNameSORTED_SETstatic org.jboss.jandex.DotNameSTACKstatic org.jboss.jandex.DotNameTREE_MAPstatic org.jboss.jandex.DotNameTREE_SETstatic org.jboss.jandex.DotNameTYPESAFE_RESPONSEstatic org.jboss.jandex.DotNameVECTOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 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 Detail
-
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 Detail
-
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)
-
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
-
-