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

This commit is contained in:
2026-05-24 16:40:59 +02:00
parent 4bc05471d8
commit e5b433045f
2 changed files with 2 additions and 1 deletions
@@ -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);
}