visibility inspection: prefer extension visibility to default one (IDEA-166543)

This commit is contained in:
Anna Kozlova
2017-03-29 13:19:16 +02:00
parent 04eb11100e
commit f150293994
4 changed files with 88 additions and 2 deletions
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>ThisClass.java</file>
<line>2</line>
<description>Can be package-private</description>
</problem>
</problems>
@@ -0,0 +1,6 @@
public class ThisClass {
public void foo() {}
public void bar() {}
public static void main(String[] args) {}
}