tmap/smali_classes4/com/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter$3.smali
2022-06-10 21:38:30 +09:00

63 lines
1.9 KiB
Smali

.class Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter$3;
.super Ljava/util/HashSet;
.source "AbstractReflectionConverter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter;->doUnmarshal(Ljava/lang/Object;Lcom/thoughtworks/xstream/io/HierarchicalStreamReader;Lcom/thoughtworks/xstream/converters/UnmarshallingContext;)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter;
# direct methods
.method public constructor <init>(Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter;)V
.locals 0
.line 1
iput-object p1, p0, Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter$3;->this$0:Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter;
invoke-direct {p0}, Ljava/util/HashSet;-><init>()V
return-void
.end method
# virtual methods
.method public add(Ljava/lang/Object;)Z
.locals 1
.line 1
invoke-super {p0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x1
return p1
.line 2
:cond_0
new-instance v0, Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter$DuplicateFieldException;
check-cast p1, Lcom/thoughtworks/xstream/core/util/FastField;
invoke-virtual {p1}, Lcom/thoughtworks/xstream/core/util/FastField;->getName()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Lcom/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter$DuplicateFieldException;-><init>(Ljava/lang/String;)V
throw v0
.end method