Uses of Interface
org.hibernate.models.spi.TypeDetails
Packages that use TypeDetails
Package
Description
Support for dynamic class and attribute mappings.
-
Uses of TypeDetails in org.hibernate.models.internal
Classes in org.hibernate.models.internal that implement TypeDetailsModifier and TypeClassDescriptionclassclassclassfinal recordclassclassclassTypeDetails referring to a void or Voidfinal recordMethods in org.hibernate.models.internal that return TypeDetailsModifier and TypeMethodDescriptionWildcardTypeDetailsImpl.bound()Returns the value of theboundrecord component.CollectionElementSwitch.caseClass(ClassTypeDetails classType) MapKeySwitch.caseClass(ClassTypeDetails classType) MapValueSwitch.caseClass(ClassTypeDetails classType) CollectionElementSwitch.caseParameterizedType(ParameterizedTypeDetails parameterizedType) MapKeySwitch.caseParameterizedType(ParameterizedTypeDetails parameterizedType) MapValueSwitch.caseParameterizedType(ParameterizedTypeDetails parameterizedType) CollectionElementSwitch.caseTypeVariable(TypeVariableDetails typeVariable) MapKeySwitch.caseTypeVariable(TypeVariableDetails typeVariable) MapValueSwitch.caseTypeVariable(TypeVariableDetails typeVariable) CollectionElementSwitch.caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference) MapKeySwitch.caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference) MapValueSwitch.caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference) CollectionElementSwitch.caseWildcardType(WildcardTypeDetails wildcardType) MapKeySwitch.caseWildcardType(WildcardTypeDetails wildcardType) MapValueSwitch.caseWildcardType(WildcardTypeDetails wildcardType) static TypeDetailsCollectionElementSwitch.extractCollectionElementType(TypeDetails memberType) static TypeDetailsMapKeySwitch.extractMapKeyType(TypeDetails memberType) static TypeDetailsMapValueSwitch.extractMapValueType(TypeDetails memberType) WildcardTypeDetailsImpl.getBound()Details about the type bound to the wildcardArrayTypeDetailsImpl.getConstituentType()WildcardTypeDetailsImpl.getExtendsBound()Returns the upper bound of this wildcard (e.g.MissingPackageInfoDetails.getGenericSuperType()SimpleClassDetails.getGenericSuperType()WildcardTypeDetailsImpl.getSuperBound()Returns the lower bound of this wildcard (e.g.ArrayTypeDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) ClassTypeDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) ParameterizedTypeDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) PrimitiveTypeDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) TypeVariableDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) TypeVariableReferenceDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) VoidTypeDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) WildcardTypeDetailsImpl.resolveTypeVariable(TypeVariableDetails typeVariable) Methods in org.hibernate.models.internal that return types with arguments of type TypeDetailsModifier and TypeMethodDescriptionParameterizedTypeDetailsImpl.getArguments()TypeVariableDetailsImpl.getBounds()MissingPackageInfoDetails.getImplementedInterfaces()SimpleClassDetails.getImplementedInterfaces()Methods in org.hibernate.models.internal with parameters of type TypeDetailsModifier and TypeMethodDescriptionIsResolvedTypeSwitch.defaultCase(TypeDetails type, ModelsContext modelsContext) TypeDetailsSwitch.defaultCase(TypeDetails type) TypeDetailsSwitchSupport.defaultCase(TypeDetails type) static TypeDetailsCollectionElementSwitch.extractCollectionElementType(TypeDetails memberType) static TypeDetailsMapKeySwitch.extractMapKeyType(TypeDetails memberType) static TypeDetailsMapValueSwitch.extractMapValueType(TypeDetails memberType) static <T> TTypeDetailsSwitcher.switchType(TypeDetails type, TypeDetailsSwitch<T> typeSwitch) Constructors in org.hibernate.models.internal with parameters of type TypeDetailsModifierConstructorDescriptionArrayTypeDetailsImpl(ClassDetails arrayClassDetails, TypeDetails constituentType) SimpleClassDetails(Class<?> clazz, ClassDetails superClassDetails, TypeDetails genericSuperTypeDetails) WildcardTypeDetailsImpl(TypeDetails bound, boolean isExtends) Creates an instance of aWildcardTypeDetailsImplrecord class.Constructor parameters in org.hibernate.models.internal with type arguments of type TypeDetailsModifierConstructorDescriptionParameterizedTypeDetailsImpl(ClassDetails genericClassDetails, List<TypeDetails> arguments, TypeVariableScope owner) TypeVariableDetailsImpl(String identifier, ClassDetails declaringType, List<TypeDetails> bounds) -
Uses of TypeDetails in org.hibernate.models.internal.dynamic
Methods in org.hibernate.models.internal.dynamic that return TypeDetailsModifier and TypeMethodDescriptionDynamicClassDetails.getGenericSuperType()DynamicFieldDetails.getType()DynamicFieldDetails.resolveRelativeType(TypeVariableScope container) Methods in org.hibernate.models.internal.dynamic that return types with arguments of type TypeDetailsMethods in org.hibernate.models.internal.dynamic with parameters of type TypeDetailsModifier and TypeMethodDescriptionDynamicClassDetails.applyAttribute(String name, TypeDetails type, boolean isArray, boolean isPlural, ModelsContext context) Creates a field representing an attribute and adds it to this classConstructors in org.hibernate.models.internal.dynamic with parameters of type TypeDetailsModifierConstructorDescriptionDynamicClassDetails(String name, String className, boolean isAbstract, ClassDetails superClass, TypeDetails genericSuperType, ModelsContext modelsContext) DynamicClassDetails(String name, String className, Class<?> javaType, boolean isAbstract, ClassDetails superClass, TypeDetails genericSuperType, ModelsContext modelsContext) DynamicClassDetails(String name, ClassDetails superClass, TypeDetails genericSuperType, ModelsContext modelsContext) DynamicFieldDetails(String name, TypeDetails type, ClassDetails declaringType, int modifierFlags, boolean isArray, boolean isPlural, ModelsContext modelsContext) Constructs a dynamic FieldDetails. -
Uses of TypeDetails in org.hibernate.models.internal.jdk
Methods in org.hibernate.models.internal.jdk that return TypeDetailsModifier and TypeMethodDescriptionJdkTrackingTypeSwitch.caseGenericArrayType(GenericArrayType genericArrayType) JdkTrackingTypeSwitch.defaultCase(Type type) JdkClassDetails.getGenericSuperType()JdkFieldDetails.getType()JdkMethodDetails.getType()JdkRecordComponentDetails.getType()JdkMethodDetails.resolveRelativeType(TypeVariableScope container) static TypeDetailsJdkTrackingTypeSwitcher.standardSwitchType(Type type, ModelsContext modelsContext) JdkTrackingTypeSwitcher.switchType(Type type) JdkTypeSwitcher.switchType(Type type) Methods in org.hibernate.models.internal.jdk that return types with arguments of type TypeDetailsModifier and TypeMethodDescriptionJdkTrackingTypeSwitch.extractTypeParameters(ParameterizedType parameterizedType) JdkClassDetails.getImplementedInterfaces()JdkTrackingTypeSwitch.resolveTypes(Type[] types) Constructors in org.hibernate.models.internal.jdk with parameters of type TypeDetailsModifierConstructorDescriptionJdkMethodDetails(Method method, MethodDetails.MethodKind methodKind, TypeDetails type, ClassDetails declaringType, ModelsContext modelsContext) -
Uses of TypeDetails in org.hibernate.models.spi
Subinterfaces of TypeDetails in org.hibernate.models.spiModifier and TypeInterfaceDescriptioninterfaceModels a Java array type.interfaceTypes which are expressible as a classinterfaceModels a class type.interfaceModels a parameterized type.interfaceModels a primitive typeinterfaceModels a resolved type parameter or type argument.interfaceModels a reference to a type variable in the bound of a recursive type parameter.interfaceModels Java'svoid(or Void) typeinterfaceModels a wildcard type declaration.Fields in org.hibernate.models.spi declared as TypeDetailsModifier and TypeFieldDescriptionstatic final TypeDetailsStandardTypeDetails.CLASS_TYPE_DETAILSDetails forClass.classstatic final TypeDetailsStandardTypeDetails.VOID_OBJECT_TYPE_DETAILSDetails forVoid.classstatic final TypeDetailsStandardTypeDetails.VOID_TYPE_DETAILSDetails forvoid.classMethods in org.hibernate.models.spi that return TypeDetailsModifier and TypeMethodDescriptiondefault TypeDetailsTypeDetails.determineRelativeType(TypeVariableScope container) Determine the type relative to the passedcontainer.default TypeDetailsMemberDetails.getAssociatedType()For plural members, the "element type"; otherwise, the member's typeWildcardTypeDetails.getBound()ArrayTypeDetails.getConstituentType()default TypeDetailsMemberDetails.getElementType()Get the plural element type for this member.WildcardTypeDetails.getExtendsBound()ClassDetails.getGenericSuperType()Generic type information for this class.default TypeDetailsMemberDetails.getMapKeyType()Get the map key type for this member.WildcardTypeDetails.getSuperBound()MemberDetails.getType()The member type.default TypeDetailsMemberDetails.resolveRelativeAssociatedType(TypeVariableScope container) Same asMemberDetails.resolveRelativeType(TypeVariableScope), but for the associated type.default TypeDetailsMemberDetails.resolveRelativeType(TypeVariableScope container) Determine the type of the member relative to the givencontainertype.static TypeDetailsTypeDetailsHelper.resolveRelativeType(TypeDetails type, TypeVariableScope container) Given an attribute member type and a concrete container type, resolve the type of the attribute relative to that container.default TypeDetailsClassDetails.resolveTypeVariable(TypeVariableDetails typeVariable) TypeVariableScope.resolveTypeVariable(TypeVariableDetails typeVariable) Resolve the type of the provided type variable relative to this scope.static TypeDetailsTypeDetailsHelper.resolveTypeVariableFromParameterizedType(ParameterizedTypeDetails parameterizedType, TypeVariableDetails typeVariable) Resolve a type variable's type relative to the provided parameterized type.Methods in org.hibernate.models.spi that return types with arguments of type TypeDetailsModifier and TypeMethodDescriptionParameterizedTypeDetails.getArguments()TypeVariableDetails.getBounds()ClassDetails.getImplementedInterfaces()Details for the interfaces this class implements.Methods in org.hibernate.models.spi with parameters of type TypeDetailsModifier and TypeMethodDescriptionstatic ArrayTypeDetailsTypeDetailsHelper.arrayOf(TypeDetails constituentType, ModelsContext modelsContext) Make an array type of the given component typeTypeDetailsSwitch.defaultCase(TypeDetails type, ModelsContext modelsContext) Handle any other casesstatic ClassDetailsTypeDetailsHelper.resolveRawClass(TypeDetails typeDetails) Given a type, resolve the underlying ClassDetailsstatic ClassBasedTypeDetailsTypeDetailsHelper.resolveRelativeClassType(TypeDetails memberType, TypeVariableScope containerType) Very much the same as TypeDetailsHelper.resolveRelativeType(TypeDetails, TypeVariableScope), except that here we resolve the relative type to the correspondingClassBasedTypeDetailswhich gives easy access to the type's ClassDetailsstatic TypeDetailsTypeDetailsHelper.resolveRelativeType(TypeDetails type, TypeVariableScope container) Given an attribute member type and a concrete container type, resolve the type of the attribute relative to that container.static <T> TTypeDetailsSwitch.switchType(TypeDetails typeDetails, TypeDetailsSwitch<T> switcher, ModelsContext modelsContext) Main entry into the generics interpretation, with delegation to the defined case methods