mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
not null
This commit is contained in:
+3
@@ -23,6 +23,8 @@ import com.intellij.psi.impl.source.PsiMethodImpl
|
||||
import com.intellij.psi.util.PsiTreeUtil
|
||||
import com.intellij.testFramework.LightProjectDescriptor
|
||||
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase
|
||||
import org.jetbrains.annotations.NotNull
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
*/
|
||||
@@ -685,6 +687,7 @@ public static void test(Object obj, int i) {
|
||||
return assertOneElement(inferContracts(method))
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected LightProjectDescriptor getProjectDescriptor() {
|
||||
return JAVA_8_ANNOTATED
|
||||
|
||||
+2
@@ -27,12 +27,14 @@ import com.intellij.psi.impl.source.PsiMethodImpl
|
||||
import com.intellij.testFramework.LightProjectDescriptor
|
||||
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase
|
||||
import org.jetbrains.annotations.Contract
|
||||
import org.jetbrains.annotations.NotNull
|
||||
|
||||
import static com.intellij.codeInsight.Nullability.*
|
||||
/**
|
||||
* @author peter
|
||||
*/
|
||||
abstract class NullityInferenceFromSourceTestCase extends LightCodeInsightFixtureTestCase {
|
||||
@NotNull
|
||||
@Override
|
||||
protected LightProjectDescriptor getProjectDescriptor() {
|
||||
return JAVA_8_ANNOTATED
|
||||
|
||||
Reference in New Issue
Block a user