From d10dda0dd4a218003fc8b614e4a599150c362e92 Mon Sep 17 00:00:00 2001 From: Mykhailo Lytvyn Date: Thu, 2 Mar 2023 15:15:26 +0100 Subject: [PATCH] #257 | Improved performance of the Global Meta Model and TS LineMarker --- resources/META-INF/plugin-release-info.xml | 6 +- .../AbstractItemLineMarkerProvider.java | 98 ------------- ...AbstractTSAttributeLineMarkerProvider.java | 135 ------------------ .../AbstractTSAttributeLineMarkerProvider.kt | 83 +++++++++++ .../AbstractTSItemLineMarkerProvider.kt | 83 +++++++++++ .../daemon/BSEnumValueLineMarkerProvider.kt | 4 +- .../daemon/BSPropertyLineMarkerProvider.kt | 4 +- .../daemon/BSTypeLineMarkerProvider.kt | 4 +- .../TSAttributeFieldLineMarkerProvider.kt | 27 ++-- .../TSAttributeMethodLineMarkerProvider.kt | 18 +-- .../daemon/TSEnumValueLineMarkerProvider.kt | 4 +- .../TSInterceptorModelLineMarkerProvider.kt | 25 ++-- .../daemon/TSTypeLineMarkerProvider.java | 82 ----------- .../daemon/TSTypeLineMarkerProvider.kt | 58 ++++++++ ...bleMustExistForItemExtendingGenericItem.kt | 2 +- ...entTypeCodeMustBeGreaterThanTenThousand.kt | 2 +- .../TSDeploymentTypeCodeMustBeUnique.kt | 2 +- ...TypeCodeReservedForB2BCommerceExtension.kt | 2 +- ...mentTypeCodeReservedForCommonsExtension.kt | 2 +- ...ypeCodeReservedForLegacyXPrintExtension.kt | 2 +- ...oymentTypeCodeReservedForPrintExtension.kt | 2 +- ...tTypeCodeReservedForProcessingExtension.kt | 2 +- ...ustBeGreaterThanTenThousandForRelations.kt | 2 +- .../plugin/hybris/common/HybrisConstants.kt | 1 + .../TSAttributeHandlerGutterAnnotator.kt | 4 +- .../folding/ImpexMacroFoldingBuilder.java | 4 +- .../hybris/psi/reference/SpringReference.kt | 4 +- .../system/bean/meta/BSGlobalMetaModel.kt | 18 ++- .../system/bean/meta/BSMetaModelMerger.kt | 2 +- .../bean/meta/impl/BSMetaModelAccessImpl.kt | 34 +++-- .../bean/meta/impl/BSMetaModelMergerImpl.kt | 7 +- .../cockpitng/meta/CngGlobalMetaModel.kt | 27 +++- .../cockpitng/meta/CngMetaModelMerger.kt | 3 +- .../meta/impl/CngMetaModelAccessImpl.kt | 35 +++-- .../meta/impl/CngMetaModelMergerImpl.kt | 7 +- .../AttributeHandlerReferenceConverter.kt | 18 ++- .../system/type/meta/TSGlobalMetaModel.kt | 40 +++--- .../system/type/meta/TSMetaModelAccess.kt | 2 +- .../system/type/meta/TSMetaModelMerger.kt | 2 +- .../type/meta/impl/CaseInsensitive.java | 40 +++--- .../type/meta/impl/TSMetaModelAccessImpl.kt | 42 ++++-- .../type/meta/impl/TSMetaModelMergerImpl.kt | 6 +- .../type/psi/reference/PlainXmlReference.kt | 5 +- .../type/psi/reference/SpringReference.kt | 4 +- 44 files changed, 468 insertions(+), 486 deletions(-) delete mode 100644 src/com/intellij/idea/plugin/hybris/codeInsight/daemon/AbstractItemLineMarkerProvider.java delete mode 100644 src/com/intellij/idea/plugin/hybris/codeInsight/daemon/AbstractTSAttributeLineMarkerProvider.java create mode 100644 src/com/intellij/idea/plugin/hybris/codeInsight/daemon/AbstractTSAttributeLineMarkerProvider.kt create mode 100644 src/com/intellij/idea/plugin/hybris/codeInsight/daemon/AbstractTSItemLineMarkerProvider.kt delete mode 100644 src/com/intellij/idea/plugin/hybris/codeInsight/daemon/TSTypeLineMarkerProvider.java create mode 100644 src/com/intellij/idea/plugin/hybris/codeInsight/daemon/TSTypeLineMarkerProvider.kt diff --git a/resources/META-INF/plugin-release-info.xml b/resources/META-INF/plugin-release-info.xml index 9eba62291..b21187973 100644 --- a/resources/META-INF/plugin-release-info.xml +++ b/resources/META-INF/plugin-release-info.xml @@ -48,7 +48,7 @@
  • How to Configure Project Environment For Plugin Developers
  • We are working with Pull Requests. You need to fork this repository, implement a feature in a separate branch, then send us a pull request.
  • Be sure to include into your pull request and all commit messages the following line: "Signed-off-by: Your Real Name your.email@email.com" otherwise it can not be accepted. Use your real name.
  • -
  • For additional questions you can send an email
  • ยง +
  • For additional questions you can send an email
  • Contributors and Developers

    @@ -91,6 +91,10 @@ 2023.1.2 +

    2023.1.1