Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-ocl.dev] @NonNull annotations

Hi Ed,

In principle, there should not be any problem... I'll raise a bugzilla to track the changes.

I'll start to configure the jobs after having lunch.

Regards,
Adolfo.

El 23/07/2012 12:49, Ed Willink escribió:
Hi Adolfo

Juno has some @NonNull annotations (http://wiki.eclipse.org/JDT_Core/Null_Analysis) support, so I've started using these to stabilize APIs before promotion. This starts to respond to https://bugs.eclipse.org/bugs/show_bug.cgi?id=375737.

However the basic Juno support on parameters is useful but limited; final fields assigned a @NonNull value lose the annotation.

This is fixed in http://wiki.eclipse.org/JDT_Core/Null_Analysis/Beta#Syntactic_analysis making the facility much more useful; just have to cast/test a tractable number of incoming Java/EMF values.

To support this, it is just necessary to install from the http://www.eclipse.org/jdt/core/beta-null-annotations-for-fields update. So to make this work on Hudson we presumably just  need to ensure that the org.eclipse.jdt.annotation search path resolves there. Is it that easy?

    Regards

        Ed


_______________________________________________
mdt-ocl.dev mailing list
mdt-ocl.dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mdt-ocl.dev


--
Open Canarias, S.L.
Adolfo Sánchez-Barbudo Herrera
adolfosbh(at)opencanarias(dot)com
C/Elías Ramos González, 4, ofc. 304
38001 SANTA CRUZ DE TENERIFE
Tel.: +34 922 240231



Back to the top