Package org.hibernate.models.spi
Interface MutableClassDetails
- All Superinterfaces:
AnnotationTarget,ClassDetails,MutableAnnotationTarget,Storable<ClassDetails,,SerialClassDetails> TypeVariableScope
- All Known Subinterfaces:
ClassDetailsSupport
- All Known Implementing Classes:
DynamicClassDetails,JdkClassDetails
Extension of ClassDetails which allows manipulation of the members
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.models.spi.AnnotationTarget
AnnotationTarget.AnnotationUsageProcessor<T,A extends Annotation>, AnnotationTarget.Kind Nested classes/interfaces inherited from interface org.hibernate.models.spi.ClassDetails
ClassDetails.ClassDetailsConsumer -
Field Summary
Fields inherited from interface org.hibernate.models.spi.ClassDetails
CLASS_CLASS_DETAILS, OBJECT_CLASS_DETAILS, VOID_CLASS_DETAILS, VOID_OBJECT_CLASS_DETAILS -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(FieldDetails fieldDetails) voidaddMethod(MethodDetails methodDetails) default <A extends Annotation>
AnnotationDescriptor<A> Safe cast method for cases when the target is an annotation.default MutableClassDetailsdefault FieldDetailsdefault MutableMemberDetailsdefault MethodDetailsdefault RecordComponentDetailsSafe cast method for cases when the target is a record component.default voidMethods inherited from interface org.hibernate.models.spi.AnnotationTarget
forEachAnnotationUsage, forEachAnnotationUsage, forEachDirectAnnotationUsage, forEachRepeatedAnnotationUsages, forEachRepeatedAnnotationUsages, fromAnnotations, fromContainers, fromSelfAndContainers, getAnnotationUsage, getAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsages, getMetaAnnotated, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getRepeatedAnnotationUsages, getRepeatedAnnotationUsages, hasAnnotationUsage, hasDirectAnnotationUsage, locateAnnotationUsage, walkContainers, walkSelfAndContainersMethods inherited from interface org.hibernate.models.spi.ClassDetails
determineRawClass, findField, findFieldByName, findRecordComponent, findRecordComponentByName, forEachField, forEachMember, forEachMethod, forEachPersistableMember, forEachRecordComponent, forEachSuper, forSelfAndEachSuper, getClassName, getContainer, getFields, getGenericSuperType, getImplementedInterfaces, getKind, getMethods, getName, getRecordComponents, getSuperClass, getTypeParameters, isAbstract, isEnum, isImplementor, isInterface, isRecord, isResolved, isSuperclass, resolveTypeVariable, toJavaClass, toJavaClassMethods inherited from interface org.hibernate.models.spi.MutableAnnotationTarget
addAnnotationUsage, applyAnnotationUsage, clearAnnotationUsages, removeAnnotationUsage, replaceAnnotationUsage, replaceAnnotationUsageMethods inherited from interface org.hibernate.models.serial.spi.Storable
toStorableForm
-
Method Details
-
clearMemberAnnotationUsages
default void clearMemberAnnotationUsages() -
addField
-
addMethod
-
asAnnotationDescriptor
Description copied from interface:AnnotationTargetSafe cast method for cases when the target is an annotation.- Specified by:
asAnnotationDescriptorin interfaceAnnotationTarget- Specified by:
asAnnotationDescriptorin interfaceClassDetails
-
asClassDetails
Description copied from interface:AnnotationTarget- Specified by:
asClassDetailsin interfaceAnnotationTarget- Specified by:
asClassDetailsin interfaceClassDetails- Specified by:
asClassDetailsin interfaceMutableAnnotationTarget
-
asMemberDetails
Description copied from interface:AnnotationTarget- Specified by:
asMemberDetailsin interfaceAnnotationTarget- Specified by:
asMemberDetailsin interfaceClassDetails- Specified by:
asMemberDetailsin interfaceMutableAnnotationTarget
-
asFieldDetails
Description copied from interface:AnnotationTarget- Specified by:
asFieldDetailsin interfaceAnnotationTarget- Specified by:
asFieldDetailsin interfaceClassDetails
-
asMethodDetails
Description copied from interface:AnnotationTarget- Specified by:
asMethodDetailsin interfaceAnnotationTarget- Specified by:
asMethodDetailsin interfaceClassDetails
-
asRecordComponentDetails
Description copied from interface:AnnotationTargetSafe cast method for cases when the target is a record component.- Specified by:
asRecordComponentDetailsin interfaceAnnotationTarget- Specified by:
asRecordComponentDetailsin interfaceClassDetails
-