As an example I would like enter the following statement:
Rectangle2D a = new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0);
But I can't get it work. There is no matching entry in the autocomplete menu after the new operator. A workaround is to enter:
Rectangle2D.Double b = new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0);
and then copy & paste the initializer to the variable a, but this is kind of ugly. What is is correct way?