mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-19 10:37:59 +07:00
a42ef74339
IDEA-60156 (Inspection: Detect assignment to @NotNull field from unannotated parameter)
66 lines
2.2 KiB
XML
66 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<problems>
|
|
<problem>
|
|
<file>Test.java</file>
|
|
<line>11</line>
|
|
<method>
|
|
<name>void setB(B b)</name>
|
|
<display_name>setB(B)</display_name>
|
|
<package><default></package>
|
|
<class>
|
|
<name>B</name>
|
|
<display_name>B</display_name>
|
|
</class>
|
|
</method>
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">@NotNull/@Nullable problems</problem_class>
|
|
<description>Setter parameter for @NotNull field might be annotated @NotNull itself</description>
|
|
</problem>
|
|
<problem>
|
|
<file>Test.java</file>
|
|
<line>7</line>
|
|
<method>
|
|
<name>B getB()</name>
|
|
<display_name>getB()</display_name>
|
|
<package><default></package>
|
|
<class>
|
|
<name>B</name>
|
|
<display_name>B</display_name>
|
|
</class>
|
|
</method>
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">@NotNull/@Nullable problems</problem_class>
|
|
<description>Getter for @NotNull field might be annotated @NotNull itself</description>
|
|
</problem>
|
|
|
|
<problem>
|
|
<file>Test.java</file>
|
|
<line>25</line>
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">@NotNull/@Nullable problems</problem_class>
|
|
<description>Constructor parameter for @NotNull field might be annotated @NotNull itself</description>
|
|
</problem>
|
|
|
|
|
|
<problem>
|
|
<file>Test.java</file>
|
|
<line>38</line>
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">@NotNull/@Nullable problems</problem_class>
|
|
<description>Setter parameter for @NotNull field might be annotated @NotNull itself</description>
|
|
</problem>
|
|
|
|
|
|
<problem>
|
|
<file>Test.java</file>
|
|
<line>34</line>
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">@NotNull/@Nullable problems</problem_class>
|
|
<description>Getter for @NotNull field might be annotated @NotNull itself</description>
|
|
</problem>
|
|
|
|
|
|
<problem>
|
|
<file>Test.java</file>
|
|
<line>29</line>
|
|
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">@NotNull/@Nullable problems</problem_class>
|
|
<description>Constructor parameter for @NotNull field might be annotated @NotNull itself</description>
|
|
</problem>
|
|
|
|
</problems>
|