Bug 507631 - API Tooling not suitable for use with EMF
Summary: API Tooling not suitable for use with EMF
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE API Tools Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 543621
Blocks:
  Show dependency tree
 
Reported: 2016-11-16 14:06 EST by Ed Willink CLA
Modified: 2023-01-01 06:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2016-11-16 14:06:49 EST
EMF autogenerates significant contributions to user plugins, but unfortunately these do not play well with API tooling.

By itself, EMF autogeneration is seriously incompatible, but EMF permits "@noreference" etc to be embedded in persisted 'user comments', thereby giving some prospect of utility.

When an EMF model grows it adds definitions that should be all resolveable by @since... but

Problem 1: EMF adds definitions with a nested Literals class. Bug. API Tooling ignores @noreference etc on nested classes.

Problem 2: EMF defines many integer constants which the users is encouraged to reference symbolically. These constants are unstable. API tooling offers no @noreferenceByValue allowing safe access by symbol.
Comment 1 Ed Willink CLA 2019-01-20 06:37:21 EST
(In reply to Ed Willink from comment #0)
> Problem 2: EMF defines many integer constants which the users is encouraged
> to reference symbolically. These constants are unstable. API tooling offers
> no @noreferenceByValue allowing safe access by symbol.

Bug 543621 outlines a rather simple change to EMF auto-generation that avoids publishing unstable integers.
Comment 2 Eclipse Genie CLA 2021-01-10 17:52:24 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2023-01-01 04:55:09 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Ed Willink CLA 2023-01-01 06:00:55 EST
It is a hard but very genuine problem.

Cannot be stale until reviewed by a relevant committer.