Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Best way to generate XSD from Java Date: Sat, 29 Sep 2012 01:34:47 -0700 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <1lz5htc7ru4px.y4dvutffaftd$.dlg@40tude.net> <5065f23e$0$285$14726298@news.sunsite.dk> <1w8k70m8bfjn7.g6ysc3inyk4d$.dlg@40tude.net> <1ufgvja2wnfn2$.1uat2fmq12932$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 29 Sep 2012 08:34:50 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="13900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ctWY5GNAD3q19ib0tuWjXAwGHQEH32Rs=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <1ufgvja2wnfn2$.1uat2fmq12932$.dlg@40tude.net> Cancel-Lock: sha1:K8HTAiht6tAUzT0gGSDNQjM/2Wc= Xref: csiph.com comp.lang.java.programmer:18989 On 9/28/2012 1:54 PM, the don wrote: > P.S. the annotations I'm speaking of would indicate things like a Method's > name, it's return type and it's arguments. This sounds suspiciously like information that's already in the class files. Are you planning on parsing source files, or interpreting byte codes? The javap already does this, to a degree. Possibly all you need to do is mark a method for testing; the return type and argument list is retained in the byte code .class file.