How did Android implement the checks for SuperNotCalledException?-Collection of common programming errors
In the Activity class, Android provides runtime enforcement that super() must be called for overridden lifecycle callback methods. If you forget do do so, it throws SuperNotCalledException.
Exactly how was this implemented specifically on Android? Please point me to the actual source implementation if possible.