public static boolean isLongCallChain(List<ASTNode> nodes, CommonCodeStyleSettings settings) {
    List<ChainedCallChunk> chunks = splitMethodCallOnChunksByDots(nodes, settings);

    int methodCallCount = 0;

    for (ChainedCallChunk chunk : chunks) {
      if (isMethodCall(chunk) && !isBuilderMethod(chunk, settings) && !isComment(chunk)) {
        methodCallCount++;
      }
    }
    return methodCallCount >= MANY_METHOD_CALLS_FACTOR;
  }
public static boolean isLongCallChain(List<ASTNode> nodes, CommonCodeStyleSettings settings)