public class android.text.style.SuggestionSpan extends android.text.style.CharacterStyle implements android.text.ParcelableSpan
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.text.style.SuggestionSpan
super_class: android.text.style.CharacterStyle
{
private static final java.lang.String TAG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SuggestionSpan"
public static final int FLAG_EASY_CORRECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int FLAG_MISSPELLED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int FLAG_AUTO_CORRECTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final java.lang.String ACTION_SUGGESTION_PICKED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.text.style.SUGGESTION_PICKED"
public static final java.lang.String SUGGESTION_SPAN_PICKED_AFTER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "after"
public static final java.lang.String SUGGESTION_SPAN_PICKED_BEFORE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "before"
public static final java.lang.String SUGGESTION_SPAN_PICKED_HASHCODE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "hashcode"
public static final int SUGGESTIONS_MAX_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private int mFlags;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.String[] mSuggestions;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String mLocaleStringForCompatibility;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String mLanguageTag;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String mNotificationTargetClassName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String mNotificationTargetPackageName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int mHashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private float mEasyCorrectUnderlineThickness;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private int mEasyCorrectUnderlineColor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float mMisspelledUnderlineThickness;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private int mMisspelledUnderlineColor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float mAutoCorrectionUnderlineThickness;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private int mAutoCorrectionUnderlineColor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static final android.os.Parcelable$Creator<android.text.style.SuggestionSpan> CREATOR;
descriptor: Landroid/os/Parcelable$Creator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Landroid/os/Parcelable$Creator<Landroid/text/style/SuggestionSpan;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new android.text.style.SuggestionSpan$1
dup
invokespecial android.text.style.SuggestionSpan$1.<init>:()V
1: putstatic android.text.style.SuggestionSpan.CREATOR:Landroid/os/Parcelable$Creator;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(android.content.Context, java.lang.String[], int);
descriptor: (Landroid/content/Context;[Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aconst_null
aload 2
iload 3
aconst_null
invokespecial android.text.style.SuggestionSpan.<init>:(Landroid/content/Context;Ljava/util/Locale;[Ljava/lang/String;ILjava/lang/Class;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/text/style/SuggestionSpan;
0 2 1 context Landroid/content/Context;
0 2 2 suggestions [Ljava/lang/String;
0 2 3 flags I
MethodParameters:
Name Flags
context
suggestions
flags
public void <init>(java.util.Locale, java.lang.String[], int);
descriptor: (Ljava/util/Locale;[Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
aload 1
aload 2
iload 3
aconst_null
invokespecial android.text.style.SuggestionSpan.<init>:(Landroid/content/Context;Ljava/util/Locale;[Ljava/lang/String;ILjava/lang/Class;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/text/style/SuggestionSpan;
0 2 1 locale Ljava/util/Locale;
0 2 2 suggestions [Ljava/lang/String;
0 2 3 flags I
MethodParameters:
Name Flags
locale
suggestions
flags
public void <init>(android.content.Context, java.util.Locale, java.lang.String[], int, java.lang.Class<?>);
descriptor: (Landroid/content/Context;Ljava/util/Locale;[Ljava/lang/String;ILjava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial android.text.style.CharacterStyle.<init>:()V
1: iconst_5
aload 3
arraylength
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 2: aload 0
aload 3
iload 6
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
3: aload 0
iload 4
putfield android.text.style.SuggestionSpan.mFlags:I
4: aload 2
ifnull 7
5: aload 2
astore 7
start local 7 6: goto 12
end local 7 StackMap locals: android.text.style.SuggestionSpan android.content.Context java.util.Locale java.lang.String[] int java.lang.Class int
StackMap stack:
7: aload 1
ifnull 10
8: aload 1
invokevirtual android.content.Context.getResources:()Landroid/content/res/Resources;
invokevirtual android.content.res.Resources.getConfiguration:()Landroid/content/res/Configuration;
getfield android.content.res.Configuration.locale:Ljava/util/Locale;
astore 7
start local 7 9: goto 12
end local 7 10: StackMap locals:
StackMap stack:
ldc "SuggestionSpan"
ldc "No locale or context specified in SuggestionSpan constructor"
invokestatic android.util.Log.e:(Ljava/lang/String;Ljava/lang/String;)I
pop
11: aconst_null
astore 7
start local 7 12: StackMap locals: java.util.Locale
StackMap stack:
aload 0
aload 7
ifnonnull 13
ldc ""
goto 14
StackMap locals:
StackMap stack: android.text.style.SuggestionSpan
13: aload 7
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
StackMap locals: android.text.style.SuggestionSpan android.content.Context java.util.Locale java.lang.String[] int java.lang.Class int java.util.Locale
StackMap stack: android.text.style.SuggestionSpan java.lang.String
14: putfield android.text.style.SuggestionSpan.mLocaleStringForCompatibility:Ljava/lang/String;
15: aload 0
aload 7
ifnonnull 16
ldc ""
goto 17
StackMap locals:
StackMap stack: android.text.style.SuggestionSpan
16: aload 7
invokevirtual java.util.Locale.toLanguageTag:()Ljava/lang/String;
StackMap locals: android.text.style.SuggestionSpan android.content.Context java.util.Locale java.lang.String[] int java.lang.Class int java.util.Locale
StackMap stack: android.text.style.SuggestionSpan java.lang.String
17: putfield android.text.style.SuggestionSpan.mLanguageTag:Ljava/lang/String;
18: aload 1
ifnull 21
19: aload 0
aload 1
invokevirtual android.content.Context.getPackageName:()Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mNotificationTargetPackageName:Ljava/lang/String;
20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield android.text.style.SuggestionSpan.mNotificationTargetPackageName:Ljava/lang/String;
22: StackMap locals:
StackMap stack:
aload 5
ifnull 25
23: aload 0
aload 5
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
24: goto 26
25: StackMap locals:
StackMap stack:
aload 0
ldc ""
putfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
26: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
aload 0
getfield android.text.style.SuggestionSpan.mLanguageTag:Ljava/lang/String;
aload 0
getfield android.text.style.SuggestionSpan.mLocaleStringForCompatibility:Ljava/lang/String;
27: aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
28: invokestatic android.text.style.SuggestionSpan.hashCodeInternal:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
putfield android.text.style.SuggestionSpan.mHashCode:I
29: aload 0
aload 1
invokevirtual android.text.style.SuggestionSpan.initStyle:(Landroid/content/Context;)V
30: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Landroid/text/style/SuggestionSpan;
0 31 1 context Landroid/content/Context;
0 31 2 locale Ljava/util/Locale;
0 31 3 suggestions [Ljava/lang/String;
0 31 4 flags I
0 31 5 notificationTargetClass Ljava/lang/Class<*>;
2 31 6 N I
6 7 7 sourceLocale Ljava/util/Locale;
9 10 7 sourceLocale Ljava/util/Locale;
12 31 7 sourceLocale Ljava/util/Locale;
Signature: (Landroid/content/Context;Ljava/util/Locale;[Ljava/lang/String;ILjava/lang/Class<*>;)V
MethodParameters:
Name Flags
context
locale
suggestions
flags
notificationTargetClass
private void initStyle(android.content.Context);
descriptor: (Landroid/content/Context;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tcom.android.internal.R.attr cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.attr cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.attr cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n\tcom.android.internal.R.styleable cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
MethodParameters:
Name Flags
context
public void <init>(android.os.Parcel);
descriptor: (Landroid/os/Parcel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial android.text.style.CharacterStyle.<init>:()V
1: aload 0
aload 1
invokevirtual android.os.Parcel.readStringArray:()[Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
2: aload 0
aload 1
invokevirtual android.os.Parcel.readInt:()I
putfield android.text.style.SuggestionSpan.mFlags:I
3: aload 0
aload 1
invokevirtual android.os.Parcel.readString:()Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mLocaleStringForCompatibility:Ljava/lang/String;
4: aload 0
aload 1
invokevirtual android.os.Parcel.readString:()Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mLanguageTag:Ljava/lang/String;
5: aload 0
aload 1
invokevirtual android.os.Parcel.readString:()Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
6: aload 0
aload 1
invokevirtual android.os.Parcel.readString:()Ljava/lang/String;
putfield android.text.style.SuggestionSpan.mNotificationTargetPackageName:Ljava/lang/String;
7: aload 0
aload 1
invokevirtual android.os.Parcel.readInt:()I
putfield android.text.style.SuggestionSpan.mHashCode:I
8: aload 0
aload 1
invokevirtual android.os.Parcel.readInt:()I
putfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineColor:I
9: aload 0
aload 1
invokevirtual android.os.Parcel.readFloat:()F
putfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineThickness:F
10: aload 0
aload 1
invokevirtual android.os.Parcel.readInt:()I
putfield android.text.style.SuggestionSpan.mMisspelledUnderlineColor:I
11: aload 0
aload 1
invokevirtual android.os.Parcel.readFloat:()F
putfield android.text.style.SuggestionSpan.mMisspelledUnderlineThickness:F
12: aload 0
aload 1
invokevirtual android.os.Parcel.readInt:()I
putfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineColor:I
13: aload 0
aload 1
invokevirtual android.os.Parcel.readFloat:()F
putfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineThickness:F
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Landroid/text/style/SuggestionSpan;
0 15 1 src Landroid/os/Parcel;
MethodParameters:
Name Flags
src
public java.lang.String[] getSuggestions();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
public java.lang.String getLocale();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mLocaleStringForCompatibility:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.util.Locale getLocaleObject();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mLanguageTag:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield android.text.style.SuggestionSpan.mLanguageTag:Ljava/lang/String;
invokestatic java.util.Locale.forLanguageTag:(Ljava/lang/String;)Ljava/util/Locale;
StackMap locals:
StackMap stack: java.util.Locale
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Landroid/text/style/SuggestionSpan;
public java.lang.String getNotificationTargetClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
public int getFlags();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
public void setFlags(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield android.text.style.SuggestionSpan.mFlags:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/text/style/SuggestionSpan;
0 2 1 flags I
MethodParameters:
Name Flags
flags
public int describeContents();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
public void writeToParcel(android.os.Parcel, int);
descriptor: (Landroid/os/Parcel;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual android.text.style.SuggestionSpan.writeToParcelInternal:(Landroid/os/Parcel;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/text/style/SuggestionSpan;
0 2 1 dest Landroid/os/Parcel;
0 2 2 flags I
MethodParameters:
Name Flags
dest
flags
public void writeToParcelInternal(android.os.Parcel, int);
descriptor: (Landroid/os/Parcel;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
invokevirtual android.os.Parcel.writeStringArray:([Ljava/lang/String;)V
1: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
invokevirtual android.os.Parcel.writeInt:(I)V
2: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mLocaleStringForCompatibility:Ljava/lang/String;
invokevirtual android.os.Parcel.writeString:(Ljava/lang/String;)V
3: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mLanguageTag:Ljava/lang/String;
invokevirtual android.os.Parcel.writeString:(Ljava/lang/String;)V
4: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
invokevirtual android.os.Parcel.writeString:(Ljava/lang/String;)V
5: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetPackageName:Ljava/lang/String;
invokevirtual android.os.Parcel.writeString:(Ljava/lang/String;)V
6: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mHashCode:I
invokevirtual android.os.Parcel.writeInt:(I)V
7: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineColor:I
invokevirtual android.os.Parcel.writeInt:(I)V
8: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineThickness:F
invokevirtual android.os.Parcel.writeFloat:(F)V
9: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mMisspelledUnderlineColor:I
invokevirtual android.os.Parcel.writeInt:(I)V
10: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mMisspelledUnderlineThickness:F
invokevirtual android.os.Parcel.writeFloat:(F)V
11: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineColor:I
invokevirtual android.os.Parcel.writeInt:(I)V
12: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineThickness:F
invokevirtual android.os.Parcel.writeFloat:(F)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Landroid/text/style/SuggestionSpan;
0 14 1 dest Landroid/os/Parcel;
0 14 2 flags I
MethodParameters:
Name Flags
dest
flags
public int getSpanTypeId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual android.text.style.SuggestionSpan.getSpanTypeIdInternal:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
public int getSpanTypeIdInternal();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 19
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof android.text.style.SuggestionSpan
ifeq 3
1: aload 1
checkcast android.text.style.SuggestionSpan
invokevirtual android.text.style.SuggestionSpan.hashCode:()I
aload 0
getfield android.text.style.SuggestionSpan.mHashCode:I
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/text/style/SuggestionSpan;
0 4 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mHashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/style/SuggestionSpan;
private static int hashCodeInternal(java.lang.String[], java.lang.String, java.lang.String, java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_5
anewarray java.lang.Object
dup
iconst_0
invokestatic android.os.SystemClock.uptimeMillis:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
aastore
dup
iconst_2
1: aload 1
aastore
dup
iconst_3
aload 2
aastore
dup
iconst_4
aload 3
aastore
2: invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 suggestions [Ljava/lang/String;
0 3 1 languageTag Ljava/lang/String;
0 3 2 localeStringForCompatibility Ljava/lang/String;
0 3 3 notificationTargetClassName Ljava/lang/String;
MethodParameters:
Name Flags
suggestions
languageTag
localeStringForCompatibility
notificationTargetClassName
public void updateDrawState(android.text.TextPaint);
descriptor: (Landroid/text/TextPaint;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
iconst_2
iand
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
iconst_1
iand
ifeq 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
iconst_4
iand
ifeq 7
iconst_1
goto 8
StackMap locals: int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: iload 3
ifeq 16
10: iload 2
ifne 13
11: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineColor:I
aload 0
getfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineThickness:F
invokevirtual android.text.TextPaint.setUnderlineText:(IF)V
12: goto 18
StackMap locals: int
StackMap stack:
13: aload 1
getfield android.text.TextPaint.underlineColor:I
ifne 18
14: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mMisspelledUnderlineColor:I
aload 0
getfield android.text.style.SuggestionSpan.mMisspelledUnderlineThickness:F
invokevirtual android.text.TextPaint.setUnderlineText:(IF)V
15: goto 18
StackMap locals:
StackMap stack:
16: iload 4
ifeq 18
17: aload 1
aload 0
getfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineColor:I
aload 0
getfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineThickness:F
invokevirtual android.text.TextPaint.setUnderlineText:(IF)V
18: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Landroid/text/style/SuggestionSpan;
0 19 1 tp Landroid/text/TextPaint;
3 19 2 misspelled Z
6 19 3 easy Z
9 19 4 autoCorrection Z
MethodParameters:
Name Flags
tp
public int getUnderlineColor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
iconst_2
iand
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
iconst_1
iand
ifeq 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 2
start local 2 6: aload 0
getfield android.text.style.SuggestionSpan.mFlags:I
iconst_4
iand
ifeq 7
iconst_1
goto 8
StackMap locals: int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 3
start local 3 9: iload 2
ifeq 13
10: iload 1
ifne 12
11: aload 0
getfield android.text.style.SuggestionSpan.mEasyCorrectUnderlineColor:I
ireturn
12: StackMap locals: int
StackMap stack:
aload 0
getfield android.text.style.SuggestionSpan.mMisspelledUnderlineColor:I
ireturn
13: StackMap locals:
StackMap stack:
iload 3
ifeq 15
14: aload 0
getfield android.text.style.SuggestionSpan.mAutoCorrectionUnderlineColor:I
ireturn
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Landroid/text/style/SuggestionSpan;
3 16 1 misspelled Z
6 16 2 easy Z
9 16 3 autoCorrection Z
public void notifySelection(android.content.Context, java.lang.String, int);
descriptor: (Landroid/content/Context;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new android.content.Intent
dup
invokespecial android.content.Intent.<init>:()V
astore 4
start local 4 1: aload 1
ifnull 2
aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
ifnonnull 3
2: StackMap locals: android.content.Intent
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
ifnull 4
iload 3
iflt 4
iload 3
aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
arraylength
if_icmplt 8
4: StackMap locals:
StackMap stack:
ldc "SuggestionSpan"
new java.lang.StringBuilder
dup
ldc "Unable to notify the suggestion as the index is out of range index="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: ldc " length="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokestatic android.util.Log.w:(Ljava/lang/String;Ljava/lang/String;)I
pop
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetPackageName:Ljava/lang/String;
ifnull 16
9: aload 4
aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetPackageName:Ljava/lang/String;
aload 0
getfield android.text.style.SuggestionSpan.mNotificationTargetClassName:Ljava/lang/String;
invokevirtual android.content.Intent.setClassName:(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
pop
10: aload 4
ldc "android.text.style.SUGGESTION_PICKED"
invokevirtual android.content.Intent.setAction:(Ljava/lang/String;)Landroid/content/Intent;
pop
11: aload 4
ldc "before"
aload 2
invokevirtual android.content.Intent.putExtra:(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
pop
12: aload 4
ldc "after"
aload 0
getfield android.text.style.SuggestionSpan.mSuggestions:[Ljava/lang/String;
iload 3
aaload
invokevirtual android.content.Intent.putExtra:(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
pop
13: aload 4
ldc "hashcode"
aload 0
invokevirtual android.text.style.SuggestionSpan.hashCode:()I
invokevirtual android.content.Intent.putExtra:(Ljava/lang/String;I)Landroid/content/Intent;
pop
14: aload 1
aload 4
invokevirtual android.content.Context.sendBroadcast:(Landroid/content/Intent;)V
15: goto 19
16: StackMap locals:
StackMap stack:
invokestatic android.view.inputmethod.InputMethodManager.peekInstance:()Landroid/view/inputmethod/InputMethodManager;
astore 5
start local 5 17: aload 5
ifnull 19
18: aload 5
aload 0
aload 2
iload 3
invokevirtual android.view.inputmethod.InputMethodManager.notifySuggestionPicked:(Landroid/text/style/SuggestionSpan;Ljava/lang/String;I)V
end local 5 19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Landroid/text/style/SuggestionSpan;
0 20 1 context Landroid/content/Context;
0 20 2 original Ljava/lang/String;
0 20 3 index I
1 20 4 intent Landroid/content/Intent;
17 19 5 imm Landroid/view/inputmethod/InputMethodManager;
MethodParameters:
Name Flags
context
original
index
}
SourceFile: "SuggestionSpan.java"
NestMembers:
android.text.style.SuggestionSpan$1
InnerClasses:
public abstract Creator = android.os.Parcelable$Creator of android.os.Parcelable
android.text.style.SuggestionSpan$1