If I have a statement like this " EntitiesProvider.getEntities();

Any idea how to "generate" the assignment to variable of return Type ?

so that this would be generated Map<String, Entity> hashMap =

this is the result :

Map<String, Entity> hashMap = EntitiesProvider.getEntities();

It is similar to ctrl + 1 and Change type, if it returns different Type that you already have there.

I find myself doing myself manually very often...

Edit
Report