Files
openide/java/java-tests/testData/inspection/deadCode/localVariables/expected.xml
Bas Leijdekkers 63c4ffc2bc global inspections: don't create incorrect link between class and its field initializer targets
GitOrigin-RevId: 838fc87a71409dc722a9821525845e573242a883
2022-06-29 20:02:33 +00:00

158 lines
5.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>A.java</file>
<line>5</line>
<description>Variable &lt;code&gt;i&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>7</line>
<description>Variable &lt;code&gt;k&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>10</line>
<description>Variable &lt;code&gt;unusedStr1&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>13</line>
<description>Variable &lt;code&gt;unusedStr3&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>18</line>
<description>Variable &lt;code&gt;unusedStr5&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>21</line>
<description>Variable &lt;code&gt;unusedStr7&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>26</line>
<description>Variable &lt;code&gt;unusedStr8&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>27</line>
<description>Variable &lt;code&gt;unusedStr9&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>34</line>
<description>Variable &lt;code&gt;unusedStr10&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>A.java</file>
<line>35</line>
<description>Variable &lt;code&gt;unusedStr11&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>6</line>
<description>Field has no usages.</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>7</line>
<description>Variable &lt;code&gt;i1&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>12</line>
<description>Variable &lt;code&gt;i3&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>24</line>
<description>Variable &lt;code&gt;i1&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>29</line>
<description>Variable &lt;code&gt;i3&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>38</line>
<description>Variable &lt;code&gt;r&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>41</line>
<description>Variable &lt;code&gt;s&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>Lambda.java</file>
<line>42</line>
<description>Variable &lt;code&gt;t&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>6</line>
<description>Field has no usages.</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>9</line>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>10</line>
<description>Variable &lt;code&gt;i1&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>14</line>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>19</line>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>21</line>
<description>Variable &lt;code&gt;i3&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>39</line>
<description>Variable &lt;code&gt;i1&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>50</line>
<description>Variable &lt;code&gt;i3&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>PatternVariables.java</file>
<line>4</line>
<description>Variable &lt;code&gt;arg&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>PatternVariables.java</file>
<line>7</line>
<description>Variable &lt;code&gt;in&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>PatternVariables.java</file>
<line>15</line>
<description>Variable &lt;code&gt;s&lt;/code&gt; is never used</description>
</problem>
<problem>
<file>PatternVariables.java</file>
<line>18</line>
<description>Variable &lt;code&gt;strings&lt;/code&gt; is never used</description>
</problem>
</problems>