[Ikvm-developers] Re: [Mono-list] Java and C#
Brought to you by:
jfrijters
From: A R. D T. <raf...@te...> - 2004-03-19 14:13:29
|
On Thu, 2004-03-18 at 22:35, Jonathan Pryor wrote: > I suspect that there is no way to add attributes in Java. Microsoft's > Visual J# permits the use of Attributes (IIRC), but it's through their > Visual J++ syntax -- through a specially formed JavaDoc comment. > Something like (from memory): > > /** > * @attribute-name (args...) > */ > public void myMethod () {/* ... */} > > Of course, that's compiler specific, and no standard Java compiler will > support that. So when it comes to attributes, you're probably up the > creek. > > - Jon Maybe when ikvm supports Java 'Tiger' 1.5, that has attributes added to the language (well sort-of, because it resembles the Visual J# way...). My two cents, -- Rafael "Monoman" Teixeira Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/ Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/ English Blog: http://monoblog.blogspot.com/ Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/ |