You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.4 KiB
75 lines
1.4 KiB
.class Lcom/google/gson/internal/Streams$AppendableWriter$CurrentWrite; |
|
.super Ljava/lang/Object; |
|
.source "Streams.java" |
|
|
|
# interfaces |
|
.implements Ljava/lang/CharSequence; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/gson/internal/Streams$AppendableWriter; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x8 |
|
name = "CurrentWrite" |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field chars:[C |
|
|
|
|
|
# direct methods |
|
.method constructor <init>()V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 107 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public charAt(I)C |
|
.locals 1 |
|
|
|
.prologue |
|
.line 113 |
|
iget-object v0, p0, Lcom/google/gson/internal/Streams$AppendableWriter$CurrentWrite;->chars:[C |
|
|
|
aget-char v0, v0, p1 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public length()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 110 |
|
iget-object v0, p0, Lcom/google/gson/internal/Streams$AppendableWriter$CurrentWrite;->chars:[C |
|
|
|
array-length v0, v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public subSequence(II)Ljava/lang/CharSequence; |
|
.locals 3 |
|
|
|
.prologue |
|
.line 116 |
|
new-instance v0, Ljava/lang/String; |
|
|
|
iget-object v1, p0, Lcom/google/gson/internal/Streams$AppendableWriter$CurrentWrite;->chars:[C |
|
|
|
sub-int v2, p2, p1 |
|
|
|
invoke-direct {v0, v1, p1, v2}, Ljava/lang/String;-><init>([CII)V |
|
|
|
return-object v0 |
|
.end method
|
|
|