123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- .class public final Lcom/google/gson/FieldAttributes;
- .super Ljava/lang/Object;
- .source ""
- # instance fields
- .field private final field:Ljava/lang/reflect/Field;
- # direct methods
- .method public constructor <init>(Ljava/lang/reflect/Field;)V
- .locals 0
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- invoke-static {p1}, Lcom/google/gson/internal/$Gson$Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
- iput-object p1, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- return-void
- .end method
- # virtual methods
- .method get(Ljava/lang/Object;)Ljava/lang/Object;
- .locals 1
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/lang/IllegalAccessException;
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
- move-result-object p1
- return-object p1
- .end method
- .method public getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "<T::",
- "Ljava/lang/annotation/Annotation;",
- ">(",
- "Ljava/lang/Class<",
- "TT;>;)TT;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
- move-result-object p1
- return-object p1
- .end method
- .method public getAnnotations()Ljava/util/Collection;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/Collection<",
- "Ljava/lang/annotation/Annotation;",
- ">;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0}, Ljava/lang/reflect/Field;->getAnnotations()[Ljava/lang/annotation/Annotation;
- move-result-object v0
- invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
- move-result-object v0
- return-object v0
- .end method
- .method public getDeclaredClass()Ljava/lang/Class;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/lang/Class<",
- "*>;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0}, Ljava/lang/reflect/Field;->getType()Ljava/lang/Class;
- move-result-object v0
- return-object v0
- .end method
- .method public getDeclaredType()Ljava/lang/reflect/Type;
- .locals 1
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0}, Ljava/lang/reflect/Field;->getGenericType()Ljava/lang/reflect/Type;
- move-result-object v0
- return-object v0
- .end method
- .method public getDeclaringClass()Ljava/lang/Class;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/lang/Class<",
- "*>;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0}, Ljava/lang/reflect/Field;->getDeclaringClass()Ljava/lang/Class;
- move-result-object v0
- return-object v0
- .end method
- .method public getName()Ljava/lang/String;
- .locals 1
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->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 hasModifier(I)Z
- .locals 1
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0}, Ljava/lang/reflect/Field;->getModifiers()I
- move-result v0
- and-int/2addr p1, v0
- if-eqz p1, :cond_0
- const/4 p1, 0x1
- goto :goto_0
- :cond_0
- const/4 p1, 0x0
- :goto_0
- return p1
- .end method
- .method isSynthetic()Z
- .locals 1
- iget-object v0, p0, Lcom/google/gson/FieldAttributes;->field:Ljava/lang/reflect/Field;
- invoke-virtual {v0}, Ljava/lang/reflect/Field;->isSynthetic()Z
- move-result v0
- return v0
- .end method
|