| Summary: | [sequencer][generator] Large EPackage don't have a Literals Class | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Sebastian Zarnekow <sebastian.zarnekow> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | moritz.eysholdt |
| Version: | 2.0.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | SR1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Sebastian Zarnekow
(In reply to comment #0) > If the genmodel allows to introspect whether there is a Literals class, it may > be interesting to use the literals as long as they are available for > readability reasons, but I'm pretty sure that is does not make any difference > wrt runtime behavior. Yes, the Genmodel has information on whether there are literals and getters or just getters. I think there is even a method that returns the Literals' name if it is available and the getter otherwise. I'll investigates this further. Is it safe to assume that getters are available in any case? (In reply to comment #1) > Is it safe to assume that getters are available in any case? Yes, I'm pretty sure they are available in any case. At least that's what their implementation suggests. fixed & pushed to master. Now the literals will only be used if they are available. In all other cases, the getters will be used. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |