93 lines
2.8 KiB
Smali
93 lines
2.8 KiB
Smali
|
.class public final Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "TaggedFieldSerializer.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/util/Comparator;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Object;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public compare(Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;)I
|
||
|
.locals 1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->getField()Ljava/lang/reflect/Field;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-class v0, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$Tag;
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/reflect/Field;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$Tag;
|
||
|
|
||
|
invoke-interface {p1}, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$Tag;->value()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-virtual {p2}, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;->getField()Ljava/lang/reflect/Field;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-class v0, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$Tag;
|
||
|
|
||
|
invoke-virtual {p2, v0}, Ljava/lang/reflect/Field;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
check-cast p2, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$Tag;
|
||
|
|
||
|
invoke-interface {p2}, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$Tag;->value()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
sub-int/2addr p1, p2
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;
|
||
|
|
||
|
check-cast p2, Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Lcom/esotericsoftware/kryo/serializers/TaggedFieldSerializer$1;->compare(Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;Lcom/esotericsoftware/kryo/serializers/FieldSerializer$CachedField;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
.end method
|