]
George Gastaldi commented on ROASTER-11:
----------------------------------------
I think that setSuperType should be smart enough to know when to import a class or use its
FQN. Not sure if overloading this method is a good solution.
Auto generated imports when the super class is set causes .java file
to not compile.
------------------------------------------------------------------------------------
Key: ROASTER-11
URL:
https://issues.jboss.org/browse/ROASTER-11
Project: Roaster
Issue Type: Bug
Components: API
Affects Versions: 2.2.0.Final
Reporter: Walter Medvedeo
Assignee: Stephan Windmüller
Fix For: 2.x Future
Similar as for fields, when the super type for a JavaClassSource is set, an import is
automatically generated. It's desirable to have
setSuperType( X, boolean addImports) method that just change the super type name and
don't add imports.