protected boolean isOptional(Method m, TypeBinding type)
{
boolean returnValue = false;
// Look for the annotaiton first
QMFProperty ann = m.getAnnotation(QMFProperty.class);
if (ann != null)
{
returnValue = ann.optional();
} else
{
returnValue = type.optionalDefault();
}
return returnValue;