Uses of Interface
org.hibernate.models.spi.ModelsContext
Packages that use ModelsContext
Package
Description
Support for dynamic class and attribute mappings.
-
Uses of ModelsContext in org.hibernate.models.internal
Classes in org.hibernate.models.internal that implement ModelsContextModifier and TypeClassDescriptionclassBase support for ModelsContext implementationsclassStandard ModelsContext implementationFields in org.hibernate.models.internal declared as ModelsContextModifier and TypeFieldDescriptionprotected final ModelsContextAbstractClassDetailsRegistry.contextMethods in org.hibernate.models.internal with parameters of type ModelsContextModifier and TypeMethodDescriptionIsResolvedTypeSwitch.caseArrayType(ArrayTypeDetails arrayType, ModelsContext modelsContext) IsResolvedTypeSwitch.caseClass(ClassTypeDetails classType, ModelsContext modelsContext) IsResolvedTypeSwitch.caseParameterizedType(ParameterizedTypeDetails parameterizedType, ModelsContext modelsContext) IsResolvedTypeSwitch.casePrimitive(PrimitiveTypeDetails primitiveType, ModelsContext modelsContext) IsResolvedTypeSwitch.caseTypeVariable(TypeVariableDetails typeVariable, ModelsContext modelsContext) IsResolvedTypeSwitch.caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference, ModelsContext modelsContext) IsResolvedTypeSwitch.caseVoid(VoidTypeDetails voidType, ModelsContext modelsContext) IsResolvedTypeSwitch.caseWildcardType(WildcardTypeDetails wildcardType, ModelsContext modelsContext) AbstractTypeDescriptor.createJdkValueConverter(ModelsContext modelContext) ArrayTypeDescriptor.createJdkValueConverter(ModelsContext modelContext) NestedTypeDescriptor.createJdkValueConverter(ModelsContext modelContext) AbstractTypeDescriptor.createJdkValueExtractor(ModelsContext modelContext) ArrayTypeDescriptor.createJdkValueExtractor(ModelsContext modelContext) NestedTypeDescriptor.createJdkValueExtractor(ModelsContext modelContext) OrmAnnotationDescriptor.createUsage(A jdkAnnotation, ModelsContext context) OrmAnnotationDescriptor.createUsage(Map<String, Object> attributeValues, ModelsContext context) OrmAnnotationDescriptor.createUsage(ModelsContext context) OrmAnnotationDescriptor.DeTypedCreator.createUsage(Map<String, ?> attributeValues, ModelsContext context) OrmAnnotationDescriptor.DynamicCreator.createUsage(ModelsContext context) OrmAnnotationDescriptor.JdkCreator.createUsage(A jdkAnnotation, ModelsContext context) StandardAnnotationDescriptor.createUsage(A jdkAnnotation, ModelsContext context) StandardAnnotationDescriptor.createUsage(ModelsContext context) IsResolvedTypeSwitch.defaultCase(TypeDetails type, ModelsContext modelsContext) static <A extends Annotation,C extends Annotation>
A[]AnnotationUsageHelper.extractRepeatedValues(C container, AnnotationDescriptor<C> containerDescriptor, ModelsContext modelContext) static <A extends Annotation,C extends Annotation>
A[]AnnotationUsageHelper.extractRepeatedValues(C container, AttributeDescriptor<A[]> valuesAttribute, ModelsContext modelContext) default <A extends Annotation,C extends Annotation>
voidAnnotationTargetSupport.forEachRepeatedAnnotationUsages(Class<A> repeatableType, Class<C> containerType, ModelsContext modelContext, Consumer<A> consumer) default <A extends Annotation,C extends Annotation>
voidAnnotationTargetSupport.forEachRepeatedAnnotationUsages(AnnotationDescriptor<A> repeatableDescriptor, ModelsContext modelContext, Consumer<A> consumer) static <A extends Annotation,C extends Annotation>
voidAnnotationUsageHelper.forEachRepeatedAnnotationUsages(Class<A> repeatableType, Class<C> containerType, Consumer<A> consumer, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) static <A extends Annotation>
voidAnnotationUsageHelper.forEachRepeatedAnnotationUsages(AnnotationDescriptor<A> repeatableDescriptor, Consumer<A> consumer, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) <A extends Annotation,C extends Annotation>
voidMissingPackageInfoDetails.forEachRepeatedAnnotationUsages(Class<A> repeatable, Class<C> container, ModelsContext modelContext, Consumer<A> consumer) <A extends Annotation,C extends Annotation>
voidSimpleClassDetails.forEachRepeatedAnnotationUsages(Class<A> repeatable, Class<C> container, ModelsContext modelContext, Consumer<A> consumer) static <T> TAnnotationTargetHelper.fromContainers(AnnotationTarget annotationTarget, boolean crossPackageBoundaries, ModelsContext modelContext, Function<ClassDetails, T> matchingExtractor) static <T> TAnnotationTargetHelper.fromSelfAndContainers(AnnotationTarget self, boolean crossPackageBoundaries, ModelsContext modelContext, Function<AnnotationTarget, T> matchingExtractor) default <A extends Annotation>
AAnnotationTargetSupport.getAnnotationUsage(Class<A> annotationType, ModelsContext modelContext) default <A extends Annotation>
AAnnotationTargetSupport.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) default <A extends Annotation>
AClassDetailsSupport.getAnnotationUsage(Class<A> annotationType, ModelsContext modelContext) default <A extends Annotation>
AClassDetailsSupport.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) <A extends Annotation>
AMissingPackageInfoDetails.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) <A extends Annotation>
ASimpleClassDetails.getAnnotationUsage(Class<A> type, ModelsContext modelContext) <A extends Annotation>
ASimpleClassDetails.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) default <A extends Annotation>
List<? extends Annotation> AnnotationTargetSupport.getMetaAnnotated(Class<A> metaAnnotationType, ModelsContext modelContext) <A extends Annotation>
List<? extends Annotation> MissingPackageInfoDetails.getMetaAnnotated(Class<A> metaAnnotationType, ModelsContext modelContext) <A extends Annotation>
List<? extends Annotation> SimpleClassDetails.getMetaAnnotated(Class<A> metaAnnotationType, ModelsContext modelContext) default <X extends Annotation>
XAnnotationTargetSupport.getNamedAnnotationUsage(Class<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) default <X extends Annotation>
XAnnotationTargetSupport.getNamedAnnotationUsage(Class<X> type, String matchName, ModelsContext modelContext) default <X extends Annotation>
XAnnotationTargetSupport.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) <X extends Annotation>
XMissingPackageInfoDetails.getNamedAnnotationUsage(Class<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) <X extends Annotation>
XMissingPackageInfoDetails.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) <X extends Annotation>
XSimpleClassDetails.getNamedAnnotationUsage(Class<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) <X extends Annotation>
XSimpleClassDetails.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) static <A extends Annotation,C extends Annotation>
AAnnotationUsageHelper.getNamedUsage(AnnotationDescriptor<A> descriptor, String matchValue, String attributeToMatch, Map<Class<? extends Annotation>, ?> usageMap, ModelsContext modelContext) <X extends Annotation>
X[]AbstractAnnotationDescriptor.getRepeatedAnnotationUsages(Class<X> type, ModelsContext modelContext) <X extends Annotation>
X[]AbstractAnnotationDescriptor.getRepeatedAnnotationUsages(AnnotationDescriptor<X> type, ModelsContext modelContext) default <A extends Annotation>
A[]AnnotationTargetSupport.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) <A extends Annotation>
A[]MissingPackageInfoDetails.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) <A extends Annotation>
A[]SimpleClassDetails.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) static <A extends Annotation>
A[]AnnotationUsageHelper.getRepeatedUsages(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) static <A extends Annotation>
AAnnotationUsageHelper.getUsage(Class<A> type, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) Get the annotation usage from theusageMapfor the giventypestatic <A extends Annotation,C extends Annotation>
AAnnotationUsageHelper.getUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) Get the annotation usage from theusageMapfor the giventypedefault <X extends Annotation>
booleanAnnotationTargetSupport.hasAnnotationUsage(Class<X> type, ModelsContext modelContext) <A extends Annotation>
booleanMissingPackageInfoDetails.hasAnnotationUsage(Class<A> type, ModelsContext modelContext) <A extends Annotation>
booleanSimpleClassDetails.hasAnnotationUsage(Class<A> type, ModelsContext modelContext) default <A extends Annotation>
AAnnotationTargetSupport.locateAnnotationUsage(Class<A> annotationType, ModelsContext modelContext) <A extends Annotation>
AMissingPackageInfoDetails.locateAnnotationUsage(Class<A> type, ModelsContext modelContext) <A extends Annotation>
ASimpleClassDetails.locateAnnotationUsage(Class<A> type, ModelsContext modelContext) V[][]ArrayTypeDescriptor.makeArray(int size, ModelsContext modelContext) Boolean[]BooleanTypeDescriptor.makeArray(int size, ModelsContext modelContext) Byte[]ByteTypeDescriptor.makeArray(int size, ModelsContext modelContext) CharacterTypeDescriptor.makeArray(int size, ModelsContext modelContext) Class<?>[]ClassTypeDescriptor.makeArray(int size, ModelsContext modelContext) Double[]DoubleTypeDescriptor.makeArray(int size, ModelsContext modelContext) E[]EnumTypeDescriptor.makeArray(int size, ModelsContext modelContext) Float[]FloatTypeDescriptor.makeArray(int size, ModelsContext modelContext) Integer[]IntegerTypeDescriptor.makeArray(int size, ModelsContext modelContext) Long[]LongTypeDescriptor.makeArray(int size, ModelsContext modelContext) A[]NestedTypeDescriptor.makeArray(int size, ModelsContext modelContext) Short[]ShortTypeDescriptor.makeArray(int size, ModelsContext modelContext) String[]StringTypeDescriptor.makeArray(int size, ModelsContext modelContext) voidAbstractTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidAbstractTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidArrayTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidArrayTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidClassTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidClassTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidFloatTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidFloatTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidLongTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidLongTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidNestedTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidNestedTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidStringTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) voidStringTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) default <S extends Annotation,P extends Annotation>
PAnnotationTargetSupport.replaceAnnotationUsage(AnnotationDescriptor<S> repeatableType, AnnotationDescriptor<P> containerType, ModelsContext modelContext) NestedTypeDescriptor.resolveJdkValueConverter(ModelsContext modelContext) NestedTypeDescriptor.resolveJdkValueExtractor(ModelsContext modelContext) static ClassDetailsAnnotationTargetHelper.resolvePackageInfo(ClassDetails classDetails, ModelsContext modelsContext) Resolve the ClassDetails descriptor for the package which contains the givenclassDetails.<X> Class<X> MissingPackageInfoDetails.toJavaClass(ClassLoading classLoading, ModelsContext modelContext) <X> Class<X> SimpleClassDetails.toJavaClass(ClassLoading classLoading, ModelsContext modelContext) static voidAnnotationTargetHelper.walkContainers(AnnotationTarget annotationTarget, boolean crossPackageBoundaries, ModelsContext modelContext, Consumer<ClassDetails> consumer) static voidAnnotationTargetHelper.walkSelfAndContainers(AnnotationTarget self, boolean crossPackageBoundaries, ModelsContext modelContext, Consumer<AnnotationTarget> consumer) Constructors in org.hibernate.models.internal with parameters of type ModelsContextModifierConstructorDescriptionprotectedAbstractClassDetailsRegistry(boolean trackImplementors, Map<String, ClassDetails> classDetailsMap, Map<String, Set<ClassDetails>> directSubtypeMap, Map<String, Set<ClassDetails>> directImplementorMap, ModelsContext context) protectedAbstractClassDetailsRegistry(boolean trackImplementors, ModelsContext context) AnnotationDescriptorRegistryStandard(ModelsContext modelsContext) ClassDetailsRegistryStandard(boolean trackImplementors, ModelsContext context) ClassDetailsRegistryStandard(ClassDetailsBuilder classDetailsBuilder, boolean trackImplementors, ModelsContext context) StandardAnnotationDescriptor(Class<A> annotationType, AnnotationDescriptor<?> repeatableContainer, ModelsContext modelsContext) StandardAnnotationDescriptor(Class<A> annotationType, ModelsContext modelsContext) -
Uses of ModelsContext in org.hibernate.models.internal.dynamic
Methods in org.hibernate.models.internal.dynamic that return ModelsContextMethods in org.hibernate.models.internal.dynamic with parameters of type ModelsContextModifier and TypeMethodDescriptionDynamicClassDetails.applyAttribute(String name, ClassDetails type, boolean isArray, boolean isPlural, ModelsContext context) Creates a field representing an attribute and adds it to this class.DynamicClassDetails.applyAttribute(String name, TypeDetails type, boolean isArray, boolean isPlural, ModelsContext context) Creates a field representing an attribute and adds it to this class<X> Class<X> DynamicClassDetails.toJavaClass(ClassLoading classLoading, ModelsContext modelContext) DynamicFieldDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) Constructors in org.hibernate.models.internal.dynamic with parameters of type ModelsContextModifierConstructorDescriptionAbstractAnnotationTarget(ModelsContext modelContext) DynamicClassDetails(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) DynamicClassDetails(String name, ModelsContext modelsContext) DynamicFieldDetails(String name, TypeDetails type, ClassDetails declaringType, int modifierFlags, boolean isArray, boolean isPlural, ModelsContext modelsContext) Constructs a dynamic FieldDetails. -
Uses of ModelsContext in org.hibernate.models.internal.jdk
Methods in org.hibernate.models.internal.jdk that return ModelsContextMethods in org.hibernate.models.internal.jdk with parameters of type ModelsContextModifier and TypeMethodDescriptionJdkBuilders.buildClassDetails(String name, ModelsContext modelsContext) static JdkClassDetailsJdkBuilders.buildClassDetailsStatic(Class<?> javaClass, ModelsContext modelsContext) static JdkClassDetailsJdkBuilders.buildClassDetailsStatic(String name, ModelsContext modelsContext) static JdkMethodDetailsJdkBuilders.buildGetterDetails(Method method, ClassDetails declaringType, ModelsContext modelsContext) static JdkMethodDetailsJdkBuilders.buildMethodDetails(Method method, ClassDetails declaringType, ModelsContext modelsContext) static JdkMethodDetailsJdkBuilders.buildSetterDetails(Method method, ClassDetails declaringType, ModelsContext modelsContext) V[]JdkArrayValueConverter.convert(V[] rawValue, ModelsContext modelContext) JdkNestedValueConverter.convert(A rawValue, ModelsContext modelContext) JdkPassThruConverter.convert(V rawValue, ModelsContext modelContext) <A extends Annotation>
VAbstractJdkValueExtractor.extractValue(A usage, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelContext) AbstractJdkValueExtractor.extractValue(Annotation annotation, String attributeName, ModelsContext modelsContext) <A extends Annotation>
V[]JdkArrayValueExtractor.extractValue(A usage, AttributeDescriptor<V[]> attributeDescriptor, ModelsContext modelContext) V[]JdkArrayValueExtractor.extractValue(Annotation annotation, String attributeName, ModelsContext modelsContext) SerialJdkClassDetails.fromStorableForm(ModelsContext context) static TypeDetailsJdkTrackingTypeSwitcher.standardSwitchType(Type type, ModelsContext modelsContext) <X> Class<X> JdkClassDetails.toJavaClass(ClassLoading classLoading, ModelsContext modelContext) JdkFieldDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) JdkMethodDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) JdkRecordComponentDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) protected abstract VAbstractJdkValueExtractor.wrap(V rawValue, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelsContext) protected V[]JdkArrayValueExtractor.wrap(V[] rawValue, AttributeDescriptor<V[]> attributeDescriptor, ModelsContext modelsContext) protected AJdkNestedValueExtractor.wrap(A rawValue, AttributeDescriptor<A> attributeDescriptor, ModelsContext modelsContext) protected VJdkPassThruExtractor.wrap(V rawValue, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelsContext) Constructors in org.hibernate.models.internal.jdk with parameters of type ModelsContextModifierConstructorDescriptionAbstractJdkAnnotationTarget(Supplier<Annotation[]> annotationSupplier, ModelsContext modelContext) JdkClassDetails(Class<?> managedClass, ModelsContext modelContext) JdkClassDetails(String name, Class<?> managedClass, ModelsContext modelContext) JdkFieldDetails(Field field, JdkClassDetails declaringType, ModelsContext modelsContext) JdkMethodDetails(Method method, MethodDetails.MethodKind methodKind, TypeDetails type, ClassDetails declaringType, ModelsContext modelsContext) JdkRecordComponentDetails(RecordComponent recordComponent, ClassDetails declaringType, ModelsContext modelsContext) JdkTrackingTypeSwitch(JdkTypeSwitcher switcher, ModelsContext modelsContext) JdkTrackingTypeSwitcher(ModelsContext modelsContext) -
Uses of ModelsContext in org.hibernate.models.internal.util
Methods in org.hibernate.models.internal.util with parameters of type ModelsContextModifier and TypeMethodDescriptionstatic MethodReflectionHelper.resolveJavaMember(MethodDetails methodDetails, Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) -
Uses of ModelsContext in org.hibernate.models.rendering.internal
Methods in org.hibernate.models.rendering.internal with parameters of type ModelsContextModifier and TypeMethodDescriptionvoidSimpleRenderer.renderClassDetails(ClassDetails classDetails, ModelsContext context) voidSimpleRenderer.renderFieldDetails(FieldDetails fieldDetails, ModelsContext context) voidSimpleRenderer.renderMethodDetails(MethodDetails methodDetails, ModelsContext context) voidSimpleRenderer.renderRecordComponentDetails(RecordComponentDetails recordComponentDetails, ModelsContext context) -
Uses of ModelsContext in org.hibernate.models.rendering.spi
Methods in org.hibernate.models.rendering.spi with parameters of type ModelsContextModifier and TypeMethodDescription<A extends Annotation>
voidAbstractRenderer.renderAnnotation(A annotation, ModelsContext context) <A extends Annotation>
voidRenderer.renderAnnotation(A annotation, ModelsContext context) Render details about the annotation (top-level)voidAbstractRenderer.renderClass(ClassDetails classDetails, ModelsContext context) voidRenderer.renderClass(ClassDetails classDetails, ModelsContext context) Render details about the classprotected abstract voidAbstractRenderer.renderClassDetails(ClassDetails classDetails, ModelsContext context) voidAbstractRenderer.renderField(FieldDetails fieldDetails, ModelsContext context) voidRenderer.renderField(FieldDetails fieldDetails, ModelsContext context) Render details about the fieldprotected abstract voidAbstractRenderer.renderFieldDetails(FieldDetails fieldDetails, ModelsContext context) voidAbstractRenderer.renderMethod(MethodDetails methodDetails, ModelsContext context) voidRenderer.renderMethod(MethodDetails methodDetails, ModelsContext context) Render details about the methodprotected abstract voidAbstractRenderer.renderMethodDetails(MethodDetails methodDetails, ModelsContext context) <A extends Annotation>
voidAbstractRenderer.renderNestedAnnotation(A annotation, ModelsContext context) <A extends Annotation>
voidAbstractRenderer.renderNestedAnnotation(String name, A annotation, ModelsContext context) <A extends Annotation>
voidRenderer.renderNestedAnnotation(A annotation, ModelsContext context) Render details about the unnamed nested annotation.<A extends Annotation>
voidRenderer.renderNestedAnnotation(String name, A annotation, ModelsContext context) Render details about the named nested annotation.voidAbstractRenderer.renderRecordComponent(RecordComponentDetails recordComponentDetails, ModelsContext context) voidRenderer.renderRecordComponent(RecordComponentDetails recordComponentDetails, ModelsContext context) Render details about the record componentprotected abstract voidAbstractRenderer.renderRecordComponentDetails(RecordComponentDetails recordComponentDetails, ModelsContext context) -
Uses of ModelsContext in org.hibernate.models.serial.internal
Classes in org.hibernate.models.serial.internal that implement ModelsContextModifier and TypeClassDescriptionclassModelsContext implementation used with serialization support.Methods in org.hibernate.models.serial.internal that return ModelsContextModifier and TypeMethodDescriptionStorableContextImpl.fromStorableForm(ClassLoading classLoading) Methods in org.hibernate.models.serial.internal with parameters of type ModelsContextModifier and TypeMethodDescriptionClassDetailsBuilderImpl.buildClassDetails(String name, ModelsContext modelsContext) SerialAnnotationDescriptorImpl.fromStorableForm(ModelsContext context) -
Uses of ModelsContext in org.hibernate.models.serial.spi
Methods in org.hibernate.models.serial.spi that return ModelsContextModifier and TypeMethodDescriptionStorableContext.fromStorableForm(ClassLoading classLoading) "Re-construct" the model context from the serial formMethods in org.hibernate.models.serial.spi with parameters of type ModelsContext -
Uses of ModelsContext in org.hibernate.models.spi
Methods in org.hibernate.models.spi that return ModelsContextModifier and TypeMethodDescriptionModelsConfiguration.bootstrap()Build the ModelsContext instance.ModelsContextProvider.produceContext(ClassLoading classLoading, RegistryPrimer registryPrimer, Map<Object, Object> configProperties) Produce the ModelsContext.Methods in org.hibernate.models.spi with parameters of type ModelsContextModifier and TypeMethodDescriptiondefault <A extends Annotation>
AMutableAnnotationTarget.applyAnnotationUsage(AnnotationDescriptor<A> annotationType, ModelsContext modelContext) Applies a usage of the givenannotationTypeto this target.static ArrayTypeDetailsTypeDetailsHelper.arrayOf(TypeDetails constituentType, ModelsContext modelsContext) Make an array type of the given component typeClassDetailsBuilder.buildClassDetails(String name, ModelsContext modelsContext) Build a ClassDetails descriptor for a class with the given nameTypeDetailsSwitch.caseArrayType(ArrayTypeDetails arrayType, ModelsContext modelsContext) Handle the case of an arrayTypeDetailsSwitch.caseClass(ClassTypeDetails classType, ModelsContext modelsContext) Handle the case of a raw classTypeDetailsSwitch.caseParameterizedType(ParameterizedTypeDetails parameterizedType, ModelsContext modelsContext) Handle the case of a parameterized typeTypeDetailsSwitch.casePrimitive(PrimitiveTypeDetails primitiveType, ModelsContext modelsContext) Handle the case of a primitiveTypeDetailsSwitch.caseTypeVariable(TypeVariableDetails typeVariable, ModelsContext modelsContext) Handle the case of a type variableTypeDetailsSwitch.caseTypeVariableReference(TypeVariableReferenceDetails typeVariableReference, ModelsContext modelsContext) Handle the case of a reference to a type variableTypeDetailsSwitch.caseVoid(VoidTypeDetails voidType, ModelsContext modelsContext) Handle the case of void (or Void)TypeDetailsSwitch.caseWildcardType(WildcardTypeDetails wildcardType, ModelsContext modelsContext) Handle the case of a wildcard typeJdkValueConverter.convert(V rawValue, ModelsContext modelContext) ValueTypeDescriptor.createJdkValueConverter(ModelsContext modelContext) ValueTypeDescriptor.createJdkValueExtractor(ModelsContext modelContext) AnnotationDescriptor.createUsage(A jdkAnnotation, ModelsContext context) Create a usage from the JDK representation.default AAnnotationDescriptor.createUsage(Map<String, Object> attributeValues, ModelsContext context) Create a usage from the JDK representation.AnnotationDescriptor.createUsage(ModelsContext context) Create an empty usage.TypeDetailsSwitch.defaultCase(TypeDetails type, ModelsContext modelsContext) Handle any other cases<A extends Annotation>
VJdkValueExtractor.extractValue(A usage, String attributeName, ModelsContext modelContext) Extract the value of the named attribute from the given annotation<A extends Annotation>
VJdkValueExtractor.extractValue(A usage, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelContext) Extract the value of the described attribute from the given annotationdefault <X extends Annotation>
voidAnnotationTarget.forEachAnnotationUsage(Class<X> type, ModelsContext modelContext, Consumer<X> consumer) Form ofAnnotationTarget.forEachAnnotationUsage(AnnotationDescriptor, ModelsContext, Consumer)accepting the annotation Classdefault <X extends Annotation>
voidAnnotationTarget.forEachAnnotationUsage(AnnotationDescriptor<X> type, ModelsContext modelContext, Consumer<X> consumer) Call theconsumerfor each usage of the giventype.<A extends Annotation,C extends Annotation>
voidAnnotationTarget.forEachRepeatedAnnotationUsages(Class<A> repeatable, Class<C> container, ModelsContext modelContext, Consumer<A> consumer) default <A extends Annotation,C extends Annotation>
voidAnnotationTarget.forEachRepeatedAnnotationUsages(AnnotationDescriptor<A> repeatable, ModelsContext modelContext, Consumer<A> consumer) default <T,A extends Annotation>
TAnnotationTarget.fromAnnotations(Class<A> annotationType, AnnotationTarget.AnnotationUsageProcessor<T, A> processor, ModelsContext modelContext) Returns a "matching value" using the passedprocessorfrom the annotations, of the passedannotationType, used on the target.default <T> TAnnotationTarget.fromContainers(boolean crossPackageBoundaries, ModelsContext modelContext, Function<ClassDetails, T> matchingExtractor) Walk "up" containers from this target.default <T> TAnnotationTarget.fromSelfAndContainers(boolean crossPackageBoundaries, ModelsContext modelContext, Function<AnnotationTarget, T> matchingExtractor) Walk "up" containers from this target.default <A extends Annotation>
AAnnotationTarget.getAnnotationUsage(Class<A> type, ModelsContext modelContext) Form ofAnnotationTarget.getAnnotationUsage(AnnotationDescriptor, ModelsContext)accepting the annotation Class<A extends Annotation>
AAnnotationTarget.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) Get the usage of the given annotation on this target.default ClassDetailsAnnotationDescriptor.getContainer(ModelsContext modelsContext) AnnotationTarget.getContainer(ModelsContext modelsContext) Get the ClassDetails for the class which is the "container" for this target. For a member (org.hib.Thing#id), this will be the declaring type (org.hib.Thing).default ClassDetailsClassDetails.getContainer(ModelsContext modelsContext) default ClassDetailsMemberDetails.getContainer(ModelsContext modelsContext) <A extends Annotation>
List<? extends Annotation> AnnotationTarget.getMetaAnnotated(Class<A> metaAnnotationType, ModelsContext modelContext) Returns all Annotation usages from this target where the usage's annotation class is annotated with the givenmetaAnnotationType.<X extends Annotation>
XAnnotationTarget.getNamedAnnotationUsage(Class<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) default <X extends Annotation>
XAnnotationTarget.getNamedAnnotationUsage(Class<X> type, String matchName, ModelsContext modelContext) <X extends Annotation>
XAnnotationTarget.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) Get a usage of the given annotationtypewhoseattributeToMatchattribute value matches the givenmatchName.default <X extends Annotation>
XAnnotationTarget.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, ModelsContext modelContext) Get a usage of the given annotationtypewhoseattributeToMatchattribute value matches the givenmatchName.default <A extends Annotation>
A[]AnnotationTarget.getRepeatedAnnotationUsages(Class<A> type, ModelsContext modelContext) Form of AnnotationTarget.getRepeatedAnnotationUsages(AnnotationDescriptor, ModelsContext) accepting the annotation Class<A extends Annotation>
A[]AnnotationTarget.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) Get all usages of the specifiedannotationTypein this scope.<A extends Annotation>
booleanAnnotationTarget.hasAnnotationUsage(Class<A> type, ModelsContext modelContext) Whether the given annotation is used on this target.<A extends Annotation>
AAnnotationTarget.locateAnnotationUsage(Class<A> type, ModelsContext modelContext) Form of AnnotationTarget.getAnnotationUsage(org.hibernate.models.spi.AnnotationDescriptor<A>, org.hibernate.models.spi.ModelsContext) which also considers meta-annotations - annotations on the classes of each local annotation.V[]ValueTypeDescriptor.makeArray(int size, ModelsContext modelContext) voidRegistryPrimer.primeRegistries(RegistryPrimer.Contributions contributions, ModelsContext modelsContext) voidValueTypeDescriptor.render(Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) default voidValueTypeDescriptor.render(String name, Object attributeValue, RenderingTarget target, Renderer renderer, ModelsContext modelContext) default <A extends Annotation>
AMutableAnnotationTarget.replaceAnnotationUsage(AnnotationDescriptor<A> annotationType, ModelsContext modelContext) Creates and replaces (if any) an existing usage of the given annotation.<S extends Annotation,P extends Annotation>
PMutableAnnotationTarget.replaceAnnotationUsage(AnnotationDescriptor<S> repeatableType, AnnotationDescriptor<P> containerType, ModelsContext modelContext) Creates and replaces (if any) an existing usage of the given annotation.static <T> TTypeDetailsSwitch.switchType(TypeDetails typeDetails, TypeDetailsSwitch<T> switcher, ModelsContext modelsContext) Main entry into the generics interpretation, with delegation to the defined case methods<X> Class<X> ClassDetails.toJavaClass(ClassLoading classLoading, ModelsContext modelContext) Load the corresponding Class using the specifiedClassLoading.FieldDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) MemberDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) MethodDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) RecordComponentDetails.toJavaMember(Class<?> declaringClass, ClassLoading classLoading, ModelsContext modelContext) default voidAnnotationTarget.walkContainers(boolean crossPackageBoundaries, ModelsContext modelContext, Consumer<ClassDetails> consumer) Walk "up" containers from this target.default voidAnnotationTarget.walkSelfAndContainers(boolean crossPackageBoundaries, ModelsContext modelContext, Consumer<AnnotationTarget> consumer) Walk "up" containers from this target.