4042214bb2
- The inspection now works in more cases, so the test data had to be updated accordingly
253 lines
13 KiB
XML
Vendored
253 lines
13 KiB
XML
Vendored
<problems>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>9</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>11</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="WEAK_WARNING">Redundant SAM-constructors</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>12</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorKt void test()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>Runnable</highlighted_element>
|
|
<offset>37</offset>
|
|
<length>8</length>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>22</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>25</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>27</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>28</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorKt void test()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>Runnable</highlighted_element>
|
|
<offset>31</offset>
|
|
<length>8</length>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>38</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>44</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorKt void test()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>Runnable</highlighted_element>
|
|
<offset>27</offset>
|
|
<length>8</length>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>9</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructorWithGenericsInReturnType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>11</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructorWithGenericsInReturnType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="WEAK_WARNING">Redundant SAM-constructors</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>12</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorWithGenericsInReturnTypeKt void testGenericsReturnType()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>JFunction0</highlighted_element>
|
|
<offset>39</offset>
|
|
<length>10</length>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>15</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructorWithGenericsInReturnType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>18</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructorWithGenericsInReturnType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>20</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructorWithGenericsInReturnType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>21</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorWithGenericsInReturnTypeKt void testGenericsReturnType()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>JFunction0</highlighted_element>
|
|
<offset>31</offset>
|
|
<length>10</length>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenericsInReturnType.kt</file>
|
|
<line>24</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructorWithGenericsInReturnType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>otherGenericsInParams.kt</file>
|
|
<line>6</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="otherGenericsInParams.kt" />
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>otherGenericsInParams.kt</file>
|
|
<line>7</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.OtherGenericsInParamsKt void test()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>Runnable</highlighted_element>
|
|
<offset>21</offset>
|
|
<length>8</length>
|
|
</problem>
|
|
<problem>
|
|
<file>otherGenericsInParams.kt</file>
|
|
<line>8</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="otherGenericsInParams.kt" />
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>otherGenericsInParams.kt</file>
|
|
<line>9</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.OtherGenericsInParamsKt void test()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>Runnable</highlighted_element>
|
|
<offset>35</offset>
|
|
<length>8</length>
|
|
</problem>
|
|
<problem>
|
|
<file>otherGenericsInParams.kt</file>
|
|
<line>11</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="otherGenericsInParams.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM-constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>expectedType.kt</file>
|
|
<line>7</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="expectedType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>expectedType.kt</file>
|
|
<line>8</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="expectedType.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>41</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructor.kt</file>
|
|
<line>42</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="file" FQNAME="redundantSamConstructor.kt" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenerics.kt</file>
|
|
<line>12</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorWithGenericsKt void testGenerics()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>JFunction1<String></highlighted_element>
|
|
<offset>39</offset>
|
|
<length>18</length>
|
|
</problem>
|
|
<problem>
|
|
<file>redundantSamConstructorWithGenerics.kt</file>
|
|
<line>21</line>
|
|
<module>light_idea_test_case</module>
|
|
<entry_point TYPE="method" FQNAME="redundantSamConstructor.RedundantSamConstructorWithGenericsKt void testGenerics()" />
|
|
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant SAM constructor</problem_class>
|
|
<description>Redundant SAM-constructor</description>
|
|
<highlighted_element>JFunction1<String></highlighted_element>
|
|
<offset>31</offset>
|
|
<length>18</length>
|
|
</problem>
|
|
</problems> |