I did another pass on compiler2, and managed to wire in signature support. So let’s look at a couple examples: class MyRubyClass def helloWorld puts "Hello from Ruby" end def goodbyeWorld(a) puts a ...
前回は、11月9日に公開されたJSR 308:Annotations on Java TypesのEarly Draftを元に、同仕様の概要を紹介した。JSR 308については本連載第15回でも取り上げているが、その際、開発段階にある対応コンパイラを用いて型に対するアノテーションの適用例を紹介した。
“Compiler #2” as it has been affectionately called is a compiler to turn normal Ruby classes into Java classes, so they can be constructed and called by normal Java code. When I asked for 1.3 ...
J2SE 5.0から導入されたアノテーション(JSR 175: A Metadata Facility for the Java Programming Language)はJavaによるプログラミングスタイルを大きく変化させ、とくにJava EEアプリケーション開発の分野ではすでに不可欠なものになりつつある。その後も「JSR 250: Common Annotations ...