CommandLine$NativeCommandLine.smali

.class Laegon/chrome/base/CommandLine$NativeCommandLine;
.super Laegon/chrome/base/CommandLine;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Laegon/chrome/base/CommandLine;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "NativeCommandLine"
.end annotation


# static fields
.field static final synthetic $assertionsDisabled:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const-class v0, Laegon/chrome/base/CommandLine;

    invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z

    move-result v0

    if-nez v0, :cond_c

    const/4 v0, 0x1

    :goto_9
    sput-boolean v0, Laegon/chrome/base/CommandLine$NativeCommandLine;->$assertionsDisabled:Z

    return-void

    :cond_c
    const/4 v0, 0x0

    goto :goto_9
.end method

.method public constructor <init>([Ljava/lang/String;)V
    .registers 3
    .param p1    # [Ljava/lang/String;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Laegon/chrome/base/CommandLine;-><init>(Laegon/chrome/base/CommandLine$1;)V

    # invokes: Laegon/chrome/base/CommandLine;->nativeInit([Ljava/lang/String;)V
    invoke-static {p1}, Laegon/chrome/base/CommandLine;->access$100([Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public appendSwitch(Ljava/lang/String;)V
    .registers 2

    # invokes: Laegon/chrome/base/CommandLine;->nativeAppendSwitch(Ljava/lang/String;)V
    invoke-static {p1}, Laegon/chrome/base/CommandLine;->access$400(Ljava/lang/String;)V

    return-void
.end method

.method public appendSwitchWithValue(Ljava/lang/String;Ljava/lang/String;)V
    .registers 3

    # invokes: Laegon/chrome/base/CommandLine;->nativeAppendSwitchWithValue(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {p1, p2}, Laegon/chrome/base/CommandLine;->access$500(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public appendSwitchesAndArguments([Ljava/lang/String;)V
    .registers 2

    # invokes: Laegon/chrome/base/CommandLine;->nativeAppendSwitchesAndArguments([Ljava/lang/String;)V
    invoke-static {p1}, Laegon/chrome/base/CommandLine;->access$600([Ljava/lang/String;)V

    return-void
.end method

.method protected destroy()V
    .registers 3

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Can\'t destroy native command line after startup"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method protected getCommandLineArguments()[Ljava/lang/String;
    .registers 2

    sget-boolean v0, Laegon/chrome/base/CommandLine$NativeCommandLine;->$assertionsDisabled:Z

    if-nez v0, :cond_a

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    :cond_a
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSwitchValue(Ljava/lang/String;)Ljava/lang/String;
    .registers 3

    # invokes: Laegon/chrome/base/CommandLine;->nativeGetSwitchValue(Ljava/lang/String;)Ljava/lang/String;
    invoke-static {p1}, Laegon/chrome/base/CommandLine;->access$300(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public hasSwitch(Ljava/lang/String;)Z
    .registers 3

    # invokes: Laegon/chrome/base/CommandLine;->nativeHasSwitch(Ljava/lang/String;)Z
    invoke-static {p1}, Laegon/chrome/base/CommandLine;->access$200(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public isNativeImplementation()Z
    .registers 2

    const/4 v0, 0x1

    return v0
.end method