A class (and routine) definition can sometimes differ from it's compiled state.
When such a thing occurs, a "+" sign will be shown in the tab of the file opened in Studio.
I would like to do the same check programmatically.
For routines, it's very simple :