You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Override
public final A from(B in) {
com.arnaudpiroelle.selma.A out = null;
if (in != null) {
out = new com.arnaudpiroelle.selma.A();
out.setField(in.null());
}
return out;
}
Bean A:
public class A {
private String field;
public void setField(String field) {
this.field = field;
}
}
Bean B:
public class B {
private String field;
public void setField(String field) {
this.field = field;
}
}
Mapper:
@Mapper
public interface MyMapper {
A from(B b);
}
The text was updated successfully, but these errors were encountered:
Unexpected compilation errors occurs when two beans have the same private area and have no getter.
Errors:
Generated sources:
Bean A:
Bean B:
Mapper:
The text was updated successfully, but these errors were encountered: