mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-15184 (Inspection "@NotNull/@Nullable" problems misses @NotNull getter for @Nullable field)
IDEA-60156 (Inspection: Detect assignment to @NotNull field from unannotated parameter)
This commit is contained in:
+33
-1
@@ -30,4 +30,36 @@
|
||||
<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>
|
||||
</problems>
|
||||
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user