Groovy Eclipse プラグイン バージョン: 1.7.5.xx-20101020-1000-e36-release。
import com.jidesoft.swing.JideSplitButton
@Grab(group='com.jidesoft', module='jide-oss', version='[2.2.1,2.3.0)')
public class TestClassAnnotation {
public static String testMethod () {
return JideSplitButton.class.name
}
}
new TestClassAnnotation().testMethod()
最初の行のエラー: Groovy: クラス com.jidesoft.swing.JideSplitButton を解決できません
Groovy シェルとして実行できますが、エラー警告は退屈です