tangcent / easy-api

Generate API document
https://easyapi.itangcent.com
GNU Affero General Public License v3.0
182 stars 30 forks source link

fix: remove Non-extendable interface usage #548

Closed tangcent closed 5 months ago

tangcent commented 5 months ago

Fix the warning message in IntelliJ IDEA Ultimate regarding a non-extendable API usage violation.

IntelliJ IDEA Ultimate 2024.2 eap (242.18071.24)

1 compatibility warning. 1 non-extendable API usage violation (Restart)

Non-extendable API usage violation

EasyApi 2.3.1.212.0 uses APIs marked with @ApiStatus.NonExtendable, which indicates that those APIs must not be extended outside the IntelliJ Platform.

Non-extendable interface usage violation (1)

DataContext (1)

Non-extendable interface DataContext is implemented by DataEventCollector. This interface is marked with @ApiStatus.NonExtendable, which indicates that the interface is not supposed to be extended. See documentation of the @ApiStatus.NonExtendable for more info.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.320%. Comparing base (9d437e2) to head (0d398c8).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tangcent/easy-api/pull/548/graphs/tree.svg?width=650&height=150&src=pr&token=4DPGLAWL3Q&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent)](https://app.codecov.io/gh/tangcent/easy-api/pull/548?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) ```diff @@ Coverage Diff @@ ## master #548 +/- ## =============================================== - Coverage 63.365% 63.320% -0.045% + Complexity 2010 2005 -5 =============================================== Files 224 223 -1 Lines 10591 10578 -13 Branches 2574 2573 -1 =============================================== - Hits 6711 6698 -13 Misses 2540 2540 Partials 1340 1340 ``` | [Flag](https://app.codecov.io/gh/tangcent/easy-api/pull/548/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/tangcent/easy-api/pull/548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) | `63.320% <ø> (-0.045%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent#carryforward-flags-in-the-pull-request-comment) to find out more. ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tangcent/easy-api/pull/548?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/tangcent/easy-api/pull/548?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Last update [9d437e2...0d398c8](https://app.codecov.io/gh/tangcent/easy-api/pull/548?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tangcent).