diff options
author | Tor Norbye <tnorbye@google.com> | 2013-06-14 07:28:55 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2013-06-14 07:28:55 -0700 |
commit | d9e4c285fa2c3c38c5b92cf30e77f27e243566a8 (patch) | |
tree | 354db2798801cc7730ba4a71ea9a151233309d3a /plugins/InspectionGadgets/test | |
parent | 28d9ee094b1d352884aaf5b66b85b30335165c03 (diff) | |
download | idea-d9e4c285fa2c3c38c5b92cf30e77f27e243566a8.tar.gz |
Snapshot df6c5fa1206345df60a0c86fe8f67c5f7a6f478f from master branch of git://git.jetbrains.org/idea/community.git
Change-Id: I1d62dfd281ca361774653165ce8da9fb93d51005
Diffstat (limited to 'plugins/InspectionGadgets/test')
-rw-r--r-- | plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessarily_qualified_inner_class_access/Test.java | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessarily_qualified_inner_class_access/Test.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessarily_qualified_inner_class_access/Test.java index 932c8a2ab670..72e2d331c49d 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessarily_qualified_inner_class_access/Test.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessarily_qualified_inner_class_access/Test.java @@ -36,4 +36,27 @@ class Foo extends PresenterWidget<Foo.Bar> { //no warning as Bar here is not acc } interface View {} -class PresenterWidget<T>{}
\ No newline at end of file +class PresenterWidget<T>{} + +class MultipleInheritance { + interface I1 { + interface V { + } + + String FOO = ""; + } + + interface I2 { + interface V { + } + + String FOO = ""; + } + + static class C implements I1, I2 { + public I1.V foo() { + System.out.println(I1.FOO); + return null; + } + } +}
\ No newline at end of file |