.class public abstract Lcom/nineoldandroids/util/Property; .super Ljava/lang/Object; .source "Property.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;" } .end annotation # instance fields .field private final mName:Ljava/lang/String; .field private final mType:Ljava/lang/Class; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Class", ";" } .end annotation .end field # direct methods .method public constructor (Ljava/lang/Class;Ljava/lang/String;)V .locals 0 .param p2, "name" # Ljava/lang/String; .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class", ";", "Ljava/lang/String;", ")V" } .end annotation .prologue .local p0, "this":Lcom/nineoldandroids/util/Property;, "Lcom/nineoldandroids/util/Property;" .local p1, "type":Ljava/lang/Class;, "Ljava/lang/Class;" invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p2, p0, Lcom/nineoldandroids/util/Property;->mName:Ljava/lang/String; iput-object p1, p0, Lcom/nineoldandroids/util/Property;->mType:Ljava/lang/Class; return-void .end method .method public static of(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Lcom/nineoldandroids/util/Property; .locals 1 .param p2, "name" # Ljava/lang/String; .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class", ";", "Ljava/lang/Class", ";", "Ljava/lang/String;", ")", "Lcom/nineoldandroids/util/Property", ";" } .end annotation .prologue .local p0, "hostType":Ljava/lang/Class;, "Ljava/lang/Class;" .local p1, "valueType":Ljava/lang/Class;, "Ljava/lang/Class;" new-instance v0, Lcom/nineoldandroids/util/ReflectiveProperty; invoke-direct {v0, p0, p1, p2}, Lcom/nineoldandroids/util/ReflectiveProperty;->(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)V return-object v0 .end method # virtual methods .method public abstract get(Ljava/lang/Object;)Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "(TT;)TV;" } .end annotation .end method .method public getName()Ljava/lang/String; .locals 1 .prologue .local p0, "this":Lcom/nineoldandroids/util/Property;, "Lcom/nineoldandroids/util/Property;" iget-object v0, p0, Lcom/nineoldandroids/util/Property;->mName:Ljava/lang/String; return-object v0 .end method .method public getType()Ljava/lang/Class; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/lang/Class", ";" } .end annotation .prologue .local p0, "this":Lcom/nineoldandroids/util/Property;, "Lcom/nineoldandroids/util/Property;" iget-object v0, p0, Lcom/nineoldandroids/util/Property;->mType:Ljava/lang/Class; return-object v0 .end method .method public isReadOnly()Z .locals 1 .prologue .local p0, "this":Lcom/nineoldandroids/util/Property;, "Lcom/nineoldandroids/util/Property;" const/4 v0, 0x0 return v0 .end method .method public set(Ljava/lang/Object;Ljava/lang/Object;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(TT;TV;)V" } .end annotation .prologue .local p0, "this":Lcom/nineoldandroids/util/Property;, "Lcom/nineoldandroids/util/Property;" .local p1, "object":Ljava/lang/Object;, "TT;" .local p2, "value":Ljava/lang/Object;, "TV;" new-instance v0, Ljava/lang/UnsupportedOperationException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "Property " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {p0}, Lcom/nineoldandroids/util/Property;->getName()Ljava/lang/String; move-result-object v2 invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 const-string v2, " is read-only" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw v0 .end method