This post originated from an RSS feed registered with Java Buzz
by Dave Booth.
Original Post: Smart Completion of Java Primitive Method Parameters
Feed Title: IntelliJ IDEA Blog
Feed URL: http://blogs.jetbrains.com/idea/feed/
Feed Description: All the most recent updates, views, and information on IntelliJ IDEA... straight from the source.
Many API include methods like setXxx(int) where int is one of the predefined values, typically declared in the same class. The fact that these are just legacy methods that have been created prior to enums invention, does not stop IntelliJ IDEA from helping you with such parameter values. For example, have a look at JList#getSelectionModel. [...]