1 package com.xtremelabs.robolectric.shadows; 2 3 import android.text.style.URLSpan; 4 import com.xtremelabs.robolectric.internal.Implementation; 5 import com.xtremelabs.robolectric.internal.Implements; 6 7 @SuppressWarnings({"UnusedDeclaration"}) 8 @Implements(URLSpan.class) 9 public class ShadowURLSpan { 10 private String url; 11 12 public void __constructor__(String url) { 13 this.url = url; 14 } 15 16 @Implementation 17 public String getURL() { 18 return url; 19 } 20 } 21