140 lines
3.7 KiB
Smali
140 lines
3.7 KiB
Smali
.class public abstract Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;
|
|
.super Ljava/lang/Object;
|
|
.source "FieldSerializer.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/esotericsoftware/kryo/serializers/FieldSerializer;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "CachedField"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<X:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public access:Lf/g/b/c;
|
|
|
|
.field public accessIndex:I
|
|
|
|
.field public canBeNull:Z
|
|
|
|
.field public field:Ljava/lang/reflect/Field;
|
|
|
|
.field public offset:J
|
|
|
|
.field public serializer:Lcom/esotericsoftware/kryo/Serializer;
|
|
|
|
.field public valueClass:Ljava/lang/Class;
|
|
|
|
.field public varIntsEnabled:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->accessIndex:I
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
iput-wide v0, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->offset:J
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->varIntsEnabled:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract copy(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.end method
|
|
|
|
.method public getField()Ljava/lang/reflect/Field;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->field:Ljava/lang/reflect/Field;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSerializer()Lcom/esotericsoftware/kryo/Serializer;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->serializer:Lcom/esotericsoftware/kryo/Serializer;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public abstract read(Lcom/esotericsoftware/kryo/io/Input;Ljava/lang/Object;)V
|
|
.end method
|
|
|
|
.method public setCanBeNull(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->canBeNull:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setClass(Ljava/lang/Class;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->valueClass:Ljava/lang/Class;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->serializer:Lcom/esotericsoftware/kryo/Serializer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setClass(Ljava/lang/Class;Lcom/esotericsoftware/kryo/Serializer;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->valueClass:Ljava/lang/Class;
|
|
|
|
iput-object p2, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->serializer:Lcom/esotericsoftware/kryo/Serializer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSerializer(Lcom/esotericsoftware/kryo/Serializer;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->serializer:Lcom/esotericsoftware/kryo/Serializer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->field:Ljava/lang/reflect/Field;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/reflect/Field;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public abstract write(Lcom/esotericsoftware/kryo/io/Output;Ljava/lang/Object;)V
|
|
.end method
|