Package org.hibernate.models.internal
Class SourceModelBuildingContextImpl
java.lang.Object
org.hibernate.models.internal.SourceModelBuildingContextImpl
- All Implemented Interfaces:
SharedAnnotationScope,SharedNamedAnnotationScope,SourceModelBuildingContext,SourceModelContext
-
Constructor Summary
ConstructorsConstructorDescriptionSourceModelBuildingContextImpl(ClassLoading classLoadingAccess, org.jboss.jandex.IndexView jandexIndex) SourceModelBuildingContextImpl(ClassLoading classLoadingAccess, org.jboss.jandex.IndexView jandexIndex, RegistryPrimer registryPrimer) -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
voidforEachAnnotationUsage(Class<A> annotationType, Consumer<AnnotationUsage<A>> consumer) <A extends Annotation>
List<AnnotationUsage<A>>getAllAnnotationUsages(Class<A> annotationType) The registry of annotation descriptorsRegistry of managed-classesIf model processing code needs to load things from the class-loader, they should really use this access.org.jboss.jandex.IndexViewAccess to the pre-built Jandex index}, if any.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.models.spi.SharedAnnotationScope
forEachAnnotationUsage, getAllAnnotationUsagesMethods inherited from interface org.hibernate.models.spi.SharedNamedAnnotationScope
getNamedAnnotation, getNamedAnnotation
-
Constructor Details
-
SourceModelBuildingContextImpl
public SourceModelBuildingContextImpl(ClassLoading classLoadingAccess, org.jboss.jandex.IndexView jandexIndex) -
SourceModelBuildingContextImpl
public SourceModelBuildingContextImpl(ClassLoading classLoadingAccess, org.jboss.jandex.IndexView jandexIndex, RegistryPrimer registryPrimer)
-
-
Method Details
-
getAnnotationDescriptorRegistry
Description copied from interface:SourceModelContextThe registry of annotation descriptors- Specified by:
getAnnotationDescriptorRegistryin interfaceSourceModelContext
-
getClassDetailsRegistry
Description copied from interface:SourceModelContextRegistry of managed-classes- Specified by:
getClassDetailsRegistryin interfaceSourceModelContext
-
getClassLoading
Description copied from interface:SourceModelBuildingContextIf model processing code needs to load things from the class-loader, they should really use this access. At this level, accessing the class-loader at all sh- Specified by:
getClassLoadingin interfaceSourceModelBuildingContext
-
getJandexIndex
public org.jboss.jandex.IndexView getJandexIndex()Description copied from interface:SourceModelBuildingContextAccess to the pre-built Jandex index}, if any.- Specified by:
getJandexIndexin interfaceSourceModelBuildingContext
-
getAllAnnotationUsages
public <A extends Annotation> List<AnnotationUsage<A>> getAllAnnotationUsages(Class<A> annotationType) - Specified by:
getAllAnnotationUsagesin interfaceSharedAnnotationScope
-
forEachAnnotationUsage
public <A extends Annotation> void forEachAnnotationUsage(Class<A> annotationType, Consumer<AnnotationUsage<A>> consumer) - Specified by:
forEachAnnotationUsagein interfaceSharedAnnotationScope
-