Package org.hibernate.models.internal
Class IsResolvedTypeSwitch
java.lang.Object
org.hibernate.models.internal.IsResolvedTypeSwitch
- All Implemented Interfaces:
TypeDetailsSwitch<Boolean>
TypeDetailsSwitch implementation checking whether a type is resolved (all of its bounds are known)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaseArrayType(ArrayTypeDetails arrayType, ModelsContext modelsContext) Handle the case of an arraycaseClass(ClassTypeDetails classType, ModelsContext modelsContext) Handle the case of a raw classcaseParameterizedType(ParameterizedTypeDetails parameterizedType, ModelsContext modelsContext) Handle the case of a parameterized typecasePrimitive(PrimitiveTypeDetails primitiveType, ModelsContext modelsContext) Handle the case of a primitivecaseTypeVariable(TypeVariableDetails typeVariable, ModelsContext modelsContext) Handle the case of a type variablecaseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference, ModelsContext modelsContext) Handle the case of a reference to a type variablecaseVoid(VoidTypeDetails voidType, ModelsContext modelsContext) Handle the case of void (or Void)caseWildcardType(WildcardTypeDetails wildcardType, ModelsContext modelsContext) Handle the case of a wildcard typedefaultCase(TypeDetails type, ModelsContext modelsContext) Handle any other cases
-
Field Details
-
IS_RESOLVED_SWITCH
-
-
Constructor Details
-
IsResolvedTypeSwitch
public IsResolvedTypeSwitch()
-
-
Method Details
-
caseClass
Description copied from interface:TypeDetailsSwitchHandle the case of a raw class- Specified by:
caseClassin interfaceTypeDetailsSwitch<Boolean>
-
casePrimitive
Description copied from interface:TypeDetailsSwitchHandle the case of a primitive- Specified by:
casePrimitivein interfaceTypeDetailsSwitch<Boolean>
-
caseVoid
Description copied from interface:TypeDetailsSwitchHandle the case of void (or Void)- Specified by:
caseVoidin interfaceTypeDetailsSwitch<Boolean>
-
caseArrayType
Description copied from interface:TypeDetailsSwitchHandle the case of an array- Specified by:
caseArrayTypein interfaceTypeDetailsSwitch<Boolean>
-
caseParameterizedType
public Boolean caseParameterizedType(ParameterizedTypeDetails parameterizedType, ModelsContext modelsContext) Description copied from interface:TypeDetailsSwitchHandle the case of a parameterized type- Specified by:
caseParameterizedTypein interfaceTypeDetailsSwitch<Boolean>
-
caseWildcardType
Description copied from interface:TypeDetailsSwitchHandle the case of a wildcard type- Specified by:
caseWildcardTypein interfaceTypeDetailsSwitch<Boolean>
-
caseTypeVariable
Description copied from interface:TypeDetailsSwitchHandle the case of a type variable- Specified by:
caseTypeVariablein interfaceTypeDetailsSwitch<Boolean>
-
caseTypeVariableReference
public Boolean caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference, ModelsContext modelsContext) Description copied from interface:TypeDetailsSwitchHandle the case of a reference to a type variable- Specified by:
caseTypeVariableReferencein interfaceTypeDetailsSwitch<Boolean>
-
defaultCase
Description copied from interface:TypeDetailsSwitchHandle any other cases- Specified by:
defaultCasein interfaceTypeDetailsSwitch<Boolean>
-