fix(type-utils): Add missing @Nullable annotation to ActualType#getAnnotation
This commit is contained in:
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user