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

withImmutables doesn't match on generic types #195

Open
facboy opened this issue May 11, 2018 · 0 comments
Open

withImmutables doesn't match on generic types #195

facboy opened this issue May 11, 2018 · 0 comments

Comments

@facboy
Copy link

facboy commented May 11, 2018

It seems that the withImmutables annotation does not match on generic types, eg this produces a compilation error:

import fr.xebia.extras.selma.Mapper;

@Mapper(withImmutables = Class.class)
public interface TestMapper {
    TestBean clone(TestBean source);

    class TestBean {
        private Class<?> cls;

        public Class<?> getCls() {
            return cls;
        }

        public void setCls(Class<?> cls) {
            this.cls = cls;
        }
    }
}
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