Do not report "no reflection" inspection where reflection is not used

#KT-7059 Fixed
This commit is contained in:
Alexander Udalov
2015-03-23 13:12:47 +03:00
parent d569ea5974
commit 3335752462
6 changed files with 71 additions and 9 deletions
@@ -0,0 +1,18 @@
<problems>
<problem>
<file>functionReference.kt</file>
<line>12</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/functionReference.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Reflection not found</problem_class>
<description>Reflection not found in the classpath</description>
</problem>
<problem>
<file>functionReference.kt</file>
<line>13</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/functionReference.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Reflection not found</problem_class>
<description>Reflection not found in the classpath</description>
</problem>
</problems>