void (final Property[] containerProperties, final RadComponent component, final ArrayList<Property> result) { for(Property prop: containerProperties) { //noinspection unchecked if (prop.appliesTo(component)) { addProperty(result, prop); } } }