Hi,
I was just doing some reflection programming in IDEA (602) when I noticed that there is no autocomplete for primitive types.
I was trying to create a Class[] to pass to Class.getDeclaredConstrutors(Class[]) when I got as far as:
Class[] defaultConstructor = new Class[]{int};
This was red flagged so I placed the cursor after the int and pressed ctrl-space to autocompete but there were no suggestions.
A search of Google revealed that "int" actually should be "int.class"
So can ".class" be added as a field for autocomplete of primitive types int,long, double, byte & short?
Regards
Kevin
Kevin O'Regan
Baltimore Technologies plc
Dublin Ireland.
-----------------------------------------------------------------------------
Baltimore Technologies plc will not be liable for direct, special, indirect
or consequential damages arising from alteration of the contents of this
message by a third party or as a result of any virus being passed on.
This footnote confirms that this email message has been swept by
Baltimore MIMEsweeper for Content Security threats, including
computer viruses.
http://www.baltimore.com
