protected static boolean isEmptyRange(@NotNull ASTNode injectedNode, @Nullable TextRange range) {
    return range != null && (range.getLength() == 0 || StringUtil.isEmptyOrSpaces(range.substring(injectedNode.getText())));
  }
protected static boolean isEmptyRange(@NotNull ASTNode injectedNode, @Nullable TextRange range)