}
} else if (alignment instanceof Trailing) {
if (anchor.equals("leading")) {
operation = new HorizontalTrailingToLeading(constraints, container, child);
} else if (anchor.equals("bilateral")) {
operation = new HorizontalTrailingToBilteral(constraints, container, child);
}
}
} else {
Alignment alignment = constraints.getVertical();
if (alignment instanceof Leading) {