In the isClassExcluded method invoke targetClass.isAssignableFrom(excludedClass), that mean targetClass must be parent class of excludedClass or same as excludedClass.
How can enumerate all son classes in the excluded classes?
Why not opposite? I only prevent the parent class, all son classes also be prevented.
The EX: excludedClass.isAssignableFrom(targetClass)