import groovy.transform.CompileStatic
import groovyx.javafx.beans.FXBindable
@CompileStatic
class Foo {
static class Bar {
@FXBindable
Object baz
}
}
Decompiled:
public class Foo implements GroovyObject {
...
public static class Bar implements GroovyObject {
private ObjectProperty bazProp;
...
public final Object getBaz() {
return ((ObjectProperty)this).getValue();
}
public final void setBaz(Object value) {
this.setValue(value);
}
...
}
...
}
For example:
Decompiled:
So getter/setter not work :(