| Summary: | Generated content assist parser has warnings: discouraged access to IPartialContentAssistParser | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Matthieu Wipliez <matthieu.wipliez> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | btickets, cap, eclipse, hrr, sbouchet, sven.efftinge |
| Version: | unspecified | Flags: | sven.efftinge:
kepler+
|
| Target Milestone: | RC3 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Matthieu Wipliez
Is there any progress on this problem? Or a workaround We have a 'zero warning' policy on our projects, and after upgrading to 2.3 we have this warning in all our UI projects. Currently I am creating a new access rule to set org/eclipse/xtext/ui/codetemplates/ui/partialEditing/IPartialContentAssistParser accessible for each UI project. I am not sure if this is a good solution :-( Could not the generated code contain a suppress warnings annotation for these cases? Hello, what is the status of this bug? All is needed is to remove ';x-internal:=true' after org.eclipse.xtext.ui.codetemplates.ui.partialEditing in the MANIFEST.MF file of org.eclipse.xtext.ui.codetemplates.ui plug-in. Or as mentioned by Andrew, having a SuppressWarnings annotation. Is there a technical reason for not doing either one of these changes? Thank you, Matthieu We should at least add @SuppressWarnings for 2.4.2 an @SuppressWarnings annotation is now generated. Thank you Sven! Requested via bug 522520. -M. Requested via bug 522520. -M. |