public final class org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy extends org.apache.lucene.index.IndexDeletionPolicy
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy
  super_class: org.apache.lucene.index.IndexDeletionPolicy
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy this
         0: .line 32
            aload 0 /* this */
            invokespecial org.apache.lucene.index.IndexDeletionPolicy.<init>:()V
         1: .line 33
            return
        end local 0 // org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy;

  public void onInit(java.util.List<? extends org.apache.lucene.index.IndexCommit>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy this
        start local 1 // java.util.List commits
         0: .line 41
            aload 0 /* this */
            aload 1 /* commits */
            invokevirtual org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy.onCommit:(Ljava/util/List;)V
         1: .line 42
            return
        end local 1 // java.util.List commits
        end local 0 // org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy;
            0    2     1  commits  Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;
    Signature: (Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;)V
    MethodParameters:
         Name  Flags
      commits  

  public void onCommit(java.util.List<? extends org.apache.lucene.index.IndexCommit>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy this
        start local 1 // java.util.List commits
         0: .line 51
            aload 1 /* commits */
            invokeinterface java.util.List.size:()I
            istore 2 /* size */
        start local 2 // int size
         1: .line 52
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 5
         3: .line 53
      StackMap locals: int int
      StackMap stack:
            aload 1 /* commits */
            iload 3 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.lucene.index.IndexCommit
            invokevirtual org.apache.lucene.index.IndexCommit.delete:()V
         4: .line 52
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 3 /* i */
            iload 2 /* size */
            iconst_1
            isub
            if_icmplt 3
        end local 3 // int i
         6: .line 55
            return
        end local 2 // int size
        end local 1 // java.util.List commits
        end local 0 // org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lorg/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy;
            0    7     1  commits  Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;
            1    7     2     size  I
            2    6     3        i  I
    Signature: (Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;)V
    MethodParameters:
         Name  Flags
      commits  
}
SourceFile: "KeepOnlyLastCommitDeletionPolicy.java"