Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@FXBindable & @CompileStatic & static inner class #37

Open
acmi opened this issue Mar 31, 2016 · 0 comments
Open

@FXBindable & @CompileStatic & static inner class #37

acmi opened this issue Mar 31, 2016 · 0 comments

Comments

@acmi
Copy link

acmi commented Mar 31, 2016

For example:

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);
        }
        ...
    }
    ...
}

So getter/setter not work :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant