Don't mark primitive types as @NotNull

This commit is contained in:
Andrey Breslav
2013-11-11 13:09:43 +04:00
parent f3901d2844
commit 0959f7e37c
4 changed files with 72 additions and 1 deletions
@@ -65,6 +65,10 @@ public class NullabilityAnnotationsTest extends KotlinAsJavaTestBase {
doTest(getTestName(false));
}
public void testPrimitives() throws Exception {
doTest(getTestName(false));
}
private void doTest(@NotNull String fqName) {
PsiClass psiClass = finder.findClass(fqName, GlobalSearchScope.allScope(getProject()));
if (!(psiClass instanceof KotlinLightClass)) {