Files
Anna Kozlova ddb2d075d9 [kotlin] fix common uast properties ref contributor to get rid of dedicated kotlin one
^ KTIJ-22356
also enables search for properties bundle/properties key for k2 (part of KTIJ-21662)

GitOrigin-RevId: e3ec5803a2de593e1b3fd742f3ed7ae97a3e6d42
2022-12-16 22:08:16 +00:00

106 lines
5.0 KiB
XML

<problems>
<problem>
<file>unresolvedPropertyReference.kt</file>
<line>2</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="method" FQNAME="UnresolvedPropertyReferenceKt void test()"/>
<problem_class id="KotlinInvalidBundleOrProperty" severity="ERROR" attribute_key="WRONG_REFERENCES_ATTRIBUTES">Invalid property key</problem_class>
<description>'foo.baz' doesn't appear to be a valid property key</description>
<highlighted_element>&quot;foo.baz&quot;</highlighted_element>
<language>kotlin</language>
<offset>14</offset>
<length>9</length>
</problem>
<problem>
<file>unresolvedPropertyReference.kt</file>
<line>3</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="method" FQNAME="UnresolvedPropertyReferenceKt void test()"/>
<problem_class id="KotlinInvalidBundleOrProperty" severity="ERROR" attribute_key="WRONG_REFERENCES_ATTRIBUTES">Invalid property key</problem_class>
<description>'foo.baz' doesn't appear to be a valid property key</description>
<highlighted_element>&quot;foo.baz&quot;</highlighted_element>
<language>kotlin</language>
<offset>14</offset>
<length>9</length>
</problem>
<problem>
<file>unresolvedPropertyReference.kt</file>
<line>4</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="method" FQNAME="UnresolvedPropertyReferenceKt void test()"/>
<problem_class id="KotlinInvalidBundleOrProperty" severity="ERROR" attribute_key="WRONG_REFERENCES_ATTRIBUTES">Invalid property key</problem_class>
<description>'foo.baz' doesn't appear to be a valid property key</description>
<highlighted_element>&quot;foo.baz&quot;</highlighted_element>
<language>kotlin</language>
<offset>14</offset>
<length>9</length>
</problem>
<problem>
<file>unresolvedPropertyReference.kt</file>
<line>5</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="method" FQNAME="UnresolvedPropertyReferenceKt void test()"/>
<problem_class id="KotlinInvalidBundleOrProperty" severity="ERROR" attribute_key="WRONG_REFERENCES_ATTRIBUTES">Invalid property key</problem_class>
<description>'foo.baz' doesn't appear to be a valid property key</description>
<highlighted_element>&quot;foo.baz&quot;</highlighted_element>
<language>kotlin</language>
<offset>14</offset>
<length>9</length>
</problem>
<problem>
<file>tooFewArguments.kt</file>
<line>2</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="file" FQNAME="tooFewArguments.kt"/>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Invalid property key</problem_class>
<description>Property 'foo.bar' expected 1 parameter, passed 0</description>
</problem>
<problem>
<file>tooFewArguments.kt</file>
<line>3</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="file" FQNAME="tooFewArguments.kt"/>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Invalid property key</problem_class>
<description>Property 'foo.bar' expected 1 parameter, passed 0</description>
</problem>
<problem>
<file>unresolvedBundleReference.kt</file>
<line>3</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="file" FQNAME="unresolvedBundleReference.kt"/>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Invalid property key</problem_class>
<description>Invalid resource bundle reference 'TestBundle2'</description>
</problem>
<problem>
<file>unresolvedBundleReference.kt</file>
<line>5</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="method" FQNAME="UnresolvedBundleReferenceKt java.lang.String message(java.lang.String key, java.lang.Object... args)"/>
<problem_class id="KotlinInvalidBundleOrProperty" severity="ERROR" attribute_key="WRONG_REFERENCES_ATTRIBUTES">Invalid property key</problem_class>
<description>Invalid resource bundle reference 'TestBundle2'</description>
<highlighted_element>&quot;TestBundle2&quot;</highlighted_element>
<language>kotlin</language>
<offset>42</offset>
<length>13</length>
</problem>
<problem>
<file>unresolvedPropertyReference.kt</file>
<line>6</line>
<module>testInvalidBundleOrProperty_InvalidBundleOrProperty</module>
<entry_point TYPE="method" FQNAME="UnresolvedPropertyReferenceKt void test()"/>
<problem_class id="KotlinInvalidBundleOrProperty" severity="ERROR" attribute_key="WRONG_REFERENCES_ATTRIBUTES">Invalid property key</problem_class>
<description>'www' doesn't appear to be a valid property key</description>
<highlighted_element>&quot;www&quot;</highlighted_element>
<language>kotlin</language>
<offset>15</offset>
<length>5</length>
</problem>
</problems>