1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 
28 package java.lang;
29 
30 
31 @SuppressWarnings({"unchecked", "deprecation", "all"})
32 public final class StringBuilder implements java.lang.Appendable, java.lang.CharSequence, java.io.Serializable {
33 
StringBuilder()34 public StringBuilder() { throw new RuntimeException("Stub!"); }
35 
StringBuilder(int capacity)36 public StringBuilder(int capacity) { throw new RuntimeException("Stub!"); }
37 
StringBuilder(@ibcore.util.NonNull java.lang.String str)38 public StringBuilder(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); }
39 
StringBuilder(@ibcore.util.NonNull java.lang.CharSequence seq)40 public StringBuilder(@libcore.util.NonNull java.lang.CharSequence seq) { throw new RuntimeException("Stub!"); }
41 
append(@ibcore.util.Nullable java.lang.Object obj)42 @libcore.util.NonNull public java.lang.StringBuilder append(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); }
43 
append(@ibcore.util.Nullable java.lang.String str)44 @libcore.util.NonNull public java.lang.StringBuilder append(@libcore.util.Nullable java.lang.String str) { throw new RuntimeException("Stub!"); }
45 
append(@ibcore.util.Nullable java.lang.StringBuffer sb)46 @libcore.util.NonNull public java.lang.StringBuilder append(@libcore.util.Nullable java.lang.StringBuffer sb) { throw new RuntimeException("Stub!"); }
47 
append(@ibcore.util.Nullable java.lang.CharSequence s)48 @libcore.util.NonNull public java.lang.StringBuilder append(@libcore.util.Nullable java.lang.CharSequence s) { throw new RuntimeException("Stub!"); }
49 
append(@ibcore.util.Nullable java.lang.CharSequence s, int start, int end)50 @libcore.util.NonNull public java.lang.StringBuilder append(@libcore.util.Nullable java.lang.CharSequence s, int start, int end) { throw new RuntimeException("Stub!"); }
51 
append(char[] str)52 @libcore.util.NonNull public java.lang.StringBuilder append(char[] str) { throw new RuntimeException("Stub!"); }
53 
append(char[] str, int offset, int len)54 @libcore.util.NonNull public java.lang.StringBuilder append(char[] str, int offset, int len) { throw new RuntimeException("Stub!"); }
55 
append(boolean b)56 @libcore.util.NonNull public java.lang.StringBuilder append(boolean b) { throw new RuntimeException("Stub!"); }
57 
append(char c)58 @libcore.util.NonNull public java.lang.StringBuilder append(char c) { throw new RuntimeException("Stub!"); }
59 
append(int i)60 @libcore.util.NonNull public java.lang.StringBuilder append(int i) { throw new RuntimeException("Stub!"); }
61 
append(long lng)62 @libcore.util.NonNull public java.lang.StringBuilder append(long lng) { throw new RuntimeException("Stub!"); }
63 
append(float f)64 @libcore.util.NonNull public java.lang.StringBuilder append(float f) { throw new RuntimeException("Stub!"); }
65 
append(double d)66 @libcore.util.NonNull public java.lang.StringBuilder append(double d) { throw new RuntimeException("Stub!"); }
67 
appendCodePoint(int codePoint)68 @libcore.util.NonNull public java.lang.StringBuilder appendCodePoint(int codePoint) { throw new RuntimeException("Stub!"); }
69 
delete(int start, int end)70 @libcore.util.NonNull public java.lang.StringBuilder delete(int start, int end) { throw new RuntimeException("Stub!"); }
71 
deleteCharAt(int index)72 @libcore.util.NonNull public java.lang.StringBuilder deleteCharAt(int index) { throw new RuntimeException("Stub!"); }
73 
replace(int start, int end, @libcore.util.NonNull java.lang.String str)74 @libcore.util.NonNull public java.lang.StringBuilder replace(int start, int end, @libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); }
75 
insert(int index, char[] str, int offset, int len)76 @libcore.util.NonNull public java.lang.StringBuilder insert(int index, char[] str, int offset, int len) { throw new RuntimeException("Stub!"); }
77 
insert(int offset, @libcore.util.Nullable java.lang.Object obj)78 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); }
79 
insert(int offset, @libcore.util.Nullable java.lang.String str)80 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java.lang.String str) { throw new RuntimeException("Stub!"); }
81 
insert(int offset, char[] str)82 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char[] str) { throw new RuntimeException("Stub!"); }
83 
insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s)84 @libcore.util.NonNull public java.lang.StringBuilder insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s) { throw new RuntimeException("Stub!"); }
85 
insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s, int start, int end)86 @libcore.util.NonNull public java.lang.StringBuilder insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s, int start, int end) { throw new RuntimeException("Stub!"); }
87 
insert(int offset, boolean b)88 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, boolean b) { throw new RuntimeException("Stub!"); }
89 
insert(int offset, char c)90 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char c) { throw new RuntimeException("Stub!"); }
91 
insert(int offset, int i)92 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, int i) { throw new RuntimeException("Stub!"); }
93 
insert(int offset, long l)94 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, long l) { throw new RuntimeException("Stub!"); }
95 
insert(int offset, float f)96 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, float f) { throw new RuntimeException("Stub!"); }
97 
insert(int offset, double d)98 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, double d) { throw new RuntimeException("Stub!"); }
99 
indexOf(@ibcore.util.NonNull java.lang.String str)100 public int indexOf(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); }
101 
indexOf(@ibcore.util.NonNull java.lang.String str, int fromIndex)102 public int indexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeException("Stub!"); }
103 
lastIndexOf(@ibcore.util.NonNull java.lang.String str)104 public int lastIndexOf(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); }
105 
lastIndexOf(@ibcore.util.NonNull java.lang.String str, int fromIndex)106 public int lastIndexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeException("Stub!"); }
107 
reverse()108 @libcore.util.NonNull public java.lang.StringBuilder reverse() { throw new RuntimeException("Stub!"); }
109 
toString()110 @libcore.util.NonNull public java.lang.String toString() { throw new RuntimeException("Stub!"); }
111 
trimToSize()112 public void trimToSize() { throw new RuntimeException("Stub!"); }
113 
codePointAt(int index)114 public int codePointAt(int index) { throw new RuntimeException("Stub!"); }
115 
getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)116 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { throw new RuntimeException("Stub!"); }
117 
length()118 public int length() { throw new RuntimeException("Stub!"); }
119 
setCharAt(int index, char ch)120 public void setCharAt(int index, char ch) { throw new RuntimeException("Stub!"); }
121 
subSequence(int start, int end)122 @libcore.util.NonNull public java.lang.CharSequence subSequence(int start, int end) { throw new RuntimeException("Stub!"); }
123 
substring(int start)124 @libcore.util.NonNull public java.lang.String substring(int start) { throw new RuntimeException("Stub!"); }
125 
substring(int start, int end)126 @libcore.util.NonNull public java.lang.String substring(int start, int end) { throw new RuntimeException("Stub!"); }
127 
capacity()128 public int capacity() { throw new RuntimeException("Stub!"); }
129 
setLength(int newLength)130 public void setLength(int newLength) { throw new RuntimeException("Stub!"); }
131 
ensureCapacity(int minimumCapacity)132 public void ensureCapacity(int minimumCapacity) { throw new RuntimeException("Stub!"); }
133 
codePointBefore(int index)134 public int codePointBefore(int index) { throw new RuntimeException("Stub!"); }
135 
charAt(int index)136 public char charAt(int index) { throw new RuntimeException("Stub!"); }
137 
codePointCount(int beginIndex, int endIndex)138 public int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("Stub!"); }
139 
offsetByCodePoints(int index, int codePointOffset)140 public int offsetByCodePoints(int index, int codePointOffset) { throw new RuntimeException("Stub!"); }
141 
compareTo(@ibcore.util.NonNull StringBuilder another)142 public int compareTo(@libcore.util.NonNull StringBuilder another) { throw new RuntimeException("Stub!"); }
143 }
144 
145