check annotation params accessibility (IDEA-108584)

This commit is contained in:
Anna Kozlova
2013-06-10 18:21:06 +04:00
parent 9fe9f66af3
commit 6c6a56bc8b
3 changed files with 28 additions and 5 deletions
@@ -0,0 +1,8 @@
@SomeAnnotation(<error descr="'Foo.Bar' has private access in 'Foo'">Foo.Bar.class</error>)
public class Foo{
private static class Bar {
}
}
@interface SomeAnnotation {
Class value();
}