final boolean compact = formatterPreferences.isCompactCases(resource);
final boolean alignCases = formatterPreferences.isAlignCases(resource);
final boolean compactResource = formatterPreferences.isCompactResources(resource);
final boolean alignAssignments = formatterPreferences.isAlignAssignments(resource);
return new IBreakAndAlignAdvice() {
@Override
public int clusterSize() {
return clusterSize;
}