makeClassInheritable

static boolean makeClassInheritable(Class<? extends Object> target)

Make a class inheritable. It will make the class non-final and make all its private constructors protected.

Return

If the operation has succeed, true, otherwise false.

Parameters

target

The target class that is to make inheritable.

Sources

Link copied to clipboard