Collection<StructureViewTreeElement> () { List<? extends IProperty> properties = getElement().getProperties(); Collection<StructureViewTreeElement> elements = new ArrayList<>(properties.size()); for (IProperty property : properties) { elements.add(new PropertyStructureViewElement(property, myGrouped)); } return elements; }