/** * Returns a flattened structure of attribute descriptors. After flattening, * {@link #attributeDescriptors} contains descriptors of all attributes and * {@link #attributeGroups} is empty. Notice that {@link BindableDescriptor}s are * immutable, so the flattened descriptor set is returned rather than flattening being * applied to the receiver. * * @return flattened descriptor */ public BindableDescriptor flatten() { return group(GroupingMethod.NONE); }