mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CheckerFrameworkNullityUtil: support local variables
GitOrigin-RevId: 58683bbc683439d720eeb8d57d9257f9118cafaf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d3e9ba490c
commit
36fc74d7b2
@@ -57,6 +57,7 @@ class CheckerFrameworkNullityUtil {
|
||||
if (type == PsiAnnotation.TargetType.FIELD) return locationNames.contains("FIELD");
|
||||
if (type == PsiAnnotation.TargetType.METHOD) return locationNames.contains("RETURN");
|
||||
if (type == PsiAnnotation.TargetType.PARAMETER) return locationNames.contains("PARAMETER");
|
||||
if (type == PsiAnnotation.TargetType.LOCAL_VARIABLE) return locationNames.contains("LOCAL_VARIABLE");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user