@@ -0,0 +1,1777 @@
+package org.robolectric.shadows;%0A%0Aimport org.robolectric.Robolectric;%0Aimport org.robolectric.internal.Implementation;%0Aimport org.robolectric.internal.Implements;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.HashMap;%0A%0A@Implements(value = Robolectric.Anything.class, className = %22android.text.SpannableStringInternal%22)%0Apublic class ShadowSpannableStringInternal %7B%0A    CharSequence text = %22%22;%0A    HashMap%3CObject, SpanHolder%3E spans = new HashMap%3CObject, SpanHolder%3E();%0A%0A    public void __constructor__(CharSequence source) %7B%0A        text = source;%0A    %7D%0A%0A    @Implementation%0A    public String toString() %7B%0A        return text.toString();%0A    %7D%0A%0A    @Implementation%0A    public void setSpan(Object what, int start, int end, int flags) %7B%0A        spans.put(what, new SpanHolder(start, end, flags));%0A    %7D%0A%0A    @Implementation%0A    public void removeSpan(Object what) %7B%0A        spans.remove(what);%0A    %7D%0A%0A    @Implementation%0A    public %3CT%3E T%5B%5D getSpans(int queryStart, int queryEnd, Class%3CT%3E kind) %7B%0A        ArrayList%3CT%3E retVal = new ArrayList%3CT%3E();%0A%0A        for (Object s : spans.keySet()) %7B%0A            if (kind.isInstance(s)) %7B%0A                SpanHolder h = spans.get(s);%0A                if ((h.start %3C= queryStart && h.end %3E= queryStart) %7C%7C%0A                        (h.start %3C= queryEnd && h.end %3E= queryEnd) %7C%7C%0A                        (h.start %3E= queryStart && h.end %3C= queryEnd)) %7B%0A                    retVal.add((T) s);%0A                %7D%0A            %7D%0A        %7D%0A%0A        return (T%5B%5D) retVal.toArray();%0A    %7D%0A%0A    class SpanHolder %7B%0A        public int start;%0A        public int end;%0A        public int flags;%0A%0A        public SpanHolder(int start, int end, int flags) %7B%0A            this.start = start;%0A            this.end = end;%0A            this.flags = flags;%0A        %7D%0A    %7D%0A%0A%7D%0A

Add ShadowSpannableStringInternal.java.