Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Provide a way to supply nullness information for library types?
Provide a way to supply nullness information for library types? [message #1694465] Tue, 05 May 2015 09:24 Go to next message
Eclipse UserFriend
Null analysis is a very useful feature, but it's also annoying that can't-be-null return values from third-party libraries are always marked as nullable. Can some kind of configuration file be side-loaded to define the nullness for them?
Re: Provide a way to supply nullness information for library types? [message #1694480 is a reply to message #1694465] Tue, 05 May 2015 10:42 Go to previous messageGo to next message
Eclipse UserFriend
You are waiting for https://wiki.eclipse.org/JDT_Core/Null_Analysis/External_Annotations Smile

See also these entries in the New&Noteworthy of recent milestones:

- https://www.eclipse.org/eclipse/news/4.5/M6/index.html#external-annotations

- https://www.eclipse.org/eclipse/news/4.5/M6/index.html#annotate-command

- https://www.eclipse.org/eclipse/news/4.5/M7/#annotations-in-hover

We are just now sorting out remaining known bugs and usability issues to make this a polished new feature in the upcoming Eclipse Mars release.

You can already try it (and give feedback...) if you pick up milestone 7 (Eclipse SDK M7 is available, Eclipse packages M7 will be available end of this week).

cheers,
Stephan

Re: Provide a way to supply nullness information for library types? [message #1694485 is a reply to message #1694480] Tue, 05 May 2015 11:01 Go to previous message
Eclipse UserFriend
Sounds great! Will give it a go. Hopefully the community support for external annotations grow quickly Smile
Previous Topic:[SWT] Set background as a PNG file
Next Topic:Project reference in deployment assembly lost after pom.xml edit
Goto Forum:
  


Current Time: Sun Apr 20 18:05:56 EDT 2025

Powered by FUDForum. Page generated in 0.02750 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top