@Override
  public AlignmentStrategy getNextChildStrategy(@NotNull ASTNode child) {
    IElementType childType = child.getElementType();

    if (childType != JavaElementType.METHOD || child.textContains('\n')) {
      myAlignmentStrategy = newAlignmentStrategy();
      return AlignmentStrategy.getNullStrategy();
    }

    return myAlignmentStrategy;
  }
@Override
  public AlignmentStrategy getNextChildStrategy(@NotNull ASTNode child)