mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
[tests] adds Groovy cases to not-null instrumenter test
This commit is contained in:
@@ -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) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user