.getChildConstraints(child);
if (horizontal) {
Alignment alignment = constraints.getHorizontal();
if (alignment instanceof Leading) {
if (anchor.equals("bilateral")) {
operation = new HorizontalLeadingToBilateral(
constraints, container, child);
} else if (anchor.equals("trailing")) {
operation = new HorizontalLeadingToTrailing(constraints, container, child);
}
} else if (alignment instanceof Bilateral) {