Class AbstractAnnotationTarget
java.lang.Object
org.hibernate.models.internal.dynamic.AbstractAnnotationTarget
- All Implemented Interfaces:
AnnotationTargetSupport, AnnotationTarget, MutableAnnotationTarget
- Direct Known Subclasses:
DynamicClassDetails, DynamicFieldDetails
-
Nested Class Summary
Nested classes/interfaces inherited from interface AnnotationTarget
AnnotationTarget.AnnotationUsageProcessor<T,A>, AnnotationTarget.Kind -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves all annotation usages currently associated with this target.Map<Class<? extends Annotation>, ? extends Annotation> Access to all annotation usages on this target.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AnnotationTarget
forEachAnnotationUsage, forEachAnnotationUsage, forEachDirectAnnotationUsage, fromAnnotations, fromContainers, fromSelfAndContainers, getContainer, getKind, getName, getNamedAnnotationUsage, getRepeatedAnnotationUsages, walkContainers, walkSelfAndContainersMethods inherited from interface AnnotationTargetSupport
addAnnotationUsage, asAnnotationDescriptor, asClassDetails, asFieldDetails, asMemberDetails, asMethodDetails, asRecordComponentDetails, forEachRepeatedAnnotationUsages, forEachRepeatedAnnotationUsages, getAnnotationUsage, getAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsages, getMetaAnnotated, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getRepeatedAnnotationUsages, hasAnnotationUsage, hasDirectAnnotationUsage, locateAnnotationUsage, removeAnnotationUsage, replaceAnnotationUsageMethods inherited from interface MutableAnnotationTarget
applyAnnotationUsage, replaceAnnotationUsage
-
Constructor Details
-
AbstractAnnotationTarget
-
-
Method Details
-
getModelContext
-
getUsageMap
Description copied from interface:AnnotationTargetSupportAccess to all annotation usages on this target.- Specified by:
getUsageMapin interfaceAnnotationTargetSupport
-
clearAnnotationUsages
public void clearAnnotationUsages()Description copied from interface:MutableAnnotationTargetRemoves all annotation usages currently associated with this target. Useful for complete XML mappings.- Specified by:
clearAnnotationUsagesin interfaceAnnotationTargetSupport- Specified by:
clearAnnotationUsagesin interfaceMutableAnnotationTarget
-