I'm afraid that we should check all of the super classes.

       for (JavaClass superClass : immutableClass.getSuperClasses()) {
            checkImmutability(superClass);
        }