I’m unable to “Generate Code” using “Java Round-trip”, as the following errors occur:
[24:20:12] [Error] No Name: Generalization The class 'Serializable' cannot be the superclass of 'package.Algorithm'; a superclass must be a class.
[24:20:12] [Error] No Name: Generalization The class 'Runnable' cannot be the superclass of 'package.client.NodeChangeReceiver'; a superclass must be a class.
[24:20:12] [Error] No Name: Generalization The class 'TimerTask' cannot be the superclass of 'package.client.KeepAliveSender'; a superclass must be a class.
However, these errors to not occur if I use “Instant Generate” and the generated code is correct. How am I supposed to model classes that have superclasses and also implement on or more interfaces?
Thanks.