@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: