AlignmentStrategy (@NotNull ASTNode child) { AlignmentStrategy fieldInColumnsAlignment = myFieldsAligner.getNextChildStrategy(child); AlignmentStrategy oneLineMethodsAlignment = myOneLineMethodsAligner.getNextChildStrategy(child); if (fieldInColumnsAlignment != AlignmentStrategy.getNullStrategy()) { return fieldInColumnsAlignment; } return oneLineMethodsAlignment; }