What about a top-level annotation to declare the preferred order of
methods?
@MethodOrder = {
"someMethod",
"someOtherMethod",
"etc",
"last"
};
(I'm not using annotations yet so I'm sure the syntax is wrong, but
you get
the idea..)
As you mentioned, methods in this list have priority, and other
methods are
treated afterwards, in no particular order.
The problem with that is that it makes refactoring and such much less
convenient since you're duplicating method names. I prefer position
indication better, since it duplicates nothing and contains only the
information that's required to determine the order.
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users