Home | History | Annotate | Download | only in debugging
      1 /*
      2  * Copyright (c) 2007 Mockito contributors
      3  * This program is made available under the terms of the MIT License.
      4  */
      5 package org.mockito.internal.debugging;
      6 
      7 
      8 import org.mockito.invocation.Location;
      9 
     10 public class Localized<T> {
     11 
     12     private final T object;
     13     private final Location location;
     14 
     15     public Localized(T object) {
     16         this.object = object;
     17         location = new LocationImpl();
     18     }
     19 
     20     public T getObject() {
     21         return object;
     22     }
     23 
     24     public Location getLocation() {
     25         return location;
     26     }
     27 }