mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
Update "Unused declaration" messages for increased clarity
GitOrigin-RevId: 8bb4dd31d51f3cc4fb63c36579bd3078f6f622f7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7c5866059d
commit
d1f0e0880a
@@ -3,17 +3,17 @@
|
||||
<problem>
|
||||
<file>AnnotationInterface.java</file>
|
||||
<line>4</line>
|
||||
<description>Interface is not implemented.</description>
|
||||
<description>@interface is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>AnnotationInterface.java</file>
|
||||
<line>5</line>
|
||||
<description>Method owner class is never instantiated OR An instantiation is not reachable from entry points.</description>
|
||||
<description>Method owner class is never instantiated OR All instantiation are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>RepeatableAnnotation.java</file>
|
||||
<line>25</line>
|
||||
<description>Interface is not implemented.</description>
|
||||
<description>@interface is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>RepeatableAnnotation.java</file>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<line>1</line>
|
||||
<offset>13</offset>
|
||||
<length>4</length>
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Main.java</file>
|
||||
@@ -17,12 +17,12 @@
|
||||
<line>1</line>
|
||||
<offset>13</offset>
|
||||
<length>4</length>
|
||||
<description>Class has one instantiation, but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>1</line>
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Method has one usage but it is not reachable from entry points.</description>
|
||||
<description>Method has one usage, but the usage is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>Main.java</file>
|
||||
<line>1</line>
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<file>Test.java</file>
|
||||
<line>3</line>
|
||||
<entry_point TYPE="method" FQNAME="AbstractTest void testSmth()"/>
|
||||
<description>Method owner class is never instantiated OR An instantiation is not reachable from entry points.</description>
|
||||
<description>Method owner class is never instantiated OR All instantiations are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<problem>
|
||||
<file>Lambda.java</file>
|
||||
<line>6</line>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Lambda.java</file>
|
||||
@@ -95,12 +95,12 @@
|
||||
<problem>
|
||||
<file>AnonymousClass.java</file>
|
||||
<line>6</line>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>AnonymousClass.java</file>
|
||||
<line>9</line>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>AnonymousClass.java</file>
|
||||
@@ -110,12 +110,12 @@
|
||||
<problem>
|
||||
<file>AnonymousClass.java</file>
|
||||
<line>14</line>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>AnonymousClass.java</file>
|
||||
<line>19</line>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>AnonymousClass.java</file>
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
<file>A.java</file>
|
||||
<line>2</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method owner class is never instantiated OR An instantiation is not reachable from entry points.</description>
|
||||
<description>Method owner class is never instantiated OR All instantiations are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>A.java</file>
|
||||
<line>5</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method owner class is never instantiated OR An instantiation is not reachable from entry points.</description>
|
||||
<description>Method owner class is never instantiated OR All instantiations are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
<file>NonUtility.java</file>
|
||||
<line>2</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>NonUtility.java</file>
|
||||
<line>3</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<file>A.java</file>
|
||||
<line>3</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Class has one instantiation but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>A.java</file>
|
||||
@@ -16,7 +16,7 @@
|
||||
<file>A.java</file>
|
||||
<line>4</line>
|
||||
<package><default></package>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
</problems>
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
<line>1</line>
|
||||
<entry_point TYPE="class" FQNAME="A" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Class has one instantiation, but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -3,7 +3,7 @@ record A(int i) {
|
||||
System.out.println(new A(1));
|
||||
}
|
||||
}
|
||||
record R() {}
|
||||
record R(int i) {}
|
||||
public record MyRec(String name) {
|
||||
public MyRec {
|
||||
System.out.println("Constructing");
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
public class Singleton {
|
||||
private static Singleton ourInstance = new Singleton();
|
||||
|
||||
public Singleton getInstance() {
|
||||
public static Singleton getInstance() {
|
||||
return ourInstance;
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
<offset>2</offset>
|
||||
<length>1</length>
|
||||
<highlighted_element>B</highlighted_element>
|
||||
<description>All constructor usages belong to the calls chain that has no members reachable from entry points.</description>
|
||||
<description>All constructor usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<line>1</line>
|
||||
<offset>6</offset>
|
||||
<length>1</length>
|
||||
<description>Class has one instantiation, but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<file>A.java</file>
|
||||
<line>16</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>A.java</file>
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<line>1</line>
|
||||
<offset>22</offset>
|
||||
<length>1</length>
|
||||
<description>&nbsp;Abstract&nbsp;class has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Abstract&nbsp;class has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>B.java</file>
|
||||
<line>1</line>
|
||||
<offset>13</offset>
|
||||
<length>1</length>
|
||||
<description>Class has one instantiation, but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>1</line>
|
||||
<description>Class has 2 instantiations, but they are not reachable from entry points.</description>
|
||||
<description>Enum is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Enum constant is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Enum constant is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
<problem>
|
||||
<file>Example.java</file>
|
||||
<line>3</line>
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -12,8 +12,7 @@
|
||||
<file>TC.kt</file>
|
||||
<line>3</line>
|
||||
<entry_point TYPE="method" FQNAME="TC void fooBar(kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> edit)"/>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul>
|
||||
</description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
|
||||
@@ -4,21 +4,21 @@
|
||||
<file>B.kt</file>
|
||||
<line>1</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method has one usage but it is not reachable from entry points.</description>
|
||||
<description>Method has one usage, but the usage is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>C.kt</file>
|
||||
<line>1</line>
|
||||
<entry_point TYPE="class" FQNAME="C" />
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>C.kt</file>
|
||||
<line>6</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method has usage(s) but they all belong to calls chain that has no members reachable from entry points.</description>
|
||||
<description>Method has usages, but the usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -26,14 +26,14 @@
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="C void xxx()" />
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method has usage(s) but they all belong to calls chain that has no members reachable from entry points.</description>
|
||||
<description>Method has usages, but the usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>A.java</file>
|
||||
<line>1</line>
|
||||
<entry_point TYPE="class" FQNAME="A" />
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -41,7 +41,7 @@
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="A void xxx()" />
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method has one usage but it is not reachable from entry points.</description>
|
||||
<description>Method has one usage, but the usage is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<file>TC.kt</file>
|
||||
<line>1</line>
|
||||
<entry_point TYPE="method" FQNAME="Type Type(T default)"/>
|
||||
<description>All constructor usages belong to the calls chain that has no members reachable from entry points.</description>
|
||||
<description>All constructor usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<file>TC.kt</file>
|
||||
<line>5</line>
|
||||
<entry_point TYPE="field" FQNAME="TCKt nullability"/>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
|
||||
|
||||
@@ -20,21 +20,21 @@
|
||||
<file>TC.kt</file>
|
||||
<line>2</line>
|
||||
<entry_point TYPE="field" FQNAME="Type forEnumConstant"/>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>TC.kt</file>
|
||||
<line>10</line>
|
||||
<entry_point TYPE="class" FQNAME="Nullability" />
|
||||
<description>Class has 3 instantiations, but they are not reachable from entry points.</description>
|
||||
<description>Enum is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>TC.kt</file>
|
||||
<line>11</line>
|
||||
<entry_point TYPE="field" FQNAME="Nullability Nullable"/>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Enum constant is never used.</description>
|
||||
</problem>
|
||||
|
||||
<!-- wrong, to be removed later -->
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
<file>TC.kt</file>
|
||||
<line>1</line>
|
||||
<entry_point TYPE="method" FQNAME="TC java.lang.String name()" />
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -5,7 +5,7 @@
|
||||
<file>Test.kt</file>
|
||||
<line>7</line>
|
||||
<entry_point TYPE="class" FQNAME="Test.Companion" />
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<file>A.kt</file>
|
||||
<line>9</line>
|
||||
<entry_point TYPE="class" FQNAME="YYY.Companion" />
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -12,6 +12,6 @@
|
||||
<line>11</line>
|
||||
<highlighted_element>const val T = "T"</highlighted_element>
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -1,7 +1,7 @@
|
||||
public class Singleton {
|
||||
private static Singleton ourInstance = new Singleton();
|
||||
|
||||
public Singleton getInstance() {
|
||||
public static Singleton getInstance() {
|
||||
return ourInstance;
|
||||
}
|
||||
}
|
||||
@@ -4,25 +4,25 @@
|
||||
<file>Test.kt</file>
|
||||
<line>1</line>
|
||||
<entry_point TYPE="class" FQNAME="A" />
|
||||
<description>No class references has been found. Class static initializer is not reachable.</description>
|
||||
<description>Class is never used.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.kt</file>
|
||||
<line>2</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method has usage(s) but they all belong to calls chain that has no members reachable from entry points.</description>
|
||||
<description>Method has usages, but the usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.kt</file>
|
||||
<line>7</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method has one usage but it is not reachable from entry points.</description>
|
||||
<description>Method has one usage, but the usage is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.kt</file>
|
||||
<line>12</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Class has one instantiation, but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="Test java.lang.Runnable foo(int i)" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>4</line>
|
||||
<entry_point TYPE="field" FQNAME="Test$1 myInt" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
<description>Field is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="Test void foo(boolean b)" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>6</line>
|
||||
<entry_point TYPE="method" FQNAME="Test void foo(boolean b)" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -12,7 +12,7 @@
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="Test void foo(boolean b)" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="Test void foo(boolean b)" />
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.impl</package>
|
||||
<entry_point TYPE="method" FQNAME="my.impl.MyServiceImpl MyServiceImpl()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>All constructor usages belong to the calls chain that has no members reachable from entry points.</description>
|
||||
<description>All constructor usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.impl</package>
|
||||
<entry_point TYPE="class" FQNAME="my.impl.MyServiceImpl" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Class has one instantiation but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,7 +24,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -33,6 +33,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.ext</package>
|
||||
<entry_point TYPE="method" FQNAME="my.ext.MyServiceExt MyServiceExt()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>All constructor usages belong to the calls chain that has no members reachable from entry points.</description>
|
||||
<description>All constructor usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.ext</package>
|
||||
<entry_point TYPE="class" FQNAME="my.ext.MyServiceExt" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Class has one instantiation but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,7 +24,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -33,6 +33,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.ext</package>
|
||||
<entry_point TYPE="class" FQNAME="my.ext.MyServiceExt" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Class has one instantiation but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,6 +24,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.ext</package>
|
||||
<entry_point TYPE="method" FQNAME="my.ext.MyServiceExt my.api.MyService provider()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Method has one usage but it is not reachable from entry points.</description>
|
||||
<description>Method has one usage, but the usage is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,6 +24,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.impl</package>
|
||||
<entry_point TYPE="class" FQNAME="my.impl.MyServiceImpl" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Class has one instantiation but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,6 +24,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.impl</package>
|
||||
<entry_point TYPE="method" FQNAME="my.impl.MyServiceImpl my.api.MyService provider()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Method has one usage but it is not reachable from entry points.</description>
|
||||
<description>Method has one usage, but the usage is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,6 +24,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -6,7 +6,7 @@
|
||||
<package>my.impl</package>
|
||||
<entry_point TYPE="method" FQNAME="my.impl.MyServiceImpl MyServiceImpl(java.lang.Object... objects)" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>All constructor usages belong to the calls chain that has no members reachable from entry points.</description>
|
||||
<description>All constructor usages are not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -15,7 +15,7 @@
|
||||
<package>my.impl</package>
|
||||
<entry_point TYPE="class" FQNAME="my.impl.MyServiceImpl" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Class has one instantiation but it is not reachable from entry points.</description>
|
||||
<description>Class has one instantiation, but the instantiation is not reachable from the entry points.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -24,7 +24,7 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="method" FQNAME="my.api.MyService void foo()" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul></description>
|
||||
<description><ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -33,6 +33,6 @@
|
||||
<package>my.api</package>
|
||||
<entry_point TYPE="class" FQNAME="my.api.MyService" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>&nbsp;Interface has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul></description>
|
||||
<description>Interface has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul></description>
|
||||
</problem>
|
||||
</problems>
|
||||
Reference in New Issue
Block a user