Hey. Here is another detail you should be aware of for windup.
In legacy ejb, the solution to ejb stubs were precompiled ejb classes. You will find them in old Weblogic and websphere deployments.
So, there should be a rule too that makes a class as "generated". Otherwise people get them in their report and again they have no control over them, so it's just static to report on them. You can probably use them, though, to get information on the ejb. But, I think mostly the info you will need about the ejb is the implementation class and it's meta information, which is a combination of the ejb XML, the ejb vendor XML, and the java class itself.