visitAnnotation() could return null for light classes

This commit is contained in:
Andrey Breslav
2013-11-11 12:56:13 +04:00
parent 2873f74932
commit f3901d2844
6 changed files with 73 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
public final class Synthetic implements jet.JetObject {
@org.jetbrains.annotations.NotNull
private final void foo() { /* compiled code */ }
@org.jetbrains.annotations.NotNull
public Synthetic() { /* compiled code */ }
public final class Inner implements jet.JetObject {
@org.jetbrains.annotations.NotNull
public final void test() { /* compiled code */ }
@org.jetbrains.annotations.NotNull
public Inner() { /* compiled code */ }
}
}