}
List<? extends DocElement> elements = block.getElements();
if (elements.isEmpty()) {
continue;
}
DocElement first = elements.get(0);
if (first.getModelKind() != ModelKind.SIMPLE_NAME) {
continue;
}
if (name.equals(((SimpleName) first).getToken()) == false) {
continue;
}