|[emf-dev] Odd looking generated code in Enums|
We've been getting our API ready and Mike Rennie picked up on the implementation of enums as having an apparently odd pattern;
The generated code 'implements Internal<x>' where <x> is the Feature name and 'Internal<x>' is a package private interface that extends org.eclipse.emf.common.util.Enumerator.
Could someone explain why the pattern is there and what the possible consequences of removing it are (evidently it causes the API tooling to complain, not sure why) ?
Back to the top