feat: new CtTypeMemberWildcardImportReference for import package.Type.*#2731
feat: new CtTypeMemberWildcardImportReference for import package.Type.*#2731monperrus merged 2 commits intoINRIA:masterfrom
import package.Type.*#2731Conversation
aaa7f5e to
20ee252
Compare
|
I like this idea, but maybe not the name: what do you think of WDYT? |
All suggesttions ends with I would prefer to have a name which ends with And note that name is already invented and committed by Simon. So any change causes little incompatibility, because we should change also |
not really. The definition of a reference is something for which you can get a declaration (
That was the implementation class (which can stay as is, and, you're right, I'm less rigorous for naming of implementation classes than for naming of public interfaces), it's perfectly OK to improve the name for the promoted interface. what about |
|
API changes: 5 (Detected by Revapi) Old API: fr.inria.gforge.spoon:spoon-core:jar:7.2.0-20181101.234717-66 / New API: fr.inria.gforge.spoon:spoon-core:jar:7.2.0-SNAPSHOT
|
import package.Type.*
|
@monperrus I renamed to new name. It is ready for merge. |
|
Thanks for the progress on import-sniper! |
Fixes implementation of CtWildcardStaticTypeMemberReferenceImpl to be a real spoon model element.
I also change the semantic of this element. Before it was kind of a CtTypeReference. Now it is only CtReference, because it references all static type members of the referred type.
It also have a new method (main reason why I needed it):
getTypeReference(), which returns type reference to the type whose static type members are included.