61 lines
1.6 KiB
Smali
61 lines
1.6 KiB
Smali
.class Lcom/miguelgaeta/spanner/Spanner$1;
|
|
.super Ljava/lang/Object;
|
|
.source "Spanner.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/miguelgaeta/spanner/Spanner$OnMatchListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/miguelgaeta/spanner/Spanner;->addMarkdownStrategy()Lcom/miguelgaeta/spanner/Spanner;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/miguelgaeta/spanner/Spanner;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/miguelgaeta/spanner/Spanner;)V
|
|
.locals 0
|
|
.param p1, "this$0" # Lcom/miguelgaeta/spanner/Spanner;
|
|
|
|
.prologue
|
|
iput-object p1, p0, Lcom/miguelgaeta/spanner/Spanner$1;->this$0:Lcom/miguelgaeta/spanner/Spanner;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public call(Ljava/lang/String;)Lcom/miguelgaeta/spanner/Spanner$Replacement;
|
|
.locals 4
|
|
.param p1, "match" # Ljava/lang/String;
|
|
|
|
.prologue
|
|
new-instance v0, Lcom/miguelgaeta/spanner/Spanner$Replacement;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v1, v1, [Landroid/text/style/CharacterStyle;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {}, Lcom/miguelgaeta/spanner/SpanHelpers;->createItalicSpan()Landroid/text/style/CharacterStyle;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
invoke-direct {v0, p1, v1}, Lcom/miguelgaeta/spanner/Spanner$Replacement;-><init>(Ljava/lang/String;[Landroid/text/style/CharacterStyle;)V
|
|
|
|
return-object v0
|
|
.end method
|