abstract class org.eclipse.jgit.hooks.GitHook<T> implements java.util.concurrent.Callable<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: org.eclipse.jgit.hooks.GitHook
  super_class: java.lang.Object
{
  private final org.eclipse.jgit.lib.Repository repo;
    descriptor: Lorg/eclipse/jgit/lib/Repository;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  protected final java.io.PrintStream outputStream;
    descriptor: Ljava/io/PrintStream;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final java.io.PrintStream errorStream;
    descriptor: Ljava/io/PrintStream;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected void <init>(org.eclipse.jgit.lib.Repository, java.io.PrintStream);
    descriptor: (Lorg/eclipse/jgit/lib/Repository;Ljava/io/PrintStream;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.eclipse.jgit.hooks.GitHook this
        start local 1 // org.eclipse.jgit.lib.Repository repo
        start local 2 // java.io.PrintStream outputStream
         0: .line 67
            aload 0 /* this */
            aload 1 /* repo */
            aload 2 /* outputStream */
            aconst_null
            invokespecial org.eclipse.jgit.hooks.GitHook.<init>:(Lorg/eclipse/jgit/lib/Repository;Ljava/io/PrintStream;Ljava/io/PrintStream;)V
         1: .line 68
            return
        end local 2 // java.io.PrintStream outputStream
        end local 1 // org.eclipse.jgit.lib.Repository repo
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;
            0    2     1          repo  Lorg/eclipse/jgit/lib/Repository;
            0    2     2  outputStream  Ljava/io/PrintStream;
    MethodParameters:
              Name  Flags
      repo          
      outputStream  

  protected void <init>(org.eclipse.jgit.lib.Repository, java.io.PrintStream, java.io.PrintStream);
    descriptor: (Lorg/eclipse/jgit/lib/Repository;Ljava/io/PrintStream;Ljava/io/PrintStream;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.eclipse.jgit.hooks.GitHook this
        start local 1 // org.eclipse.jgit.lib.Repository repo
        start local 2 // java.io.PrintStream outputStream
        start local 3 // java.io.PrintStream errorStream
         0: .line 82
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 84
            aload 0 /* this */
            aload 1 /* repo */
            putfield org.eclipse.jgit.hooks.GitHook.repo:Lorg/eclipse/jgit/lib/Repository;
         2: .line 85
            aload 0 /* this */
            aload 2 /* outputStream */
            putfield org.eclipse.jgit.hooks.GitHook.outputStream:Ljava/io/PrintStream;
         3: .line 86
            aload 0 /* this */
            aload 3 /* errorStream */
            putfield org.eclipse.jgit.hooks.GitHook.errorStream:Ljava/io/PrintStream;
         4: .line 87
            return
        end local 3 // java.io.PrintStream errorStream
        end local 2 // java.io.PrintStream outputStream
        end local 1 // org.eclipse.jgit.lib.Repository repo
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;
            0    5     1          repo  Lorg/eclipse/jgit/lib/Repository;
            0    5     2  outputStream  Ljava/io/PrintStream;
            0    5     3   errorStream  Ljava/io/PrintStream;
    MethodParameters:
              Name  Flags
      repo          
      outputStream  
      errorStream   

  public abstract T call();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException, org.eclipse.jgit.api.errors.AbortedByHookException
    Signature: ()TT;

  public abstract java.lang.String getHookName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  protected org.eclipse.jgit.lib.Repository getRepository();
    descriptor: ()Lorg/eclipse/jgit/lib/Repository;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 110
            aload 0 /* this */
            getfield org.eclipse.jgit.hooks.GitHook.repo:Lorg/eclipse/jgit/lib/Repository;
            areturn
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;

  protected java.lang.String[] getParameters();
    descriptor: ()[Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 121
            iconst_0
            anewarray java.lang.String
            areturn
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;

  protected java.lang.String getStdinArgs();
    descriptor: ()Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 131
            aconst_null
            areturn
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;

  protected java.io.PrintStream getOutputStream();
    descriptor: ()Ljava/io/PrintStream;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 141
            aload 0 /* this */
            getfield org.eclipse.jgit.hooks.GitHook.outputStream:Ljava/io/PrintStream;
            ifnonnull 1
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield org.eclipse.jgit.hooks.GitHook.outputStream:Ljava/io/PrintStream;
      StackMap locals:
      StackMap stack: java.io.PrintStream
         2: areturn
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;

  protected java.io.PrintStream getErrorStream();
    descriptor: ()Ljava/io/PrintStream;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 151
            aload 0 /* this */
            getfield org.eclipse.jgit.hooks.GitHook.errorStream:Ljava/io/PrintStream;
            ifnonnull 1
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield org.eclipse.jgit.hooks.GitHook.errorStream:Ljava/io/PrintStream;
      StackMap locals:
      StackMap stack: java.io.PrintStream
         2: areturn
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;

  protected void doRun();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=7, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 161
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            astore 1 /* errorByteArray */
        start local 1 // java.io.ByteArrayOutputStream errorByteArray
         1: .line 162
            new org.eclipse.jgit.util.io.TeeOutputStream
            dup
            aload 1 /* errorByteArray */
         2: .line 163
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getErrorStream:()Ljava/io/PrintStream;
         3: .line 162
            invokespecial org.eclipse.jgit.util.io.TeeOutputStream.<init>:(Ljava/io/OutputStream;Ljava/io/OutputStream;)V
            astore 2 /* stderrStream */
        start local 2 // org.eclipse.jgit.util.io.TeeOutputStream stderrStream
         4: .line 164
            aconst_null
            astore 3 /* hookErrRedirect */
        start local 3 // java.io.PrintStream hookErrRedirect
         5: .line 166
            new java.io.PrintStream
            dup
            aload 2 /* stderrStream */
            iconst_0
         6: .line 167
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
         7: .line 166
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;ZLjava/lang/String;)V
            astore 3 /* hookErrRedirect */
         8: .line 168
            goto 10
      StackMap locals: org.eclipse.jgit.hooks.GitHook java.io.ByteArrayOutputStream org.eclipse.jgit.util.io.TeeOutputStream java.io.PrintStream
      StackMap stack: java.io.UnsupportedEncodingException
         9: pop
        10: .line 171
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getRepository:()Lorg/eclipse/jgit/lib/Repository;
            astore 4 /* repository */
        start local 4 // org.eclipse.jgit.lib.Repository repository
        11: .line 172
            aload 4 /* repository */
            invokevirtual org.eclipse.jgit.lib.Repository.getFS:()Lorg/eclipse/jgit/util/FS;
            astore 5 /* fs */
        start local 5 // org.eclipse.jgit.util.FS fs
        12: .line 173
            aload 5 /* fs */
            ifnonnull 14
        13: .line 174
            getstatic org.eclipse.jgit.util.FS.DETECTED:Lorg/eclipse/jgit/util/FS;
            astore 5 /* fs */
        14: .line 176
      StackMap locals: org.eclipse.jgit.lib.Repository org.eclipse.jgit.util.FS
      StackMap stack:
            aload 5 /* fs */
            aload 4 /* repository */
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getHookName:()Ljava/lang/String;
        15: .line 177
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getParameters:()[Ljava/lang/String;
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getOutputStream:()Ljava/io/PrintStream;
            aload 3 /* hookErrRedirect */
        16: .line 178
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getStdinArgs:()Ljava/lang/String;
        17: .line 176
            invokevirtual org.eclipse.jgit.util.FS.runHookIfPresent:(Lorg/eclipse/jgit/lib/Repository;Ljava/lang/String;[Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;Ljava/lang/String;)Lorg/eclipse/jgit/util/ProcessResult;
            astore 6 /* result */
        start local 6 // org.eclipse.jgit.util.ProcessResult result
        18: .line 179
            aload 6 /* result */
            invokevirtual org.eclipse.jgit.util.ProcessResult.isExecutedWithError:()Z
            ifeq 23
        19: .line 180
            new org.eclipse.jgit.api.errors.AbortedByHookException
            dup
        20: .line 181
            new java.lang.String
            dup
            aload 1 /* errorByteArray */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
        21: .line 182
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getHookName:()Ljava/lang/String;
            aload 6 /* result */
            invokevirtual org.eclipse.jgit.util.ProcessResult.getExitCode:()I
        22: .line 180
            invokespecial org.eclipse.jgit.api.errors.AbortedByHookException.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
            athrow
        23: .line 184
      StackMap locals: org.eclipse.jgit.util.ProcessResult
      StackMap stack:
            return
        end local 6 // org.eclipse.jgit.util.ProcessResult result
        end local 5 // org.eclipse.jgit.util.FS fs
        end local 4 // org.eclipse.jgit.lib.Repository repository
        end local 3 // java.io.PrintStream hookErrRedirect
        end local 2 // org.eclipse.jgit.util.io.TeeOutputStream stderrStream
        end local 1 // java.io.ByteArrayOutputStream errorByteArray
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   24     0             this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;
            1   24     1   errorByteArray  Ljava/io/ByteArrayOutputStream;
            4   24     2     stderrStream  Lorg/eclipse/jgit/util/io/TeeOutputStream;
            5   24     3  hookErrRedirect  Ljava/io/PrintStream;
           11   24     4       repository  Lorg/eclipse/jgit/lib/Repository;
           12   24     5               fs  Lorg/eclipse/jgit/util/FS;
           18   24     6           result  Lorg/eclipse/jgit/util/ProcessResult;
      Exception table:
        from    to  target  type
           5     8       9  Class java.io.UnsupportedEncodingException
    Exceptions:
      throws org.eclipse.jgit.api.errors.AbortedByHookException

  public boolean isNativeHookPresent();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.eclipse.jgit.hooks.GitHook this
         0: .line 194
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getRepository:()Lorg/eclipse/jgit/lib/Repository;
            invokevirtual org.eclipse.jgit.lib.Repository.getFS:()Lorg/eclipse/jgit/util/FS;
            astore 1 /* fs */
        start local 1 // org.eclipse.jgit.util.FS fs
         1: .line 195
            aload 1 /* fs */
            ifnonnull 3
         2: .line 196
            getstatic org.eclipse.jgit.util.FS.DETECTED:Lorg/eclipse/jgit/util/FS;
            astore 1 /* fs */
         3: .line 198
      StackMap locals: org.eclipse.jgit.util.FS
      StackMap stack:
            aload 1 /* fs */
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getRepository:()Lorg/eclipse/jgit/lib/Repository;
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.hooks.GitHook.getHookName:()Ljava/lang/String;
            invokevirtual org.eclipse.jgit.util.FS.findHook:(Lorg/eclipse/jgit/lib/Repository;Ljava/lang/String;)Ljava/io/File;
            ifnull 4
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         4: iconst_0
            ireturn
        end local 1 // org.eclipse.jgit.util.FS fs
        end local 0 // org.eclipse.jgit.hooks.GitHook this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/eclipse/jgit/hooks/GitHook<TT;>;
            1    5     1    fs  Lorg/eclipse/jgit/util/FS;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/concurrent/Callable<TT;>;
SourceFile: "GitHook.java"