@SuppressWarnings("unused")
    public XsdSimpleType getBaseAsSimpleType() {
        if (base instanceof NamedConcreteElement){
            XsdAbstractElement baseType = base.getElement();

            if (baseType instanceof XsdSimpleType){
                return (XsdSimpleType) baseType;
            }
        }

        return null;
    }
@ SuppressWarnings ( "unused" ) public XsdSimpleType getBaseAsSimpleType ( ) { if ( base instanceof NamedConcreteElement ) { XsdAbstractElement baseType = base . getElement ( ) ; if ( baseType instanceof XsdSimpleType ) { return ( XsdSimpleType ) baseType ; } } return null ; }
@return The {@link XsdSimpleType} from which this extension extends or null if the {@link XsdParserCore} wasn't
able to replace the {@link UnsolvedReference} created by the base attribute value.