Will it make sense to use an annotation to explicitly mark a class as the main executable class of a script file(module)?
So, it can be like:
1) If a module has some classes + a script - then script is the executable class, irrespective of the new annotation.
2) If module has some classes + 1 of them having the new ann - then that gets executed by coming in front - the ann overrides the usual sorting here.
3) If module has some classes + none of them having the new ann - the usual logic applies.