mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
Added annotations @ApiStatus.NonExtendable and @ApiStatus.OverrideOnly. Added corresponding inspections checking violation of usages of annotated API. Fix a couple of bugs in ApiUsageUastVisitor. Enforce both "processReference" (for class) and "processConstructorInvocation" (for constructor) events. Suppose code "new SomeClass(42)". We want ApiUsageVisitorBase to invoke both "processReference" for "SomeClass" and "processConstructorInvocation" for "SomeClass()", though they point to the same PSI element. GitOrigin-RevId: 811b4d5a875dcb246582df1cd2e6be48cc96c990