@SuppressWarnings("unchecked") public SimpleFeatureTypeImpl( Name name, List<AttributeDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) { // Note intentional circumvention of generics type checking; // this is only valid if schema is not modified. super( name, (List) schema, defaultGeometry, isAbstract, restrictions, superType, description); index = buildIndex(this); descriptors = buildDescriptorIndex(this); }