Package org.hibernate.models.spi
Interface TypeDetailsSwitch<T>
- All Known Implementing Classes:
IsBoundTypeSwitch,IsResolvedTypeSwitch
public interface TypeDetailsSwitch<T>
-
Method Summary
Modifier and TypeMethodDescriptioncaseArrayType(ArrayTypeDetails arrayType, SourceModelBuildingContext buildingContext) caseClass(ClassTypeDetails classType, SourceModelBuildingContext buildingContext) caseParameterizedType(ParameterizedTypeDetails parameterizedType, SourceModelBuildingContext buildingContext) casePrimitive(PrimitiveTypeDetails primitiveType, SourceModelBuildingContext buildingContext) caseTypeVariable(TypeVariableDetails typeVariable, SourceModelBuildingContext buildingContext) caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference, SourceModelBuildingContext buildingContext) caseVoid(VoidTypeDetails voidType, SourceModelBuildingContext buildingContext) caseWildcardType(WildcardTypeDetails wildcardType, SourceModelBuildingContext buildingContext) defaultCase(TypeDetails type, SourceModelBuildingContext buildingContext) static <T> TswitchType(TypeDetails typeDetails, TypeDetailsSwitch<T> switcher, SourceModelBuildingContext buildingContext)
-
Method Details
-
switchType
static <T> T switchType(TypeDetails typeDetails, TypeDetailsSwitch<T> switcher, SourceModelBuildingContext buildingContext) -
caseClass
-
casePrimitive
-
caseVoid
-
caseParameterizedType
T caseParameterizedType(ParameterizedTypeDetails parameterizedType, SourceModelBuildingContext buildingContext) -
caseWildcardType
-
caseTypeVariable
-
caseTypeVariableReference
T caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference, SourceModelBuildingContext buildingContext) -
caseArrayType
-
defaultCase
-