2020-01-02 21:43:52 +00:00
|
|
|
.class public final Lcom/discord/utilities/textprocessing/Rules$createStrikethroughColoredRule$1;
|
2020-02-20 19:33:18 +00:00
|
|
|
.super Lw/u/b/k;
|
2020-01-02 21:43:52 +00:00
|
|
|
.source "Rules.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/utilities/textprocessing/Rules;->createStrikethroughColoredRule(I)Lcom/discord/simpleast/core/parser/Rule;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-02-20 19:33:18 +00:00
|
|
|
"Lw/u/b/k;",
|
2020-01-02 21:43:52 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Landroid/text/style/CharacterStyle;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $color:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(I)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput p1, p0, Lcom/discord/utilities/textprocessing/Rules$createStrikethroughColoredRule$1;->$color:I
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/Rules$createStrikethroughColoredRule$1;->invoke()Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke()Ljava/util/List;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Landroid/text/style/CharacterStyle;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
new-array v0, v0, [Landroid/text/style/CharacterStyle;
|
|
|
|
|
|
|
|
new-instance v1, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
|
|
|
|
iget v2, p0, Lcom/discord/utilities/textprocessing/Rules$createStrikethroughColoredRule$1;->$color:I
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
new-instance v1, Landroid/text/style/StrikethroughSpan;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Landroid/text/style/StrikethroughSpan;-><init>()V
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v0}, Le/k/a/c/e/p/g;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|