treat annotation types and enums as normal classes and not as un-configured entry points (IDEA-157144)

This commit is contained in:
Anna Kozlova
2016-06-28 13:15:07 +03:00
parent 5dc271c3a2
commit 67c178f2e9
5 changed files with 30 additions and 3 deletions
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problems>
<problem>
<file>Test.java</file>
<line>5</line>
<description>Method is never used.</description>
</problem>
</problems>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>Test.java</file>
<line>2</line>
<description>Field has no usages.</description>
</problem>
<problem>
<file>Test.java</file>
<line>2</line>
<description>Field has no usages.</description>
</problem>
</problems>
@@ -0,0 +1,3 @@
public enum MyEnum {
A, B;
}