mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Add Editable.toString flow step
This commit is contained in:
29
java/ql/test/stubs/google-android-9.0.0/android/text/Editable.java
generated
Normal file
29
java/ql/test/stubs/google-android-9.0.0/android/text/Editable.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from android.text.Editable for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.text.GetChars;
|
||||
import android.text.InputFilter;
|
||||
import android.text.Spannable;
|
||||
|
||||
public interface Editable extends Appendable, CharSequence, GetChars, Spannable
|
||||
{
|
||||
Editable append(CharSequence p0);
|
||||
Editable append(CharSequence p0, int p1, int p2);
|
||||
Editable append(char p0);
|
||||
Editable delete(int p0, int p1);
|
||||
Editable insert(int p0, CharSequence p1);
|
||||
Editable insert(int p0, CharSequence p1, int p2, int p3);
|
||||
Editable replace(int p0, int p1, CharSequence p2);
|
||||
Editable replace(int p0, int p1, CharSequence p2, int p3, int p4);
|
||||
InputFilter[] getFilters();
|
||||
static public class Factory
|
||||
{
|
||||
public Editable newEditable(CharSequence p0){ return null; }
|
||||
public Factory(){}
|
||||
public static Editable.Factory getInstance(){ return null; }
|
||||
}
|
||||
void clear();
|
||||
void clearSpans();
|
||||
void setFilters(InputFilter[] p0);
|
||||
}
|
||||
9
java/ql/test/stubs/google-android-9.0.0/android/text/GetChars.java
generated
Normal file
9
java/ql/test/stubs/google-android-9.0.0/android/text/GetChars.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from android.text.GetChars for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
|
||||
public interface GetChars extends CharSequence
|
||||
{
|
||||
void getChars(int p0, int p1, char[] p2, int p3);
|
||||
}
|
||||
10
java/ql/test/stubs/google-android-9.0.0/android/text/InputFilter.java
generated
Normal file
10
java/ql/test/stubs/google-android-9.0.0/android/text/InputFilter.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.text.InputFilter for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.text.Spanned;
|
||||
|
||||
public interface InputFilter
|
||||
{
|
||||
CharSequence filter(CharSequence p0, int p1, int p2, Spanned p3, int p4, int p5);
|
||||
}
|
||||
83
java/ql/test/stubs/google-android-9.0.0/android/text/Layout.java
generated
Normal file
83
java/ql/test/stubs/google-android-9.0.0/android/text/Layout.java
generated
Normal file
@@ -0,0 +1,83 @@
|
||||
// Generated automatically from android.text.Layout for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Path;
|
||||
import android.graphics.Rect;
|
||||
import android.text.TextPaint;
|
||||
|
||||
abstract public class Layout
|
||||
{
|
||||
protected Layout() {}
|
||||
protected Layout(CharSequence p0, TextPaint p1, int p2, Layout.Alignment p3, float p4, float p5){}
|
||||
protected final boolean isSpanned(){ return false; }
|
||||
public abstract Layout.Directions getLineDirections(int p0);
|
||||
public abstract boolean getLineContainsTab(int p0);
|
||||
public abstract int getBottomPadding();
|
||||
public abstract int getEllipsisCount(int p0);
|
||||
public abstract int getEllipsisStart(int p0);
|
||||
public abstract int getLineCount();
|
||||
public abstract int getLineDescent(int p0);
|
||||
public abstract int getLineStart(int p0);
|
||||
public abstract int getLineTop(int p0);
|
||||
public abstract int getParagraphDirection(int p0);
|
||||
public abstract int getTopPadding();
|
||||
public boolean isRtlCharAt(int p0){ return false; }
|
||||
public final CharSequence getText(){ return null; }
|
||||
public final Layout.Alignment getAlignment(){ return null; }
|
||||
public final Layout.Alignment getParagraphAlignment(int p0){ return null; }
|
||||
public final TextPaint getPaint(){ return null; }
|
||||
public final float getSpacingAdd(){ return 0; }
|
||||
public final float getSpacingMultiplier(){ return 0; }
|
||||
public final int getLineAscent(int p0){ return 0; }
|
||||
public final int getLineBaseline(int p0){ return 0; }
|
||||
public final int getLineBottom(int p0){ return 0; }
|
||||
public final int getLineEnd(int p0){ return 0; }
|
||||
public final int getParagraphLeft(int p0){ return 0; }
|
||||
public final int getParagraphRight(int p0){ return 0; }
|
||||
public final int getWidth(){ return 0; }
|
||||
public final void increaseWidthTo(int p0){}
|
||||
public float getLineLeft(int p0){ return 0; }
|
||||
public float getLineMax(int p0){ return 0; }
|
||||
public float getLineRight(int p0){ return 0; }
|
||||
public float getLineWidth(int p0){ return 0; }
|
||||
public float getPrimaryHorizontal(int p0){ return 0; }
|
||||
public float getSecondaryHorizontal(int p0){ return 0; }
|
||||
public int getEllipsizedWidth(){ return 0; }
|
||||
public int getHeight(){ return 0; }
|
||||
public int getLineBounds(int p0, Rect p1){ return 0; }
|
||||
public int getLineForOffset(int p0){ return 0; }
|
||||
public int getLineForVertical(int p0){ return 0; }
|
||||
public int getLineVisibleEnd(int p0){ return 0; }
|
||||
public int getOffsetForHorizontal(int p0, float p1){ return 0; }
|
||||
public int getOffsetToLeftOf(int p0){ return 0; }
|
||||
public int getOffsetToRightOf(int p0){ return 0; }
|
||||
public static float DEFAULT_LINESPACING_ADDITION = 0;
|
||||
public static float DEFAULT_LINESPACING_MULTIPLIER = 0;
|
||||
public static float getDesiredWidth(CharSequence p0, TextPaint p1){ return 0; }
|
||||
public static float getDesiredWidth(CharSequence p0, int p1, int p2, TextPaint p3){ return 0; }
|
||||
public static int BREAK_STRATEGY_BALANCED = 0;
|
||||
public static int BREAK_STRATEGY_HIGH_QUALITY = 0;
|
||||
public static int BREAK_STRATEGY_SIMPLE = 0;
|
||||
public static int DIR_LEFT_TO_RIGHT = 0;
|
||||
public static int DIR_RIGHT_TO_LEFT = 0;
|
||||
public static int HYPHENATION_FREQUENCY_FULL = 0;
|
||||
public static int HYPHENATION_FREQUENCY_NONE = 0;
|
||||
public static int HYPHENATION_FREQUENCY_NORMAL = 0;
|
||||
public static int JUSTIFICATION_MODE_INTER_WORD = 0;
|
||||
public static int JUSTIFICATION_MODE_NONE = 0;
|
||||
public void draw(Canvas p0){}
|
||||
public void draw(Canvas p0, Path p1, Paint p2, int p3){}
|
||||
public void getCursorPath(int p0, Path p1, CharSequence p2){}
|
||||
public void getSelectionPath(int p0, int p1, Path p2){}
|
||||
static public class Directions
|
||||
{
|
||||
}
|
||||
static public enum Alignment
|
||||
{
|
||||
ALIGN_CENTER, ALIGN_NORMAL, ALIGN_OPPOSITE;
|
||||
private Alignment() {}
|
||||
}
|
||||
}
|
||||
8
java/ql/test/stubs/google-android-9.0.0/android/text/NoCopySpan.java
generated
Normal file
8
java/ql/test/stubs/google-android-9.0.0/android/text/NoCopySpan.java
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
// Generated automatically from android.text.NoCopySpan for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
|
||||
public interface NoCopySpan
|
||||
{
|
||||
}
|
||||
10
java/ql/test/stubs/google-android-9.0.0/android/text/ParcelableSpan.java
generated
Normal file
10
java/ql/test/stubs/google-android-9.0.0/android/text/ParcelableSpan.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.text.ParcelableSpan for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.os.Parcelable;
|
||||
|
||||
public interface ParcelableSpan extends Parcelable
|
||||
{
|
||||
int getSpanTypeId();
|
||||
}
|
||||
41
java/ql/test/stubs/google-android-9.0.0/android/text/PrecomputedText.java
generated
Normal file
41
java/ql/test/stubs/google-android-9.0.0/android/text/PrecomputedText.java
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
// Generated automatically from android.text.PrecomputedText for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.text.Spannable;
|
||||
import android.text.TextDirectionHeuristic;
|
||||
import android.text.TextPaint;
|
||||
|
||||
public class PrecomputedText implements Spannable
|
||||
{
|
||||
protected PrecomputedText() {}
|
||||
public <T> T[] getSpans(int p0, int p1, Class<T> p2){ return null; }
|
||||
public CharSequence subSequence(int p0, int p1){ return null; }
|
||||
public PrecomputedText.Params getParams(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public char charAt(int p0){ return '0'; }
|
||||
public float getWidth(int p0, int p1){ return 0; }
|
||||
public int getParagraphCount(){ return 0; }
|
||||
public int getParagraphEnd(int p0){ return 0; }
|
||||
public int getParagraphStart(int p0){ return 0; }
|
||||
public int getSpanEnd(Object p0){ return 0; }
|
||||
public int getSpanFlags(Object p0){ return 0; }
|
||||
public int getSpanStart(Object p0){ return 0; }
|
||||
public int length(){ return 0; }
|
||||
public int nextSpanTransition(int p0, int p1, Class p2){ return 0; }
|
||||
public static PrecomputedText create(CharSequence p0, PrecomputedText.Params p1){ return null; }
|
||||
public void getBounds(int p0, int p1, Rect p2){}
|
||||
public void removeSpan(Object p0){}
|
||||
public void setSpan(Object p0, int p1, int p2, int p3){}
|
||||
static public class Params
|
||||
{
|
||||
public String toString(){ return null; }
|
||||
public TextDirectionHeuristic getTextDirection(){ return null; }
|
||||
public TextPaint getTextPaint(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int getBreakStrategy(){ return 0; }
|
||||
public int getHyphenationFrequency(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
}
|
||||
}
|
||||
10
java/ql/test/stubs/google-android-9.0.0/android/text/TextDirectionHeuristic.java
generated
Normal file
10
java/ql/test/stubs/google-android-9.0.0/android/text/TextDirectionHeuristic.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.text.TextDirectionHeuristic for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
|
||||
public interface TextDirectionHeuristic
|
||||
{
|
||||
boolean isRtl(CharSequence p0, int p1, int p2);
|
||||
boolean isRtl(char[] p0, int p1, int p2);
|
||||
}
|
||||
75
java/ql/test/stubs/google-android-9.0.0/android/text/TextUtils.java
generated
Normal file
75
java/ql/test/stubs/google-android-9.0.0/android/text/TextUtils.java
generated
Normal file
@@ -0,0 +1,75 @@
|
||||
// Generated automatically from android.text.TextUtils for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.text.Spannable;
|
||||
import android.text.Spanned;
|
||||
import android.text.TextPaint;
|
||||
import android.util.Printer;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public class TextUtils
|
||||
{
|
||||
protected TextUtils() {}
|
||||
public static CharSequence commaEllipsize(CharSequence p0, TextPaint p1, float p2, String p3, String p4){ return null; }
|
||||
public static CharSequence concat(CharSequence... p0){ return null; }
|
||||
public static CharSequence ellipsize(CharSequence p0, TextPaint p1, float p2, TextUtils.TruncateAt p3){ return null; }
|
||||
public static CharSequence ellipsize(CharSequence p0, TextPaint p1, float p2, TextUtils.TruncateAt p3, boolean p4, TextUtils.EllipsizeCallback p5){ return null; }
|
||||
public static CharSequence expandTemplate(CharSequence p0, CharSequence... p1){ return null; }
|
||||
public static CharSequence getReverse(CharSequence p0, int p1, int p2){ return null; }
|
||||
public static CharSequence listEllipsize(Context p0, List<CharSequence> p1, String p2, TextPaint p3, float p4, int p5){ return null; }
|
||||
public static CharSequence makeSafeForPresentation(String p0, int p1, float p2, int p3){ return null; }
|
||||
public static CharSequence replace(CharSequence p0, String[] p1, CharSequence[] p2){ return null; }
|
||||
public static CharSequence stringOrSpannedString(CharSequence p0){ return null; }
|
||||
public static Parcelable.Creator<CharSequence> CHAR_SEQUENCE_CREATOR = null;
|
||||
public static String htmlEncode(String p0){ return null; }
|
||||
public static String join(CharSequence p0, Iterable p1){ return null; }
|
||||
public static String join(CharSequence p0, Object[] p1){ return null; }
|
||||
public static String substring(CharSequence p0, int p1, int p2){ return null; }
|
||||
public static String[] split(String p0, Pattern p1){ return null; }
|
||||
public static String[] split(String p0, String p1){ return null; }
|
||||
public static boolean equals(CharSequence p0, CharSequence p1){ return false; }
|
||||
public static boolean isDigitsOnly(CharSequence p0){ return false; }
|
||||
public static boolean isEmpty(CharSequence p0){ return false; }
|
||||
public static boolean isGraphic(CharSequence p0){ return false; }
|
||||
public static boolean isGraphic(char p0){ return false; }
|
||||
public static boolean regionMatches(CharSequence p0, int p1, CharSequence p2, int p3, int p4){ return false; }
|
||||
public static int CAP_MODE_CHARACTERS = 0;
|
||||
public static int CAP_MODE_SENTENCES = 0;
|
||||
public static int CAP_MODE_WORDS = 0;
|
||||
public static int SAFE_STRING_FLAG_FIRST_LINE = 0;
|
||||
public static int SAFE_STRING_FLAG_SINGLE_LINE = 0;
|
||||
public static int SAFE_STRING_FLAG_TRIM = 0;
|
||||
public static int getCapsMode(CharSequence p0, int p1, int p2){ return 0; }
|
||||
public static int getLayoutDirectionFromLocale(Locale p0){ return 0; }
|
||||
public static int getOffsetAfter(CharSequence p0, int p1){ return 0; }
|
||||
public static int getOffsetBefore(CharSequence p0, int p1){ return 0; }
|
||||
public static int getTrimmedLength(CharSequence p0){ return 0; }
|
||||
public static int indexOf(CharSequence p0, CharSequence p1){ return 0; }
|
||||
public static int indexOf(CharSequence p0, CharSequence p1, int p2){ return 0; }
|
||||
public static int indexOf(CharSequence p0, CharSequence p1, int p2, int p3){ return 0; }
|
||||
public static int indexOf(CharSequence p0, char p1){ return 0; }
|
||||
public static int indexOf(CharSequence p0, char p1, int p2){ return 0; }
|
||||
public static int indexOf(CharSequence p0, char p1, int p2, int p3){ return 0; }
|
||||
public static int lastIndexOf(CharSequence p0, char p1){ return 0; }
|
||||
public static int lastIndexOf(CharSequence p0, char p1, int p2){ return 0; }
|
||||
public static int lastIndexOf(CharSequence p0, char p1, int p2, int p3){ return 0; }
|
||||
public static void copySpansFrom(Spanned p0, int p1, int p2, Class p3, Spannable p4, int p5){}
|
||||
public static void dumpSpans(CharSequence p0, Printer p1, String p2){}
|
||||
public static void getChars(CharSequence p0, int p1, int p2, char[] p3, int p4){}
|
||||
public static void writeToParcel(CharSequence p0, Parcel p1, int p2){}
|
||||
static public enum TruncateAt
|
||||
{
|
||||
END, MARQUEE, MIDDLE, START;
|
||||
private TruncateAt() {}
|
||||
}
|
||||
static public interface EllipsizeCallback
|
||||
{
|
||||
void ellipsized(int p0, int p1);
|
||||
}
|
||||
}
|
||||
13
java/ql/test/stubs/google-android-9.0.0/android/text/TextWatcher.java
generated
Normal file
13
java/ql/test/stubs/google-android-9.0.0/android/text/TextWatcher.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from android.text.TextWatcher for testing purposes
|
||||
|
||||
package android.text;
|
||||
|
||||
import android.text.Editable;
|
||||
import android.text.NoCopySpan;
|
||||
|
||||
public interface TextWatcher extends NoCopySpan
|
||||
{
|
||||
void afterTextChanged(Editable p0);
|
||||
void beforeTextChanged(CharSequence p0, int p1, int p2, int p3);
|
||||
void onTextChanged(CharSequence p0, int p1, int p2, int p3);
|
||||
}
|
||||
16
java/ql/test/stubs/google-android-9.0.0/android/text/method/KeyListener.java
generated
Normal file
16
java/ql/test/stubs/google-android-9.0.0/android/text/method/KeyListener.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from android.text.method.KeyListener for testing purposes
|
||||
|
||||
package android.text.method;
|
||||
|
||||
import android.text.Editable;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.View;
|
||||
|
||||
public interface KeyListener
|
||||
{
|
||||
boolean onKeyDown(View p0, Editable p1, int p2, KeyEvent p3);
|
||||
boolean onKeyOther(View p0, Editable p1, KeyEvent p2);
|
||||
boolean onKeyUp(View p0, Editable p1, int p2, KeyEvent p3);
|
||||
int getInputType();
|
||||
void clearMetaKeyState(View p0, Editable p1, int p2);
|
||||
}
|
||||
21
java/ql/test/stubs/google-android-9.0.0/android/text/method/MovementMethod.java
generated
Normal file
21
java/ql/test/stubs/google-android-9.0.0/android/text/method/MovementMethod.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from android.text.method.MovementMethod for testing purposes
|
||||
|
||||
package android.text.method;
|
||||
|
||||
import android.text.Spannable;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import android.widget.TextView;
|
||||
|
||||
public interface MovementMethod
|
||||
{
|
||||
boolean canSelectArbitrarily();
|
||||
boolean onGenericMotionEvent(TextView p0, Spannable p1, MotionEvent p2);
|
||||
boolean onKeyDown(TextView p0, Spannable p1, int p2, KeyEvent p3);
|
||||
boolean onKeyOther(TextView p0, Spannable p1, KeyEvent p2);
|
||||
boolean onKeyUp(TextView p0, Spannable p1, int p2, KeyEvent p3);
|
||||
boolean onTouchEvent(TextView p0, Spannable p1, MotionEvent p2);
|
||||
boolean onTrackballEvent(TextView p0, Spannable p1, MotionEvent p2);
|
||||
void initialize(TextView p0, Spannable p1);
|
||||
void onTakeFocus(TextView p0, Spannable p1, int p2);
|
||||
}
|
||||
12
java/ql/test/stubs/google-android-9.0.0/android/text/method/TransformationMethod.java
generated
Normal file
12
java/ql/test/stubs/google-android-9.0.0/android/text/method/TransformationMethod.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from android.text.method.TransformationMethod for testing purposes
|
||||
|
||||
package android.text.method;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.View;
|
||||
|
||||
public interface TransformationMethod
|
||||
{
|
||||
CharSequence getTransformation(CharSequence p0, View p1);
|
||||
void onFocusChanged(View p0, CharSequence p1, boolean p2, int p3, Rect p4);
|
||||
}
|
||||
20
java/ql/test/stubs/google-android-9.0.0/android/text/style/URLSpan.java
generated
Normal file
20
java/ql/test/stubs/google-android-9.0.0/android/text/style/URLSpan.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from android.text.style.URLSpan for testing purposes
|
||||
|
||||
package android.text.style;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.text.ParcelableSpan;
|
||||
import android.text.style.ClickableSpan;
|
||||
import android.view.View;
|
||||
|
||||
public class URLSpan extends ClickableSpan implements ParcelableSpan
|
||||
{
|
||||
protected URLSpan() {}
|
||||
public String getURL(){ return null; }
|
||||
public URLSpan(Parcel p0){}
|
||||
public URLSpan(String p0){}
|
||||
public int describeContents(){ return 0; }
|
||||
public int getSpanTypeId(){ return 0; }
|
||||
public void onClick(View p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
Reference in New Issue
Block a user