Many idioms in lambda (Collectors, for instance) and java.time (Adjusters) are based on statically imported methods. People will have a hard time compiling them if the IDE doesn't support static imports out of the box.
Not only the current Add static import hint must be supported, but there must be a way to add these static imports as part of Fix imports as well.
Product Version = NetBeans IDE Dev (Build jdk8lambda-1641-on-20130208)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0-ea
Runtime = OpenJDK 64-Bit Server VM 25.0-b15
Both Fix all imports and the Add import fix should not be able to handle static imports:
Passing to Dusan to see if the code completion should do similar lookup into the index.
Code completion should be able to add static imports:
Integrated into 'main-golden', will be available in build *201304131047* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Code completion for static members enhanced with ability to prefer enclosing class imports over static imports.
Integrated into 'main-golden', will be available in build *201304202301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Dusan Balek <email@example.com>
Log: #226064: Code completion for static members enhancement.