public class org.apache.tomcat.util.collections.SynchronizedStack<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.collections.SynchronizedStack
  super_class: java.lang.Object
{
  public static final int DEFAULT_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 128

  private static final int DEFAULT_LIMIT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private int size;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final int limit;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int index;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Object[] stack;
    descriptor: [Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
         0: .line 45
            aload 0 /* this */
            sipush 128
            iconst_m1
            invokespecial org.apache.tomcat.util.collections.SynchronizedStack.<init>:(II)V
         1: .line 46
            return
        end local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/collections/SynchronizedStack<TT;>;

  public void <init>(int, int);
    descriptor: (II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
        start local 1 // int size
        start local 2 // int limit
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 39
            aload 0 /* this */
            iconst_m1
            putfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
         2: .line 49
            iload 2 /* limit */
            iconst_m1
            if_icmple 5
            iload 1 /* size */
            iload 2 /* limit */
            if_icmple 5
         3: .line 50
            aload 0 /* this */
            iload 2 /* limit */
            putfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
         4: .line 51
            goto 6
         5: .line 52
      StackMap locals: org.apache.tomcat.util.collections.SynchronizedStack int int
      StackMap stack:
            aload 0 /* this */
            iload 1 /* size */
            putfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
         6: .line 54
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* limit */
            putfield org.apache.tomcat.util.collections.SynchronizedStack.limit:I
         7: .line 55
            aload 0 /* this */
            iload 1 /* size */
            anewarray java.lang.Object
            putfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
         8: .line 56
            return
        end local 2 // int limit
        end local 1 // int size
        end local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Lorg/apache/tomcat/util/collections/SynchronizedStack<TT;>;
            0    9     1   size  I
            0    9     2  limit  I
    MethodParameters:
       Name  Flags
      size   
      limit  

  public synchronized boolean push();
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
        start local 1 // java.lang.Object obj
         0: .line 60
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            iconst_1
            iadd
            putfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
         1: .line 61
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
            if_icmpne 7
         2: .line 62
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.limit:I
            iconst_m1
            if_icmpeq 3
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.limit:I
            if_icmpge 5
         3: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.expand:()V
         4: .line 64
            goto 7
         5: .line 65
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            iconst_1
            isub
            putfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
         6: .line 66
            iconst_0
            ireturn
         7: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            aload 1 /* obj */
            aastore
         8: .line 70
            iconst_1
            ireturn
        end local 1 // java.lang.Object obj
        end local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/apache/tomcat/util/collections/SynchronizedStack<TT;>;
            0    9     1   obj  TT;
    Signature: (TT;)Z
    MethodParameters:
      Name  Flags
      obj   

  public synchronized T pop();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
         0: .line 75
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            iconst_m1
            if_icmpne 2
         1: .line 76
            aconst_null
            areturn
         2: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            aaload
            astore 1 /* result */
        start local 1 // java.lang.Object result
         3: .line 79
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            dup_x1
            iconst_1
            isub
            putfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            aconst_null
            aastore
         4: .line 80
            aload 1 /* result */
            areturn
        end local 1 // java.lang.Object result
        end local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/apache/tomcat/util/collections/SynchronizedStack<TT;>;
            3    5     1  result  TT;
    Signature: ()TT;

  public synchronized void clear();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
         0: .line 84
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            iconst_m1
            if_icmple 6
         1: .line 85
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         2: goto 5
         3: .line 86
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
            iload 1 /* i */
            aconst_null
            aastore
         4: .line 85
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
            iconst_1
            iadd
            if_icmplt 3
        end local 1 // int i
         6: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_m1
            putfield org.apache.tomcat.util.collections.SynchronizedStack.index:I
         7: .line 90
            return
        end local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/tomcat/util/collections/SynchronizedStack<TT;>;
            2    6     1     i  I

  private void expand();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
         0: .line 93
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
            iconst_2
            imul
            istore 1 /* newSize */
        start local 1 // int newSize
         1: .line 94
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.limit:I
            iconst_m1
            if_icmpeq 3
            iload 1 /* newSize */
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.limit:I
            if_icmple 3
         2: .line 95
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.limit:I
            istore 1 /* newSize */
         3: .line 97
      StackMap locals: int
      StackMap stack:
            iload 1 /* newSize */
            anewarray java.lang.Object
            astore 2 /* newStack */
        start local 2 // java.lang.Object[] newStack
         4: .line 98
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
            iconst_0
            aload 2 /* newStack */
            iconst_0
            aload 0 /* this */
            getfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         5: .line 102
            aload 0 /* this */
            aload 2 /* newStack */
            putfield org.apache.tomcat.util.collections.SynchronizedStack.stack:[Ljava/lang/Object;
         6: .line 103
            aload 0 /* this */
            iload 1 /* newSize */
            putfield org.apache.tomcat.util.collections.SynchronizedStack.size:I
         7: .line 104
            return
        end local 2 // java.lang.Object[] newStack
        end local 1 // int newSize
        end local 0 // org.apache.tomcat.util.collections.SynchronizedStack this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Lorg/apache/tomcat/util/collections/SynchronizedStack<TT;>;
            1    8     1   newSize  I
            4    8     2  newStack  [Ljava/lang/Object;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "SynchronizedStack.java"