inspection toolwindow: offline inspection result action resolves packages/classes structure

This commit is contained in:
Dmitry Batkovich
2016-06-16 16:21:41 +03:00
parent e5bb93fd7f
commit 30248a4008
15 changed files with 216 additions and 316 deletions
@@ -49,4 +49,8 @@ public class Test {
long d = 5;
int a = 0;
}
void m() {
"".equals("");
}
}
@@ -0,0 +1,11 @@
public class Test2 {
void m123() {
"".equals("");
}
}
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>file://$PROJECT_DIR$/src/Test.java</file>
<line>54</line>
<module>test</module>
<package>&lt;default&gt;</package>
<entry_point TYPE="method" FQNAME="Test void m()" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'equals()' called on itself</problem_class>
<description>Identical qualifier and argument to &lt;code&gt;equals()&lt;/code&gt; call</description>
</problem>
<problem>
<file>file://$PROJECT_DIR$/src/Test2.java</file>
<line>6</line>
<module>test</module>
<package>&lt;default&gt;</package>
<entry_point TYPE="method" FQNAME="Test2 void m123()" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'equals()' called on itself</problem_class>
<description>Identical qualifier and argument to &lt;code&gt;equals()&lt;/code&gt; call</description>
</problem>
</problems>