.class Lcom/bugsnag/android/Notifier; .super Ljava/lang/Object; .source "Notifier.java" # interfaces .implements Lcom/bugsnag/android/JsonStream$Streamable; # static fields .field static final NOTIFIER_NAME:Ljava/lang/String; = "Android Bugsnag Notifier" .field static final NOTIFIER_URL:Ljava/lang/String; = "https://bugsnag.com" .field static final NOTIFIER_VERSION:Ljava/lang/String; = "3.4.0" .field private static final instance:Lcom/bugsnag/android/Notifier; # direct methods .method static constructor ()V .locals 1 .prologue new-instance v0, Lcom/bugsnag/android/Notifier; invoke-direct {v0}, Lcom/bugsnag/android/Notifier;->()V sput-object v0, Lcom/bugsnag/android/Notifier;->instance:Lcom/bugsnag/android/Notifier; return-void .end method .method constructor ()V .locals 0 .prologue invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getInstance()Lcom/bugsnag/android/Notifier; .locals 1 .prologue sget-object v0, Lcom/bugsnag/android/Notifier;->instance:Lcom/bugsnag/android/Notifier; return-object v0 .end method # virtual methods .method public toStream(Lcom/bugsnag/android/JsonStream;)V .locals 2 .param p1, "writer" # Lcom/bugsnag/android/JsonStream; .annotation build Landroid/support/annotation/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .prologue invoke-virtual {p1}, Lcom/bugsnag/android/JsonStream;->beginObject()Lcom/bugsnag/android/JsonWriter; const-string v0, "name" invoke-virtual {p1, v0}, Lcom/bugsnag/android/JsonStream;->name(Ljava/lang/String;)Lcom/bugsnag/android/JsonStream; move-result-object v0 const-string v1, "Android Bugsnag Notifier" invoke-virtual {v0, v1}, Lcom/bugsnag/android/JsonStream;->value(Ljava/lang/String;)Lcom/bugsnag/android/JsonWriter; const-string v0, "version" invoke-virtual {p1, v0}, Lcom/bugsnag/android/JsonStream;->name(Ljava/lang/String;)Lcom/bugsnag/android/JsonStream; move-result-object v0 const-string v1, "3.4.0" invoke-virtual {v0, v1}, Lcom/bugsnag/android/JsonStream;->value(Ljava/lang/String;)Lcom/bugsnag/android/JsonWriter; const-string v0, "url" invoke-virtual {p1, v0}, Lcom/bugsnag/android/JsonStream;->name(Ljava/lang/String;)Lcom/bugsnag/android/JsonStream; move-result-object v0 const-string v1, "https://bugsnag.com" invoke-virtual {v0, v1}, Lcom/bugsnag/android/JsonStream;->value(Ljava/lang/String;)Lcom/bugsnag/android/JsonWriter; invoke-virtual {p1}, Lcom/bugsnag/android/JsonStream;->endObject()Lcom/bugsnag/android/JsonWriter; return-void .end method