int majorPresent = -1;
int minorPresent = -1;
if ( versionPresent != null )
{
try {
majorPresent = versionPresent.major();
}
catch(NullPointerException ignore) {
/*
the major version annotation is required and if unspecified, will
throw an NPE when it is quereid but not provided. this error will