void (@NotNull View v, Collection<? super View> result) { String cname = v.getClass().getCanonicalName(); if (cname != null && cname.contains("ParagraphView.Row")) { result.add(v); } for(int i = 0; i < v.getViewCount(); i++) { visit(v.getView(i), result); } }