[tests] adds Groovy cases to not-null instrumenter test

This commit is contained in:
Roman Shevchenko
2018-10-08 18:55:05 +02:00
parent bed035b0ad
commit bff1c28f85
3 changed files with 51 additions and 3 deletions
@@ -0,0 +1,9 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
import org.jetbrains.annotations.NotNull
@SuppressWarnings("unused")
enum GroovyEnum {
Value(null, "1");
GroovyEnum(String s1, @NotNull String s2) { }
}
@@ -0,0 +1,12 @@
import org.jetbrains.annotations.NotNull
@SuppressWarnings("unused")
class GroovyInnerClass {
GroovyInnerClass() {
new Inner(null, "")
}
private class Inner {
Inner(String s1, @NotNull String s2) { }
}
}