/** * Builds a {@link RevFeatureType} for the given feature type, computing its id throuh * {@link HashObject} */ public static RevFeatureType build(FeatureType featureType) { checkNotNull(featureType); featureType = adapt(featureType); ObjectId id = HashObject.hashFeatureType(featureType); return RevFeatureTypeBuilder.create(id, featureType); }