public class org.eclipse.jgit.api.InitCommand implements java.util.concurrent.Callable<org.eclipse.jgit.api.Git>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.eclipse.jgit.api.InitCommand
  super_class: java.lang.Object
{
  private java.io.File directory;
    descriptor: Ljava/io/File;
    flags: (0x0002) ACC_PRIVATE

  private java.io.File gitDir;
    descriptor: Ljava/io/File;
    flags: (0x0002) ACC_PRIVATE

  private boolean bare;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private org.eclipse.jgit.util.FS fs;
    descriptor: Lorg/eclipse/jgit/util/FS;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jgit.api.InitCommand this
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.eclipse.jgit.api.InitCommand this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jgit/api/InitCommand;

  public org.eclipse.jgit.api.Git call();
    descriptor: ()Lorg/eclipse/jgit/api/Git;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // org.eclipse.jgit.api.InitCommand this
         0: .line 52
            new org.eclipse.jgit.lib.RepositoryBuilder
            dup
            invokespecial org.eclipse.jgit.lib.RepositoryBuilder.<init>:()V
            astore 1 /* builder */
        start local 1 // org.eclipse.jgit.lib.RepositoryBuilder builder
         1: .line 53
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            ifeq 3
         2: .line 54
            aload 1 /* builder */
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setBare:()Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
         3: .line 55
      StackMap locals: org.eclipse.jgit.lib.RepositoryBuilder
      StackMap stack:
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.fs:Lorg/eclipse/jgit/util/FS;
            ifnull 5
         4: .line 56
            aload 1 /* builder */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.fs:Lorg/eclipse/jgit/util/FS;
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setFS:(Lorg/eclipse/jgit/util/FS;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
         5: .line 58
      StackMap locals:
      StackMap stack:
            aload 1 /* builder */
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.readEnvironment:()Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
         6: .line 59
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
            ifnull 8
         7: .line 60
            aload 1 /* builder */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setGitDir:(Ljava/io/File;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
            goto 9
         8: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* builder */
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.getGitDir:()Ljava/io/File;
            putfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
         9: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
            ifnull 16
        10: .line 64
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            ifeq 12
        11: .line 65
            aload 1 /* builder */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setGitDir:(Ljava/io/File;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
            goto 34
        12: .line 67
      StackMap locals:
      StackMap stack:
            aload 1 /* builder */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setWorkTree:(Ljava/io/File;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
        13: .line 68
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
            ifnonnull 34
        14: .line 69
            aload 1 /* builder */
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
            ldc ".git"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setGitDir:(Ljava/io/File;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
        15: .line 71
            goto 34
      StackMap locals:
      StackMap stack:
        16: aload 1 /* builder */
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.getGitDir:()Ljava/io/File;
            ifnonnull 27
        17: .line 72
            invokestatic org.eclipse.jgit.util.SystemReader.getInstance:()Lorg/eclipse/jgit/util/SystemReader;
        18: .line 73
            ldc "user.dir"
            invokevirtual org.eclipse.jgit.util.SystemReader.getProperty:(Ljava/lang/String;)Ljava/lang/String;
        19: .line 72
            astore 2 /* dStr */
        start local 2 // java.lang.String dStr
        20: .line 74
            aload 2 /* dStr */
            ifnonnull 22
        21: .line 75
            ldc "."
            astore 2 /* dStr */
        22: .line 76
      StackMap locals: java.lang.String
      StackMap stack:
            new java.io.File
            dup
            aload 2 /* dStr */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 3 /* d */
        start local 3 // java.io.File d
        23: .line 77
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            ifne 25
        24: .line 78
            new java.io.File
            dup
            aload 3 /* d */
            ldc ".git"
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 3 /* d */
        25: .line 79
      StackMap locals: java.io.File
      StackMap stack:
            aload 1 /* builder */
            aload 3 /* d */
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setGitDir:(Ljava/io/File;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
        end local 3 // java.io.File d
        end local 2 // java.lang.String dStr
        26: .line 80
            goto 34
        27: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            ifne 34
        28: .line 83
            invokestatic org.eclipse.jgit.util.SystemReader.getInstance:()Lorg/eclipse/jgit/util/SystemReader;
        29: .line 84
            ldc "user.dir"
        30: .line 83
            invokevirtual org.eclipse.jgit.util.SystemReader.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* dStr */
        start local 2 // java.lang.String dStr
        31: .line 85
            aload 2 /* dStr */
            ifnonnull 33
        32: .line 86
            ldc "."
            astore 2 /* dStr */
        33: .line 87
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* builder */
            new java.io.File
            dup
            aload 2 /* dStr */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.setWorkTree:(Ljava/io/File;)Lorg/eclipse/jgit/lib/BaseRepositoryBuilder;
            pop
        end local 2 // java.lang.String dStr
        34: .line 90
      StackMap locals:
      StackMap stack:
            aload 1 /* builder */
            invokevirtual org.eclipse.jgit.lib.RepositoryBuilder.build:()Lorg/eclipse/jgit/lib/Repository;
            astore 2 /* repository */
        start local 2 // org.eclipse.jgit.lib.Repository repository
        35: .line 91
            aload 2 /* repository */
            invokevirtual org.eclipse.jgit.lib.Repository.getObjectDatabase:()Lorg/eclipse/jgit/lib/ObjectDatabase;
            invokevirtual org.eclipse.jgit.lib.ObjectDatabase.exists:()Z
            ifne 37
        36: .line 92
            aload 2 /* repository */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            invokevirtual org.eclipse.jgit.lib.Repository.create:(Z)V
        37: .line 93
      StackMap locals: org.eclipse.jgit.lib.Repository
      StackMap stack:
            new org.eclipse.jgit.api.Git
            dup
            aload 2 /* repository */
            iconst_1
            invokespecial org.eclipse.jgit.api.Git.<init>:(Lorg/eclipse/jgit/lib/Repository;Z)V
        38: areturn
        end local 2 // org.eclipse.jgit.lib.Repository repository
        end local 1 // org.eclipse.jgit.lib.RepositoryBuilder builder
        39: .line 94
      StackMap locals: org.eclipse.jgit.api.InitCommand
      StackMap stack: java.io.IOException
            astore 1 /* e */
        start local 1 // java.io.IOException e
        40: .line 95
            new org.eclipse.jgit.api.errors.JGitInternalException
            dup
            aload 1 /* e */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            aload 1 /* e */
            invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.io.IOException e
        end local 0 // org.eclipse.jgit.api.InitCommand this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   41     0        this  Lorg/eclipse/jgit/api/InitCommand;
            1   39     1     builder  Lorg/eclipse/jgit/lib/RepositoryBuilder;
           20   26     2        dStr  Ljava/lang/String;
           23   26     3           d  Ljava/io/File;
           31   34     2        dStr  Ljava/lang/String;
           35   39     2  repository  Lorg/eclipse/jgit/lib/Repository;
           40   41     1           e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0    38      39  Class java.io.IOException
    Exceptions:
      throws org.eclipse.jgit.api.errors.GitAPIException

  public org.eclipse.jgit.api.InitCommand setDirectory(java.io.File);
    descriptor: (Ljava/io/File;)Lorg/eclipse/jgit/api/InitCommand;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.eclipse.jgit.api.InitCommand this
        start local 1 // java.io.File directory
         0: .line 114
            aload 1 /* directory */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            invokestatic org.eclipse.jgit.api.InitCommand.validateDirs:(Ljava/io/File;Ljava/io/File;Z)V
         1: .line 115
            aload 0 /* this */
            aload 1 /* directory */
            putfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
         2: .line 116
            aload 0 /* this */
            areturn
        end local 1 // java.io.File directory
        end local 0 // org.eclipse.jgit.api.InitCommand this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/eclipse/jgit/api/InitCommand;
            0    3     1  directory  Ljava/io/File;
    Exceptions:
      throws java.lang.IllegalStateException
    MethodParameters:
           Name  Flags
      directory  

  public org.eclipse.jgit.api.InitCommand setGitDir(java.io.File);
    descriptor: (Ljava/io/File;)Lorg/eclipse/jgit/api/InitCommand;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.eclipse.jgit.api.InitCommand this
        start local 1 // java.io.File gitDir
         0: .line 134
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
            aload 1 /* gitDir */
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.bare:Z
            invokestatic org.eclipse.jgit.api.InitCommand.validateDirs:(Ljava/io/File;Ljava/io/File;Z)V
         1: .line 135
            aload 0 /* this */
            aload 1 /* gitDir */
            putfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
         2: .line 136
            aload 0 /* this */
            areturn
        end local 1 // java.io.File gitDir
        end local 0 // org.eclipse.jgit.api.InitCommand this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/eclipse/jgit/api/InitCommand;
            0    3     1  gitDir  Ljava/io/File;
    Exceptions:
      throws java.lang.IllegalStateException
    MethodParameters:
        Name  Flags
      gitDir  

  private static void validateDirs(java.io.File, java.io.File, boolean);
    descriptor: (Ljava/io/File;Ljava/io/File;Z)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // java.io.File directory
        start local 1 // java.io.File gitDir
        start local 2 // boolean bare
         0: .line 141
            aload 0 /* directory */
            ifnull 12
         1: .line 142
            iload 2 /* bare */
            ifeq 7
         2: .line 143
            aload 1 /* gitDir */
            ifnull 12
            aload 1 /* gitDir */
            aload 0 /* directory */
            invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
            ifne 12
         3: .line 144
            new java.lang.IllegalStateException
            dup
         4: .line 145
            invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
            getfield org.eclipse.jgit.internal.JGitText.initFailedBareRepoDifferentDirs:Ljava/lang/String;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 146
            aload 1 /* gitDir */
            aastore
            dup
            iconst_1
            aload 0 /* directory */
            aastore
         6: .line 144
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 148
      StackMap locals:
      StackMap stack:
            aload 1 /* gitDir */
            ifnull 12
            aload 1 /* gitDir */
            aload 0 /* directory */
            invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
            ifeq 12
         8: .line 149
            new java.lang.IllegalStateException
            dup
         9: .line 150
            invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
            getfield org.eclipse.jgit.internal.JGitText.initFailedNonBareRepoSameDirs:Ljava/lang/String;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        10: .line 151
            aload 1 /* gitDir */
            aastore
            dup
            iconst_1
            aload 0 /* directory */
            aastore
        11: .line 149
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 154
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean bare
        end local 1 // java.io.File gitDir
        end local 0 // java.io.File directory
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   13     0  directory  Ljava/io/File;
            0   13     1     gitDir  Ljava/io/File;
            0   13     2       bare  Z
    Exceptions:
      throws java.lang.IllegalStateException
    MethodParameters:
           Name  Flags
      directory  
      gitDir     
      bare       

  public org.eclipse.jgit.api.InitCommand setBare(boolean);
    descriptor: (Z)Lorg/eclipse/jgit/api/InitCommand;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.eclipse.jgit.api.InitCommand this
        start local 1 // boolean bare
         0: .line 169
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.directory:Ljava/io/File;
            aload 0 /* this */
            getfield org.eclipse.jgit.api.InitCommand.gitDir:Ljava/io/File;
            iload 1 /* bare */
            invokestatic org.eclipse.jgit.api.InitCommand.validateDirs:(Ljava/io/File;Ljava/io/File;Z)V
         1: .line 170
            aload 0 /* this */
            iload 1 /* bare */
            putfield org.eclipse.jgit.api.InitCommand.bare:Z
         2: .line 171
            aload 0 /* this */
            areturn
        end local 1 // boolean bare
        end local 0 // org.eclipse.jgit.api.InitCommand this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/eclipse/jgit/api/InitCommand;
            0    3     1  bare  Z
    MethodParameters:
      Name  Flags
      bare  

  public org.eclipse.jgit.api.InitCommand setFs(org.eclipse.jgit.util.FS);
    descriptor: (Lorg/eclipse/jgit/util/FS;)Lorg/eclipse/jgit/api/InitCommand;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.eclipse.jgit.api.InitCommand this
        start local 1 // org.eclipse.jgit.util.FS fs
         0: .line 184
            aload 0 /* this */
            aload 1 /* fs */
            putfield org.eclipse.jgit.api.InitCommand.fs:Lorg/eclipse/jgit/util/FS;
         1: .line 185
            aload 0 /* this */
            areturn
        end local 1 // org.eclipse.jgit.util.FS fs
        end local 0 // org.eclipse.jgit.api.InitCommand this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/eclipse/jgit/api/InitCommand;
            0    2     1    fs  Lorg/eclipse/jgit/util/FS;
    MethodParameters:
      Name  Flags
      fs    

  public java.lang.Object call();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual org.eclipse.jgit.api.InitCommand.call:()Lorg/eclipse/jgit/api/Git;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Callable<Lorg/eclipse/jgit/api/Git;>;
SourceFile: "InitCommand.java"