public ClassType getSuperclass() {
        //  java.lang.Object has no superclass
        if (type.tsym == env.symtab.objectType.tsym) {
            return null;
        }
        Type sup = env.jctypes.supertype(type);
        return (ClassType) env.typeMaker.getType(sup);
    }