mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dfa: values of primitive types have unknown nullability
This commit is contained in:
@@ -66,7 +66,7 @@ public class DfaPsiUtil {
|
||||
|
||||
@NotNull
|
||||
public static Nullness getElementNullability(@Nullable PsiType resultType, @Nullable PsiModifierListOwner owner) {
|
||||
if (owner == null) {
|
||||
if (owner == null || resultType instanceof PsiPrimitiveType) {
|
||||
return Nullness.UNKNOWN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user