{
XSSimpleType type = (XSSimpleType) numeric.extendedTypeDefinition();
if (type.derivedFromType(integerType, XSConstants.DERIVATION_EXTENSION))
return integerType.getBuiltInKind();
if (type.derivedFromType(decimalType, XSConstants.DERIVATION_EXTENSION))
return decimalType.getBuiltInKind();
if (type.derivedFromType(floatType, XSConstants.DERIVATION_EXTENSION))
return floatType.getBuiltInKind();
if (type.derivedFromType(doubleType, XSConstants.DERIVATION_EXTENSION))
return doubleType.getBuiltInKind();