fix(type-utils): Add missing @Nullable annotation to ActualType#getAnnotation

This commit is contained in:
Siphalor committed 2026-05-24 16:40:59 +02:00
1 parent 4bc05471d8
commit e5b433045f
2 files changed
+2 -1

No files matched your search

@@ -100,7 +100,7 @@ public class ActualType<T> implements AnnotatedElement {
}
@Override
public <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
public <A extends Annotation> @Nullable A getAnnotation(Class<A> annotationClass) {
return layeredTypeAnnotations.getAnnotation(annotationClass);
}