if (isValidLiteral(assessment.normalizedLiteral))
Object value = getValue(assessment.normalizedLiteral); if (value != null)
  public void assess(XSDSimpleTypeDefinitionImpl.AssessmentImpl assessment)  {    assessment.xsdAnySimpleType = this;    if (isValidLiteral(assessment.normalizedLiteral))    {      assessment.value = getValue(assessment.normalizedLiteral);    }    else    {      assessment.reportDatatypeDiagnostic();    }  }