From 6c7f1565b582b5ba92a8f355fb40ae1bfde7d9c5 Mon Sep 17 00:00:00 2001 From: Daniel Espendiller Date: Sun, 28 Apr 2024 12:46:32 +0200 Subject: [PATCH] provide inspection language attributes for deprecated class and controller method inspections --- .../ServiceDeprecatedClassesInspection.java | 239 ++++++++++-------- .../ControllerMethodInspection.java | 120 +++++---- src/main/resources/META-INF/plugin.xml | 42 ++- .../ControllerMethodXml.html | 5 + .../ControllerMethodYaml.html | 5 + .../DeprecatedClassesXml.html | 5 + .../DeprecatedClassesYaml.html | 5 + ...ServiceDeprecatedClassesInspectionXml.html | 5 + .../YamlDeprecatedClasses.html | 6 - 9 files changed, 256 insertions(+), 176 deletions(-) create mode 100644 src/main/resources/inspectionDescriptions/ControllerMethodXml.html create mode 100644 src/main/resources/inspectionDescriptions/ControllerMethodYaml.html create mode 100644 src/main/resources/inspectionDescriptions/DeprecatedClassesXml.html create mode 100644 src/main/resources/inspectionDescriptions/DeprecatedClassesYaml.html create mode 100644 src/main/resources/inspectionDescriptions/ServiceDeprecatedClassesInspectionXml.html delete mode 100644 src/main/resources/inspectionDescriptions/YamlDeprecatedClasses.html diff --git a/src/main/java/fr/adrienbrault/idea/symfony2plugin/codeInspection/service/ServiceDeprecatedClassesInspection.java b/src/main/java/fr/adrienbrault/idea/symfony2plugin/codeInspection/service/ServiceDeprecatedClassesInspection.java index 63cf823f4..67669d3e5 100644 --- a/src/main/java/fr/adrienbrault/idea/symfony2plugin/codeInspection/service/ServiceDeprecatedClassesInspection.java +++ b/src/main/java/fr/adrienbrault/idea/symfony2plugin/codeInspection/service/ServiceDeprecatedClassesInspection.java @@ -3,12 +3,9 @@ import com.intellij.codeInspection.LocalInspectionTool; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.codeInspection.ProblemsHolder; -import com.intellij.lang.Language; -import com.intellij.lang.xml.XMLLanguage; import com.intellij.openapi.util.NotNullLazyValue; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; -import com.jetbrains.php.lang.PhpLanguage; import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocComment; import com.jetbrains.php.lang.psi.elements.MethodReference; import com.jetbrains.php.lang.psi.elements.PhpClass; @@ -25,7 +22,6 @@ import fr.adrienbrault.idea.symfony2plugin.util.dict.ServiceUtil; import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull; -import org.jetbrains.yaml.YAMLLanguage; import org.jetbrains.yaml.YAMLTokenTypes; import java.util.Map; @@ -33,137 +29,176 @@ /** * @author Daniel Espendiller */ -public class ServiceDeprecatedClassesInspection extends LocalInspectionTool { +public class ServiceDeprecatedClassesInspection { + public static class ServiceDeprecatedClassesInspectionYaml extends LocalInspectionTool { + public @NotNull PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { + if (!Symfony2ProjectComponent.isEnabled(holder.getProject())) { + return super.buildVisitor(holder, isOnTheFly); + } + + return new PsiElementVisitor() { + private NotNullLazyValue serviceCollector; - @NotNull - @Override - public PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { - if(!Symfony2ProjectComponent.isEnabled(holder.getProject())) { - return super.buildVisitor(holder, isOnTheFly); + @Override + public void visitElement(@NotNull PsiElement element) { + visitYamlElement(element, holder); + super.visitElement(element); + } + + private void visitYamlElement(@NotNull PsiElement element, @NotNull ProblemsHolder holder) { + if (YamlElementPatternHelper.getSingleLineScalarKey("class").accepts(element)) { + // class: '\Foo' + String text = PsiElementUtils.trimQuote(element.getText()); + if (StringUtils.isNotBlank(text)) { + ProblemRegistrar.attachDeprecatedProblem(element, text, holder, createLazyServiceCollector()); + } + } else if (element.getNode().getElementType() == YAMLTokenTypes.TEXT) { + // @service + String text = element.getText(); + if (StringUtils.isNotBlank(text) && text.startsWith("@")) { + ProblemRegistrar.attachDeprecatedProblem(element, text.substring(1), holder, createLazyServiceCollector()); + ProblemRegistrar.attachServiceDeprecatedProblem(element, text.substring(1), holder, createLazyServiceCollector()); + } + } + } + + private NotNullLazyValue createLazyServiceCollector() { + if (this.serviceCollector == null) { + this.serviceCollector = NotNullLazyValue.lazy(() -> new ContainerCollectionResolver.LazyServiceCollector(holder.getProject())); + } + + return this.serviceCollector; + } + }; } - return new MyPsiElementVisitor(holder); } - private static class ProblemRegistrar { - public static void attachDeprecatedProblem(@NotNull PsiElement element, @NotNull String text, @NotNull ProblemsHolder holder, @NotNull NotNullLazyValue lazyServiceCollector) { - PhpClass phpClass = ServiceUtil.getResolvedClassDefinition(element.getProject(), text, lazyServiceCollector.get()); - if(phpClass == null) { - return; + public static class ServiceDeprecatedClassesInspectionXml extends LocalInspectionTool { + public @NotNull PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { + if (!Symfony2ProjectComponent.isEnabled(holder.getProject())) { + return super.buildVisitor(holder, isOnTheFly); } - PhpDocComment docComment = phpClass.getDocComment(); - if(docComment != null && docComment.getTagElementsByName("@deprecated").length > 0) { - holder.registerProblem(element, String.format("Class '%s' is deprecated", phpClass.getName()), ProblemHighlightType.LIKE_DEPRECATED); - } - } + return new PsiElementVisitor() { + private NotNullLazyValue serviceCollector; - public static void attachServiceDeprecatedProblem(@NotNull PsiElement element, @NotNull String serviceName, @NotNull ProblemsHolder holder, @NotNull NotNullLazyValue lazyServiceCollector) { - Map services = lazyServiceCollector.get().getCollector().getServices(); - if(!services.containsKey(serviceName)) { - return; - } + @Override + public void visitElement(@NotNull PsiElement element) { + visitXmlElement(element, holder); + super.visitElement(element); + } - ServiceInterface serviceDef = services.get(serviceName).getService(); - if(serviceDef == null || !serviceDef.isDeprecated()) { - return; - } - holder.registerProblem(element, String.format("Service '%s' is deprecated", serviceName), ProblemHighlightType.LIKE_DEPRECATED); - } - } + private void visitXmlElement(@NotNull PsiElement element, @NotNull ProblemsHolder holder) { + boolean serviceArgumentAccepted = XmlHelper.getArgumentServiceIdPattern().accepts(element); - private void visitXmlElement(@NotNull PsiElement element, @NotNull ProblemsHolder holder, @NotNull NotNullLazyValue lazyServiceCollector) { - boolean serviceArgumentAccepted = XmlHelper.getArgumentServiceIdPattern().accepts(element); + if (serviceArgumentAccepted || XmlHelper.getServiceClassAttributeWithIdPattern().accepts(element)) { + String text = PsiElementUtils.trimQuote(element.getText()); + PsiElement[] psiElements = element.getChildren(); - if(serviceArgumentAccepted || XmlHelper.getServiceClassAttributeWithIdPattern().accepts(element)) { - String text = PsiElementUtils.trimQuote(element.getText()); - PsiElement[] psiElements = element.getChildren(); + // we need to attach to child because else strike out equal and quote char + if (StringUtils.isNotBlank(text) && psiElements.length > 2) { + ProblemRegistrar.attachDeprecatedProblem(psiElements[1], text, holder, createLazyServiceCollector()); + + // check service arguments for "deprecated" defs + if (serviceArgumentAccepted) { + ProblemRegistrar.attachServiceDeprecatedProblem(psiElements[1], text, holder, createLazyServiceCollector()); + } + } + } + } - // we need to attach to child because else strike out equal and quote char - if(StringUtils.isNotBlank(text) && psiElements.length > 2) { - ProblemRegistrar.attachDeprecatedProblem(psiElements[1], text, holder, lazyServiceCollector); + private NotNullLazyValue createLazyServiceCollector() { + if (this.serviceCollector == null) { + this.serviceCollector = NotNullLazyValue.lazy(() -> new ContainerCollectionResolver.LazyServiceCollector(holder.getProject())); + } - // check service arguments for "deprecated" defs - if(serviceArgumentAccepted) { - ProblemRegistrar.attachServiceDeprecatedProblem(psiElements[1], text, holder, lazyServiceCollector); + return this.serviceCollector; } - } + }; } } - private void visitYamlElement(@NotNull PsiElement element, @NotNull ProblemsHolder holder, NotNullLazyValue lazyServiceCollector) { - - if(YamlElementPatternHelper.getSingleLineScalarKey("class").accepts(element)) { - // class: '\Foo' - String text = PsiElementUtils.trimQuote(element.getText()); - if(StringUtils.isNotBlank(text)) { - ProblemRegistrar.attachDeprecatedProblem(element, text, holder, lazyServiceCollector); + public static class ServiceDeprecatedClassesInspectionPhp extends LocalInspectionTool { + public @NotNull PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { + if (!Symfony2ProjectComponent.isEnabled(holder.getProject())) { + return super.buildVisitor(holder, isOnTheFly); } - } else if(element.getNode().getElementType() == YAMLTokenTypes.TEXT) { - // @service - String text = element.getText(); - if(StringUtils.isNotBlank(text) && text.startsWith("@")) { - ProblemRegistrar.attachDeprecatedProblem(element, text.substring(1), holder, lazyServiceCollector); - ProblemRegistrar.attachServiceDeprecatedProblem(element, text.substring(1), holder, lazyServiceCollector); - } - } - } - private void visitPhpElement(@NotNull StringLiteralExpression psiElement, @NotNull ProblemsHolder holder, NotNullLazyValue lazyServiceCollector) { - // #[Autowire(service: 'foobar')] - PsiElement leafText = PsiElementUtils.getTextLeafElementFromStringLiteralExpression(psiElement); + return new PsiElementVisitor() { + private NotNullLazyValue serviceCollector; - if (leafText != null && PhpElementsUtil.getAttributeNamedArgumentStringPattern(ServiceContainerUtil.AUTOWIRE_ATTRIBUTE_CLASS, "service").accepts(leafText)) { - String contents = psiElement.getContents(); - if(StringUtils.isNotBlank(contents)) { - ProblemRegistrar.attachDeprecatedProblem(psiElement, contents, holder, lazyServiceCollector); - ProblemRegistrar.attachServiceDeprecatedProblem(psiElement, contents, holder, lazyServiceCollector); - } + @Override + public void visitElement(@NotNull PsiElement element) { + if (element instanceof StringLiteralExpression stringLiteralExpression) { + visitPhpElement(stringLiteralExpression, holder); + } - return; - } + super.visitElement(element); + } - MethodReference methodReference = PsiElementUtils.getMethodReferenceWithFirstStringParameter(psiElement); - if (methodReference == null || !PhpElementsUtil.isMethodReferenceInstanceOf(methodReference, ServiceContainerUtil.SERVICE_GET_SIGNATURES)) { - return; - } + private void visitPhpElement(@NotNull StringLiteralExpression psiElement, @NotNull ProblemsHolder holder) { + // #[Autowire(service: 'foobar')] + PsiElement leafText = PsiElementUtils.getTextLeafElementFromStringLiteralExpression(psiElement); + + if (leafText != null && PhpElementsUtil.getAttributeNamedArgumentStringPattern(ServiceContainerUtil.AUTOWIRE_ATTRIBUTE_CLASS, "service").accepts(leafText)) { + String contents = psiElement.getContents(); + if (StringUtils.isNotBlank(contents)) { + ProblemRegistrar.attachDeprecatedProblem(psiElement, contents, holder, createLazyServiceCollector()); + ProblemRegistrar.attachServiceDeprecatedProblem(psiElement, contents, holder, createLazyServiceCollector()); + } + + return; + } + + MethodReference methodReference = PsiElementUtils.getMethodReferenceWithFirstStringParameter(psiElement); + if (methodReference == null || !PhpElementsUtil.isMethodReferenceInstanceOf(methodReference, ServiceContainerUtil.SERVICE_GET_SIGNATURES)) { + return; + } + + String contents = psiElement.getContents(); + if (StringUtils.isNotBlank(contents)) { + ProblemRegistrar.attachDeprecatedProblem(psiElement, contents, holder, createLazyServiceCollector()); + ProblemRegistrar.attachServiceDeprecatedProblem(psiElement, contents, holder, createLazyServiceCollector()); + } + } - String contents = psiElement.getContents(); - if(StringUtils.isNotBlank(contents)) { - ProblemRegistrar.attachDeprecatedProblem(psiElement, contents, holder, lazyServiceCollector); - ProblemRegistrar.attachServiceDeprecatedProblem(psiElement, contents, holder, lazyServiceCollector); + private NotNullLazyValue createLazyServiceCollector() { + if (this.serviceCollector == null) { + this.serviceCollector = NotNullLazyValue.lazy(() -> new ContainerCollectionResolver.LazyServiceCollector(holder.getProject())); + } + + return this.serviceCollector; + } + }; } } - private class MyPsiElementVisitor extends PsiElementVisitor { - private final ProblemsHolder holder; - private NotNullLazyValue serviceCollector; + private static class ProblemRegistrar { + public static void attachDeprecatedProblem(@NotNull PsiElement element, @NotNull String text, @NotNull ProblemsHolder holder, @NotNull NotNullLazyValue lazyServiceCollector) { + PhpClass phpClass = ServiceUtil.getResolvedClassDefinition(element.getProject(), text, lazyServiceCollector.get()); + if(phpClass == null) { + return; + } - public MyPsiElementVisitor(@NotNull ProblemsHolder holder) { - this.holder = holder; + PhpDocComment docComment = phpClass.getDocComment(); + if(docComment != null && docComment.getTagElementsByName("@deprecated").length > 0) { + holder.registerProblem(element, String.format("Class '%s' is deprecated", phpClass.getName()), ProblemHighlightType.LIKE_DEPRECATED); + } } - @Override - public void visitElement(@NotNull PsiElement element) { - Language language = element.getLanguage(); - - if (language == XMLLanguage.INSTANCE) { - visitXmlElement(element, holder, createLazyServiceCollector()); - } else if (language == YAMLLanguage.INSTANCE) { - visitYamlElement(element, holder, createLazyServiceCollector()); - } else if (language == PhpLanguage.INSTANCE) { - if (element instanceof StringLiteralExpression stringLiteralExpression) { - visitPhpElement(stringLiteralExpression, holder, createLazyServiceCollector()); - } + public static void attachServiceDeprecatedProblem(@NotNull PsiElement element, @NotNull String serviceName, @NotNull ProblemsHolder holder, @NotNull NotNullLazyValue lazyServiceCollector) { + Map services = lazyServiceCollector.get().getCollector().getServices(); + if(!services.containsKey(serviceName)) { + return; } - } - private NotNullLazyValue createLazyServiceCollector() { - if (this.serviceCollector == null) { - this.serviceCollector = NotNullLazyValue.lazy(() -> new ContainerCollectionResolver.LazyServiceCollector(holder.getProject())); + ServiceInterface serviceDef = services.get(serviceName).getService(); + if(serviceDef == null || !serviceDef.isDeprecated()) { + return; } - return this.serviceCollector; + holder.registerProblem(element, String.format("Service '%s' is deprecated", serviceName), ProblemHighlightType.LIKE_DEPRECATED); } } } diff --git a/src/main/java/fr/adrienbrault/idea/symfony2plugin/routing/inspection/ControllerMethodInspection.java b/src/main/java/fr/adrienbrault/idea/symfony2plugin/routing/inspection/ControllerMethodInspection.java index c5028304d..d1150b8b5 100644 --- a/src/main/java/fr/adrienbrault/idea/symfony2plugin/routing/inspection/ControllerMethodInspection.java +++ b/src/main/java/fr/adrienbrault/idea/symfony2plugin/routing/inspection/ControllerMethodInspection.java @@ -2,8 +2,6 @@ import com.intellij.codeInspection.LocalInspectionTool; import com.intellij.codeInspection.ProblemsHolder; -import com.intellij.lang.Language; -import com.intellij.lang.xml.XMLLanguage; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUtil; @@ -18,90 +16,90 @@ import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import org.jetbrains.yaml.YAMLLanguage; import org.jetbrains.yaml.psi.YAMLKeyValue; /** * @author Daniel Espendiller */ -public class ControllerMethodInspection extends LocalInspectionTool { - - @NotNull - @Override - public PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { - if(!Symfony2ProjectComponent.isEnabled(holder.getProject())) { - return super.buildVisitor(holder, isOnTheFly); - } +public class ControllerMethodInspection { + public static class ControllerMethodInspectionYaml extends LocalInspectionTool { + public @NotNull PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { + if (!Symfony2ProjectComponent.isEnabled(holder.getProject())) { + return super.buildVisitor(holder, isOnTheFly); + } - return new PsiElementVisitor() { - @Override - public void visitElement(@NotNull PsiElement element) { - Language language = element.getLanguage(); + return new PsiElementVisitor() { + @Override + public void visitElement(@NotNull PsiElement element) { + if (YamlElementPatternHelper.getSingleLineScalarKey("_controller", "controller").accepts(element)) { + String text = PsiElementUtils.trimQuote(element.getText()); + if (StringUtils.isNotBlank(text)) { + InspectionUtil.inspectController(element, text, holder, new YamlLazyRouteName(element)); + } + } - if (language == YAMLLanguage.INSTANCE) { - visitYamlElement(element, holder); - } else if(language == XMLLanguage.INSTANCE) { - visitXmlElement(element, holder); + super.visitElement(element); } - - super.visitElement(element); - } - }; - } - - private void visitYamlElement(@NotNull PsiElement element, @NotNull ProblemsHolder holder) { - if (YamlElementPatternHelper.getSingleLineScalarKey("_controller", "controller").accepts(element)) { - String text = PsiElementUtils.trimQuote(element.getText()); - if (StringUtils.isNotBlank(text)) { - InspectionUtil.inspectController(element, text, holder, new YamlLazyRouteName(element)); - } + }; } } - public void visitXmlElement(@NotNull PsiElement element, @NotNull ProblemsHolder holder) { - if(XmlHelper.getRouteControllerPattern().accepts(element)) { - String text = PsiElementUtils.trimQuote(element.getText()); - if(StringUtils.isNotBlank(text)) { - InspectionUtil.inspectController(element, text, holder, new XmlLazyRouteName(element)); + public static class ControllerMethodInspectionXml extends LocalInspectionTool { + public @NotNull PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, boolean isOnTheFly) { + if (!Symfony2ProjectComponent.isEnabled(holder.getProject())) { + return super.buildVisitor(holder, isOnTheFly); } + + return new PsiElementVisitor() { + @Override + public void visitElement(@NotNull PsiElement element) { + if(XmlHelper.getRouteControllerPattern().accepts(element)) { + String text = PsiElementUtils.trimQuote(element.getText()); + if(StringUtils.isNotBlank(text)) { + InspectionUtil.inspectController(element, text, holder, new XmlLazyRouteName(element)); + } + } + + super.visitElement(element); + } + }; } } private record YamlLazyRouteName(@NotNull PsiElement psiElement) implements InspectionUtil.LazyControllerNameResolve { @Nullable - @Override - public String getRouteName() { - YAMLKeyValue defaultKeyValue = PsiTreeUtil.getParentOfType(this.psiElement.getParent(), YAMLKeyValue.class); - if (defaultKeyValue == null) { - return null; - } - - YAMLKeyValue def = PsiTreeUtil.getParentOfType(defaultKeyValue, YAMLKeyValue.class); - if (def == null) { - return null; - } + @Override + public String getRouteName() { + YAMLKeyValue defaultKeyValue = PsiTreeUtil.getParentOfType(this.psiElement.getParent(), YAMLKeyValue.class); + if (defaultKeyValue == null) { + return null; + } - return YamlHelper.getYamlKeyName(def); + YAMLKeyValue def = PsiTreeUtil.getParentOfType(defaultKeyValue, YAMLKeyValue.class); + if (def == null) { + return null; } + + return YamlHelper.getYamlKeyName(def); } + } private record XmlLazyRouteName(@NotNull PsiElement psiElement) implements InspectionUtil.LazyControllerNameResolve { - @Nullable - @Override - public String getRouteName() { - XmlTag defaultTag = PsiTreeUtil.getParentOfType(this.psiElement, XmlTag.class); - if (defaultTag != null) { - XmlTag routeTag = PsiTreeUtil.getParentOfType(defaultTag, XmlTag.class); - if (routeTag != null) { - XmlAttribute id = routeTag.getAttribute("id"); - if (id != null) { - return id.getValue(); - } + @Override + public String getRouteName() { + XmlTag defaultTag = PsiTreeUtil.getParentOfType(this.psiElement, XmlTag.class); + if (defaultTag != null) { + XmlTag routeTag = PsiTreeUtil.getParentOfType(defaultTag, XmlTag.class); + if (routeTag != null) { + XmlAttribute id = routeTag.getAttribute("id"); + if (id != null) { + return id.getValue(); } } - - return null; } + + return null; } + } } diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index dd00170b6..ae3a27d2e 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -355,19 +355,47 @@ implementationClass="fr.adrienbrault.idea.symfony2plugin.config.xml.inspection.XmlDuplicateParameterKeyInspection"/> - + enabledByDefault="true" + level="WARNING" + language="yaml" + implementationClass="fr.adrienbrault.idea.symfony2plugin.routing.inspection.ControllerMethodInspection$ControllerMethodInspectionYaml"/> + + - + enabledByDefault="true" + level="WARNING" + language="yaml" + implementationClass="fr.adrienbrault.idea.symfony2plugin.codeInspection.service.ServiceDeprecatedClassesInspection$ServiceDeprecatedClassesInspectionYaml"/> + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/inspectionDescriptions/ControllerMethodYaml.html b/src/main/resources/inspectionDescriptions/ControllerMethodYaml.html new file mode 100644 index 000000000..c09576e0f --- /dev/null +++ b/src/main/resources/inspectionDescriptions/ControllerMethodYaml.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/inspectionDescriptions/DeprecatedClassesXml.html b/src/main/resources/inspectionDescriptions/DeprecatedClassesXml.html new file mode 100644 index 000000000..c09576e0f --- /dev/null +++ b/src/main/resources/inspectionDescriptions/DeprecatedClassesXml.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/inspectionDescriptions/DeprecatedClassesYaml.html b/src/main/resources/inspectionDescriptions/DeprecatedClassesYaml.html new file mode 100644 index 000000000..c09576e0f --- /dev/null +++ b/src/main/resources/inspectionDescriptions/DeprecatedClassesYaml.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/inspectionDescriptions/ServiceDeprecatedClassesInspectionXml.html b/src/main/resources/inspectionDescriptions/ServiceDeprecatedClassesInspectionXml.html new file mode 100644 index 000000000..c09576e0f --- /dev/null +++ b/src/main/resources/inspectionDescriptions/ServiceDeprecatedClassesInspectionXml.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/inspectionDescriptions/YamlDeprecatedClasses.html b/src/main/resources/inspectionDescriptions/YamlDeprecatedClasses.html deleted file mode 100644 index fa66ae887..000000000 --- a/src/main/resources/inspectionDescriptions/YamlDeprecatedClasses.html +++ /dev/null @@ -1,6 +0,0 @@ - - -Class is deprecated, you should replace this class - - - \ No newline at end of file