use of com.oracle.svm.core.hub.AnnotationTypeSupport in project graal by oracle.
the class AnnotationTypeFeature method afterRegistration.
@Override
public void afterRegistration(AfterRegistrationAccess access) {
ImageSingletons.add(AnnotationTypeSupport.class, new AnnotationTypeSupport());
((AfterRegistrationAccessImpl) access).getImageClassLoader().allAnnotations().stream().map(a -> a.getAnnotation(Repeatable.class)).filter(Objects::nonNull).map(Repeatable::value).forEach(repeatableAnnotationClasses::add);
}
Aggregations