Update "Unused declaration" messages for increased clarity

GitOrigin-RevId: 8bb4dd31d51f3cc4fb63c36579bd3078f6f622f7
This commit is contained in:
Bas Leijdekkers
2024-06-19 14:30:39 +02:00
committed by intellij-monorepo-bot
parent 7c5866059d
commit d1f0e0880a
41 changed files with 180 additions and 150 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInspection;
import com.intellij.analysis.AnalysisBundle;
@@ -8,6 +8,7 @@ import com.intellij.codeInspection.reference.RefMethod;
import com.intellij.lang.Language;
import com.intellij.lang.java.JavaLanguage;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.text.Strings;
import com.intellij.uast.UastMetaLanguage;
import org.jetbrains.annotations.NotNull;
@@ -19,15 +20,26 @@ public abstract class HTMLJavaHTMLComposer implements HTMLComposerExtension<HTML
public abstract void appendClassOrInterface(@NotNull StringBuilder buf, @NotNull RefClass refClass, boolean capitalizeFirstLetter);
public static String getClassOrInterface(@NotNull RefClass refClass, boolean capitalizeFirstLetter) {
if (refClass.isInterface()) {
return capitalizeFirstLetter ? AnalysisBundle.message("inspection.export.results.capitalized.interface") : AnalysisBundle.message("inspection.export.results.interface");
String message;
if (refClass.isAnnotationType()) {
message = AnalysisBundle.message("inspection.export.results.annotation.type");
}
else if (refClass.isInterface()) {
message = AnalysisBundle.message("inspection.export.results.interface");
}
else if (refClass.isAbstract()) {
return capitalizeFirstLetter ? AnalysisBundle.message("inspection.export.results.capitalized.abstract.class") : AnalysisBundle.message("inspection.export.results.abstract.class");
message = AnalysisBundle.message("inspection.export.results.abstract.class");
}
else if (refClass.isEnum()) {
message = AnalysisBundle.message("inspection.export.results.enum.class");
}
else if (refClass.isRecord()) {
message = AnalysisBundle.message("inspection.export.results.record.class");
}
else {
return capitalizeFirstLetter ? AnalysisBundle.message("inspection.export.results.capitalized.class") : AnalysisBundle.message("inspection.export.results.class");
message = AnalysisBundle.message("inspection.export.results.class");
}
return capitalizeFirstLetter ? Strings.capitalize(message) : message;
}
public abstract void appendClassExtendsImplements(@NotNull StringBuilder buf, @NotNull RefClass refClass);

View File

@@ -87,7 +87,9 @@ public class DeadHTMLComposer extends HTMLComposerImpl {
if (!field.isUsedForReading() && field.isUsedForWriting()) {
if (field.isOnlyAssignedInInitializer()) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis1"));
buf.append(field.isEnumConstant()
? AnalysisBundle.message("inspection.dead.code.problem.synopsis.enum.constant")
: AnalysisBundle.message("inspection.dead.code.problem.synopsis1"));
return;
}
@@ -106,37 +108,50 @@ public class DeadHTMLComposer extends HTMLComposerImpl {
}
@Override public void visitClass(@NotNull RefClass refClass) {
String classOrInterface = HTMLJavaHTMLComposer.getClassOrInterface(refClass, true);
if (refClass.isAnonymous()) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis10"));
} else if (refClass.isInterface() || refClass.isAbstract()) {
String classOrInterface = HTMLJavaHTMLComposer.getClassOrInterface(refClass, true);
buf.append("&nbsp;");
} else if (refClass.isAnnotationType()) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis11", classOrInterface));
}
else if (refClass.isEnum()) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis11", classOrInterface));
}
else {
if (refClass.isInterface() || refClass.isAbstract()) {
int nDerived = getImplementationsCount(refClass);
int nDerived = getImplementationsCount(refClass);
if (nDerived == 0) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis23", classOrInterface));
} else if (nDerived == 1) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis24", classOrInterface));
} else {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis25", classOrInterface, nDerived));
}
} else if (refClass.isUtilityClass()) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis11"));
} else {
int nInstantiationsCount = getInstantiationsCount(refClass);
if (nInstantiationsCount == 0) {
int nImplementations = getImplementationsCount(refClass);
if (nImplementations != 0) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis19", nImplementations));
} else {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis13"));
if (nDerived == 0) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis23", classOrInterface));
}
else if (nDerived == 1) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis24", classOrInterface));
}
else {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis25", classOrInterface, nDerived));
}
}
else if (refClass.isUtilityClass()) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis11", classOrInterface));
}
else {
int nInstantiationsCount = getInstantiationsCount(refClass);
if (nInstantiationsCount == 0) {
int nImplementations = getImplementationsCount(refClass);
if (nImplementations != 0) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis19", nImplementations));
}
else {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis13", classOrInterface));
}
}
else if (nInstantiationsCount == 1) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis12", classOrInterface));
}
else {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis20", nInstantiationsCount, classOrInterface));
}
} else if (nInstantiationsCount == 1) {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis12"));
} else {
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis20", nInstantiationsCount));
}
}
}

