Reputation: 1257
In a project of mine, we use default inner classnames and qualify them by their parent class like so:
Customer.Row
Product.Row
Supplier.Row
If I try to add a call to a row's method using autocompletion, IntelliJ will strip away the qualifying class and auto-import the Row, which I don't want to happen:
import what.ever.Supplier.Row;
...
Row.doSomething();
I just want
Supplier.Row.doSomething();
Is there a way to prevent this behaviour?
Upvotes: 1
Views: 224
Reputation: 824
I can recommend two things.
Upvotes: 1