|
|
@ -1,53 +1,108 @@
|
|
|
|
<component name="InspectionProjectProfileManager">
|
|
|
|
<component name="InspectionProjectProfileManager">
|
|
|
|
|
|
|
|
<!-- “component”元素在此处作为一个整体的配置组件容器,其“name”属性值为“InspectionProjectProfileManager”,推测它在特定的开发环境(可能是某种集成开发工具中与代码检查、项目配置管理相关的模块)里用于管理项目相关的检查配置文件(Inspection Project Profile),起到组织和协调各种检查工具相关设置的作用 -->
|
|
|
|
<profile version="1.0">
|
|
|
|
<profile version="1.0">
|
|
|
|
|
|
|
|
<!-- “profile”元素代表一个具体的配置文件版本或者配置项集合,这里版本号为“1.0”,说明其对应的配置内容遵循这个特定版本的规范,内部包含了一系列具体的检查工具相关的配置信息 -->
|
|
|
|
<option name="myName" value="Project Default" />
|
|
|
|
<option name="myName" value="Project Default" />
|
|
|
|
|
|
|
|
<!-- “option”元素,通过“name”和“value”属性来设置一个通用的选项,这里将名为“myName”的选项值设定为“Project Default”,具体含义可能因使用该配置的环境不同而有所差异,也许是用于标识这个配置文件是项目默认的配置之类的用途 -->
|
|
|
|
<inspection_tool class="AbstractBeanReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="AbstractBeanReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- “inspection_tool”元素用于配置一个具体的代码检查工具相关设置。
|
|
|
|
|
|
|
|
- “class”属性指定了该检查工具对应的具体类名,此处是“AbstractBeanReferencesInspection”,意味着它是一个用于检查抽象 bean 引用相关问题的工具(具体功能需结合对应开发环境中该类的实现来确定)。
|
|
|
|
|
|
|
|
- “enabled”属性设置为“true”,表示该检查工具处于启用状态,会在相应的代码检查流程中发挥作用。
|
|
|
|
|
|
|
|
- “level”属性值为“WARNING”,说明当该检查工具发现问题时,会以警告级别的提示来反馈给开发人员,用于提醒开发人员关注相关代码问题。
|
|
|
|
|
|
|
|
- “enabled_by_default”属性为“true”,表示该工具在默认情况下就是启用的,无需额外手动开启,在创建项目或者应用这个配置文件时就会自动生效 -->
|
|
|
|
<inspection_tool class="ContextComponentScanInconsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="ContextComponentScanInconsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 与上面类似,这也是一个“inspection_tool”元素,用于配置名为“ContextComponentScanInconsistencyInspection”的检查工具相关设置,用于检查上下文组件扫描不一致性相关的代码问题,同样处于启用状态,以警告级别提示问题,默认也是启用的 -->
|
|
|
|
<inspection_tool class="ContextJavaBeanUnresolvedMethodsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="ContextJavaBeanUnresolvedMethodsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置名为“ContextJavaBeanUnresolvedMethodsInspection”的检查工具,用于检查上下文 JavaBean 中未解决方法相关的代码情况,启用状态、警告级别提示以及默认启用 -->
|
|
|
|
<inspection_tool class="DuplicatedBeanNamesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="DuplicatedBeanNamesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查重复 bean 名称相关问题的检查工具,相关属性设置同样是启用、警告级别提示、默认启用 -->
|
|
|
|
<inspection_tool class="FlowRequiredBeanTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="FlowRequiredBeanTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置“FlowRequiredBeanTypeInspection”检查工具,用于检查流相关的所需 bean 类型方面的代码问题,具备常规的启用等属性设置 -->
|
|
|
|
<inspection_tool class="InjectionValueTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="InjectionValueTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查注入值类型相关问题的检查工具,启用且以警告级别反馈问题、默认启用 -->
|
|
|
|
<inspection_tool class="JdkProxiedBeanTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="JdkProxiedBeanTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 JDK 代理 bean 类型相关问题的工具,其启用、提示级别以及默认启用等设置如前文所述 -->
|
|
|
|
<inspection_tool class="KotlinSpringComponentScan" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="KotlinSpringComponentScan" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Kotlin 语言中 Spring 组件扫描相关问题的检查工具,各属性设置符合常规启用并以警告提示、默认启用的模式 -->
|
|
|
|
<inspection_tool class="RequiredBeanTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="RequiredBeanTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查所需 bean 类型相关代码问题的检查工具,相关属性保持启用等常规设置 -->
|
|
|
|
<inspection_tool class="SpringAopErrorsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringAopErrorsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring AOP 相关错误的检查工具,启用并以警告级别提示发现的问题,默认启用 -->
|
|
|
|
<inspection_tool class="SpringBatchModel" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBatchModel" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring Batch 模型相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringBeanAutowiringInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBeanAutowiringInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring bean 自动装配相关问题的检查工具,同样处于启用状态、以警告提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringBeanConstructorArgInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBeanConstructorArgInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring bean 构造函数参数相关问题的检查工具,具备常规的启用等属性设置 -->
|
|
|
|
<inspection_tool class="SpringBeanDepedencyCheckInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBeanDepedencyCheckInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring bean 依赖检查相关问题的检查工具,相关属性保持启用等常规设置 -->
|
|
|
|
<inspection_tool class="SpringBeanInstantiationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBeanInstantiationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring bean 实例化相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringBeanLookupMethodInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBeanLookupMethodInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring bean 查找方法相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringBootAdditionalConfig" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringBootAdditionalConfig" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring Boot 额外配置相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringCacheableComponentsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringCacheableComponentsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 可缓存组件相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringComponentScan" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringComponentScan" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring 组件扫描相关问题的检查工具,启用且以警告提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringContextConfigurationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringContextConfigurationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 上下文配置相关问题的检查工具,相关属性保持启用等常规设置 -->
|
|
|
|
<inspection_tool class="SpringFacetProgrammaticInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringFacetProgrammaticInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring 方面(Facet,可能涉及 Spring 不同功能模块或特性相关概念)编程相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringFactoryMethodInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringFactoryMethodInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 工厂方法相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringHandlersSchemasHighlighting" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringHandlersSchemasHighlighting" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 处理器模式(Handlers Schemas)高亮显示相关问题的检查工具,启用且以警告提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringIncorrectResourceTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringIncorrectResourceTypeInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring 不正确资源类型相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringInjectionValueConsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringInjectionValueConsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 注入值一致性相关问题的检查工具,相关属性保持启用等常规设置 -->
|
|
|
|
<inspection_tool class="SpringIntegrationModel" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringIntegrationModel" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring 集成模型相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringJavaAutowiringInspection" enabled="true" level="INFORMATION" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringJavaAutowiringInspection" enabled="true" level="INFORMATION" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring Java 自动装配相关问题的检查工具,不过这里“level”属性值为“INFORMATION”,表示当发现相关问题时,会以信息级别的提示反馈给开发人员,相较于“WARNING”级别,重要性稍低一些,同样默认启用 -->
|
|
|
|
<inspection_tool class="SpringJavaConfigInconsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringJavaConfigInconsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring Java 配置不一致性相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringKotlinAutowiring" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringKotlinAutowiring" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring 与 Kotlin 自动装配相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringLookupInjectionInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringLookupInjectionInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 查找注入相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringMVCInitBinder" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringMVCInitBinder" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring MVC 初始化绑定器(InitBinder)相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringMessageDispatcherWebXmlInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringMessageDispatcherWebXmlInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring 消息分发器(Message Dispatcher)在 web.xml 相关配置方面问题的检查工具,启用且以警告提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 模型相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringOsgiElementsInconsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringOsgiElementsInconsistencyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring OSGi 元素不一致性相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringOsgiListenerInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringOsgiListenerInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring OSGi 监听器相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringOsgiServiceCommonInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringOsgiServiceCommonInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring OSGi 服务通用相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringRequiredAnnotationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringRequiredAnnotationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 所需注解相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringRequiredPropertyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringRequiredPropertyInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring 所需属性相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringScopesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringScopesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring 作用域(Scopes)相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringSecurityAnnotationBeanPointersResolveInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringSecurityAnnotationBeanPointersResolveInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring Security 注解中 bean 指针解析相关问题的检查工具,启用且以警告提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringSecurityModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringSecurityModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring Security 模型相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringTransactionalComponentInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringTransactionalComponentInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置检查 Spring 事务组件相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="SpringWebServicesConfigurationsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringWebServicesConfigurationsInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Spring Web 服务配置相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="SpringWebSocketConfigurationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="SpringWebSocketConfigurationInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Spring WebSocket 配置相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="UtilSchemaInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="UtilSchemaInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查工具(Util)模式(Schema)相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="WebflowConfigModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="WebflowConfigModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置针对 Webflow 配置模型相关问题的检查工具,各属性配置符合整体启用且以警告反馈、默认启用的情况 -->
|
|
|
|
<inspection_tool class="WebflowModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="WebflowModelInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Webflow 模型相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
<inspection_tool class="WebflowSetupInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
<inspection_tool class="WebflowSetupInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
|
|
|
|
|
|
<!-- 配置用于检查 Webflow 设置相关问题的检查工具,启用并以警告级别提示问题、默认启用 -->
|
|
|
|
</profile>
|
|
|
|
</profile>
|
|
|
|
</component>
|
|
|
|
</component>
|