<BUG>this.type = type;}</BUG><CONTEXT>public class ModelReference<T> {private final ModelPath path;private final ModelType<T> type;public ModelReference(ModelPath path, ModelType<T> type) {this.path = path;<extra_id_0>public ModelReference(String modelPath, ModelType<T> type) {this(new ModelPath(modelPath), type);}</CONTEXT>
public static <T> ModelReference<T> of(ModelPath path, ModelType<T> type) {return new ModelReference<T>(path, type);