-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
I tried upgrading to 6.9 but the generated code doesn't build:
@Generated("io.avaje.inject.generator")
@InjectModule(requires={hydraulic.factory.builds.Build.class,hydraulic.parts.config.views.PartConfigView.class,hydraulic.parts.config.models.SiteConfigModel.class,hydraulic.parts.tool.KeyManager.class}, customScopeType="hydraulic.parts.tool.RepositoryTask")
public class RepositoryTaskModule implements Module.Custom {
private final Class<?>[] provides = new Class<?>[]{};
private final Class<?>[] requires = new Class<?>[]{hydraulic.factory.builds.Build.class,hydraulic.parts.config.views.PartConfigView.class,hydraulic.parts.config.models.SiteConfigModel.class,hydraulic.parts.tool.KeyManager.class};
private Builder builder;
private Build build;
private PartConfigView partConfigView;
private SiteConfigModel siteConfigModel;
private KeyManager keyManager;
/**
* Create providing the external dependencies.
*/
public RepositoryTaskModule(Build build, PartConfigView partConfigView, SiteConfigModel siteConfigModel, KeyManager keyManager) {
As you can see, the private fields aren't using FQNs and thus cannot be imported. They're used correctly elsewhere. The same is also true in the constructor. Perhaps import lines should be added, or alternatively, everywhere the class name is used should be fully qualified.
rbygrave
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working