View File

@@ -222,8 +222,10 @@ public class HTMLJavaHTMLComposerImpl extends HTMLJavaHTMLComposer {
else if (refElement instanceof RefParameter) {
message = AnalysisBundle.message("inspection.export.results.parameter");
}
else if (refElement instanceof RefField) {
message = AnalysisBundle.message("inspection.export.results.field");
else if (refElement instanceof RefField field) {
message = field.isEnumConstant()
? AnalysisBundle.message("inspection.export.results.enum.constant")
: AnalysisBundle.message("inspection.export.results.field");
}
else if (refElement instanceof RefMethod method) {
message = AnalysisBundle.message(

View File

@@ -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>

View 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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>

View File

@@ -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>

View 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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
@@ -110,12 +110,12 @@
<problem>
<file>AnonymousClass.java</file>
<line>14</line>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>AnonymousClass.java</file>
<line>19</line>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>AnonymousClass.java</file>

View 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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>&lt;default&gt;</package>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>

View File

@@ -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");

View File

@@ -1,7 +1,7 @@
public class Singleton {
private static Singleton ourInstance = new Singleton();
public Singleton getInstance() {
public static Singleton getInstance() {
return ourInstance;
}
}

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -5,14 +5,14 @@
<line>1</line>
<offset>22</offset>
<length>1</length>
<description>&amp;nbsp;Abstract&amp;nbsp;class has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Abstract&amp;nbsp;class has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -12,8 +12,7 @@
<file>TC.kt</file>
<line>3</line>
<entry_point TYPE="method" FQNAME="TC void fooBar(kotlin.jvm.functions.Function1&lt;? super java.lang.String,kotlin.Unit&gt; edit)"/>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;
</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>

View File

@@ -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>

View File

@@ -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 -->

View File

@@ -11,6 +11,6 @@
<file>TC.kt</file>
<line>1</line>
<entry_point TYPE="method" FQNAME="TC java.lang.String name()" />
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>

View File

@@ -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 = &quot;T&quot;</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>

View File

@@ -1,7 +1,7 @@
public class Singleton {
private static Singleton ourInstance = new Singleton();
public Singleton getInstance() {
public static Singleton getInstance() {
return ourInstance;
}
}

View File

@@ -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>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View 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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
<problem>
<file>Test.java</file>

View 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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -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>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;An instantiation is not reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>&lt;ul&gt;&lt;li&gt;Method owner class is never instantiated OR&lt;/li&gt;&lt;li&gt;All instantiations are not reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</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>&amp;nbsp;Interface has an implementation but &lt;ul&gt;&lt;li&gt;it is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from entry points.&lt;/li&gt;&lt;/ul&gt;</description>
<description>Interface has an implementation but &lt;ul&gt;&lt;li&gt;the implementation is never instantiated OR&lt;/li&gt;&lt;li&gt;no instantiations are reachable from the entry points.&lt;/li&gt;&lt;/ul&gt;</description>
</problem>
</problems>

View File

@@ -23,42 +23,43 @@ inspection.dead.code.entry.points.display.name=Entry Points
inspection.dead.code.export.results.instantiated.from.heading=Instantiated from
inspection.dead.code.export.results.no.instantiations.found=No instantiations found.
inspection.dead.code.problem.synopsis=Field is never assigned.
inspection.dead.code.problem.synopsis1=Field has no usages.
inspection.dead.code.problem.synopsis10=Anonymous class declaration context is not reachable from entry points. Class is never instantiated.
inspection.dead.code.problem.synopsis11=No class references has been found. Class static initializer is not reachable.
inspection.dead.code.problem.synopsis12=Class has one instantiation, but it is not reachable from entry points.
inspection.dead.code.problem.synopsis13=Class is not instantiated.
inspection.dead.code.problem.synopsis14=<ul><li>Abstract method is not implemented OR</li><li>Implementation class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul>
inspection.dead.code.problem.synopsis15=<ul><li>Method owner class is never instantiated OR</li><li>An instantiation is not reachable from entry points.</li></ul>
inspection.dead.code.problem.synopsis1=Field is never used.
inspection.dead.code.problem.synopsis.enum.constant=Enum constant is never used.
inspection.dead.code.problem.synopsis10=Anonymous class declaration context is not reachable from the entry points. Class is never instantiated.
inspection.dead.code.problem.synopsis11={0} is never used.
inspection.dead.code.problem.synopsis12={0} has one instantiation, but the instantiation is not reachable from the entry points.
inspection.dead.code.problem.synopsis13={0} is not instantiated.
inspection.dead.code.problem.synopsis14=<ul><li>Abstract method is not implemented OR</li><li>Implementation class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul>
inspection.dead.code.problem.synopsis15=<ul><li>Method owner class is never instantiated OR</li><li>All instantiations are not reachable from the entry points.</li></ul>
inspection.dead.code.problem.synopsis16=Method is never used.
inspection.dead.code.problem.synopsis17=Method has usage(s), but they all belong to the calls chain that has no members reachable from entry points.
inspection.dead.code.problem.synopsis18=Method is not reachable from entry points.
inspection.dead.code.problem.synopsis17=Method has usages, but the usages are not reachable from the entry points.
inspection.dead.code.problem.synopsis18=Method is not reachable from the entry points.
inspection.dead.code.problem.synopsis19=Class and {0, choice, 1#its implementation|2#{0,number} its implementations} are never instantiated.
inspection.dead.code.problem.synopsis2=Field is assigned but never accessed.
inspection.dead.code.problem.synopsis20=Class has {0, choice, 1#instantiation|2#{0,number} instantiations}, but they are not reachable from entry points.
inspection.dead.code.problem.synopsis20={1} has {0, choice, 1#instantiation|2#{0,number} instantiations}, but the instantiations are not reachable from the entry points.
inspection.dead.code.problem.synopsis21=Method is never used as a member of this {0}, but only as a member of the implementation class(es). The project will stay compilable if the method is removed from the {0}.
inspection.dead.code.problem.synopsis22=Method overrides a library method but<ul><li>its {0} is never instantiated OR</li><li>its {0} instantiation is not reachable from entry points.</li></ul>
inspection.dead.code.problem.synopsis22=Method overrides a library method but<ul><li>its {0} is never instantiated OR</li><li>its {0} instantiations are not reachable from the entry points.</li></ul>
inspection.dead.code.problem.synopsis23={0} is not implemented.
inspection.dead.code.problem.synopsis24={0} has an implementation but <ul><li>it is never instantiated OR</li><li>no instantiations are reachable from entry points.</li></ul>
inspection.dead.code.problem.synopsis25={0} has {1, choice, 1#direct or indirect implementation|2#{1,number} direct or indirect implementations} but <ul><li>\u2014they are never instantiated OR</li><li>\u2014no instantiations are reachable from entry points.</li></ul>
inspection.dead.code.problem.synopsis24={0} has an implementation but <ul><li>the implementation is never instantiated OR</li><li>no instantiations are reachable from the entry points.</li></ul>
inspection.dead.code.problem.synopsis25={0} has {1, choice, 1#direct or indirect implementation|2#{1,number} direct or indirect implementations} but <ul><li>\u2014they are never instantiated OR</li><li>\u2014no instantiations are reachable from the entry points.</li></ul>
inspection.dead.code.problem.synopsis26.constructor=Constructor is never used.
inspection.dead.code.problem.synopsis26.method=Method is never used.
inspection.dead.code.problem.synopsis27.constructor=All constructor usages belong to the calls chain that has no members reachable from entry points.
inspection.dead.code.problem.synopsis27.method=All method usages belong to the calls chain that has no members reachable from entry points.
inspection.dead.code.problem.synopsis28.constructor=Constructor has one usage, but it is not reachable from entry points.
inspection.dead.code.problem.synopsis28.method=Method has one usage, but it is not reachable from entry points.
inspection.dead.code.problem.synopsis29.constructor=Constructor has {0, choice, 1#usage|2#{0,number} usages}, but they are not reachable from entry points.
inspection.dead.code.problem.synopsis29.method=Method has {0, choice, 1#usage|2#{0,number} usages}, but they are not reachable from entry points.
inspection.dead.code.problem.synopsis3=Field has one usage, but it is not reachable from entry points.
inspection.dead.code.problem.synopsis4=Field has {0, choice, 1#1 usage|2#{0,number} usages}, but they are not reachable from entry points.
inspection.dead.code.problem.synopsis6=Reachable. {0, choice, 1#1 usage|2#{0, number} usages} found in the project code.
inspection.dead.code.problem.synopsis6.suspicious=Not Reachable. {0, choice, 1#1 usage|2#{0, number} usages} found in the project code.
inspection.dead.code.problem.synopsis7=Has reachable instantiations. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in the project code.
inspection.dead.code.problem.synopsis7.suspicious=Has no reachable instantiations. {0, choice, 0#No instantiations|1#1 instantiation|2#{0, number} instantiations} found in the project code.
inspection.dead.code.problem.synopsis8=Has reachable implementation instantiations. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in the project code.
inspection.dead.code.problem.synopsis8.suspicious=Has no reachable implementation instantiations. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in the project code.
inspection.dead.code.problem.synopsis9=Instantiated {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in the project code.
inspection.dead.code.problem.synopsis9.suspicious=Anonymous class context is not reachable. Class is not instantiated. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in the project code.
inspection.dead.code.problem.synopsis27.constructor=All constructor usages are not reachable from the entry points.
inspection.dead.code.problem.synopsis27.method=All method usages are not reachable from the entry points.
inspection.dead.code.problem.synopsis28.constructor=Constructor has one usage, but the usage is not reachable from the entry points.
inspection.dead.code.problem.synopsis28.method=Method has one usage, but the usage is not reachable from the entry points.
inspection.dead.code.problem.synopsis29.constructor=Constructor has {0, choice, 1#usage|2#{0,number} usages}, but the usages are not reachable from the entry points.
inspection.dead.code.problem.synopsis29.method=Method has {0, choice, 1#usage|2#{0,number} usages}, but the usages are not reachable from the entry points.
inspection.dead.code.problem.synopsis3=Field has one usage, but the usage is not reachable from the entry points.
inspection.dead.code.problem.synopsis4=Field has {0, choice, 1#1 usage|2#{0,number} usages}, but the usages are not reachable from the entry points.
inspection.dead.code.problem.synopsis6=Reachable. {0, choice, 1#1 usage|2#{0, number} usages} found in project code.
inspection.dead.code.problem.synopsis6.suspicious=Not Reachable. {0, choice, 1#1 usage|2#{0, number} usages} found in project code.
inspection.dead.code.problem.synopsis7=Has reachable instantiations. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in project code.
inspection.dead.code.problem.synopsis7.suspicious=Has no reachable instantiations. {0, choice, 0#No instantiations|1#1 instantiation|2#{0, number} instantiations} found in project code.
inspection.dead.code.problem.synopsis8=Has reachable implementation instantiations. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in project code.
inspection.dead.code.problem.synopsis8.suspicious=Has no reachable implementation instantiations. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in project code.
inspection.dead.code.problem.synopsis9=Instantiated. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in project code.
inspection.dead.code.problem.synopsis9.suspicious=Anonymous class context is not reachable. Class is not instantiated. {0, choice, 1#1 instantiation|2#{0, number} instantiations} found in project code.
inspection.dead.code.remove.user.defined.entry.point.quickfix=Remove User-defined Entry Points
inspection.dead.code.safe.delete.quickfix=Safe delete
inspection.dead.code.commented.hint=Commented out
@@ -90,6 +91,7 @@ inspection.export.results.extended=Extended by
inspection.export.results.extended.implemented=Extended/implemented by
inspection.export.results.extends.implements=Extends/implements
inspection.export.results.field=field
inspection.export.results.enum.constant=enum constant
inspection.export.results.lambda.expression=lambda expression
inspection.export.results.method.reference=method reference
inspection.export.results.parameter=parameter