public class org.jboss.resteasy.util.ThreadLocalStack<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jboss.resteasy.util.ThreadLocalStack
  super_class: java.lang.Object
{
  private java.lang.ThreadLocal<java.util.ArrayList<T>> local;
    descriptor: Ljava/lang/ThreadLocal;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/lang/ThreadLocal<Ljava/util/ArrayList<TT;>;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
         0: .line 11
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 13
            aload 0 /* this */
            new java.lang.ThreadLocal
            dup
            invokespecial java.lang.ThreadLocal.<init>:()V
            putfield org.jboss.resteasy.util.ThreadLocalStack.local:Ljava/lang/ThreadLocal;
         2: .line 11
            return
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;

  public void push();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
        start local 1 // java.lang.Object obj
         0: .line 17
            aload 0 /* this */
            iconst_1
            invokevirtual org.jboss.resteasy.util.ThreadLocalStack.getStack:(Z)Ljava/util/ArrayList;
            aload 1 /* obj */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         1: .line 18
            return
        end local 1 // java.lang.Object obj
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            0    2     1   obj  TT;
    Signature: (TT;)V
    MethodParameters:
      Name  Flags
      obj   

  private java.util.ArrayList<T> getStack(boolean);
    descriptor: (Z)Ljava/util/ArrayList;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
        start local 1 // boolean create
         0: .line 22
            aload 0 /* this */
            getfield org.jboss.resteasy.util.ThreadLocalStack.local:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast java.util.ArrayList
            astore 2 /* stack */
        start local 2 // java.util.ArrayList stack
         1: .line 23
            aload 2 /* stack */
            ifnonnull 4
            iload 1 /* create */
            ifeq 4
         2: .line 25
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* stack */
         3: .line 26
            aload 0 /* this */
            getfield org.jboss.resteasy.util.ThreadLocalStack.local:Ljava/lang/ThreadLocal;
            aload 2 /* stack */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
         4: .line 28
      StackMap locals: java.util.ArrayList
      StackMap stack:
            aload 2 /* stack */
            areturn
        end local 2 // java.util.ArrayList stack
        end local 1 // boolean create
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            0    5     1  create  Z
            1    5     2   stack  Ljava/util/ArrayList<TT;>;
    Signature: (Z)Ljava/util/ArrayList<TT;>;
    MethodParameters:
        Name  Flags
      create  

  public T get();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
         0: .line 33
            aload 0 /* this */
            getfield org.jboss.resteasy.util.ThreadLocalStack.local:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast java.util.ArrayList
            astore 1 /* stack */
        start local 1 // java.util.ArrayList stack
         1: .line 34
            aload 1 /* stack */
            ifnull 2
            aload 1 /* stack */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 3
      StackMap locals: java.util.ArrayList
      StackMap stack:
         2: aconst_null
            areturn
         3: .line 35
      StackMap locals:
      StackMap stack:
            aload 1 /* stack */
            aload 1 /* stack */
            invokevirtual java.util.ArrayList.size:()I
            iconst_1
            isub
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            areturn
        end local 1 // java.util.ArrayList stack
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            1    4     1  stack  Ljava/util/ArrayList<TT;>;
    Signature: ()TT;

  public T pop();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
         0: .line 40
            aload 0 /* this */
            getfield org.jboss.resteasy.util.ThreadLocalStack.local:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast java.util.ArrayList
            astore 1 /* stack */
        start local 1 // java.util.ArrayList stack
         1: .line 41
            aload 1 /* stack */
            ifnull 2
            aload 1 /* stack */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 3
      StackMap locals: java.util.ArrayList
      StackMap stack:
         2: aconst_null
            areturn
         3: .line 42
      StackMap locals:
      StackMap stack:
            aload 1 /* stack */
            aload 1 /* stack */
            invokevirtual java.util.ArrayList.size:()I
            iconst_1
            isub
            invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
            areturn
        end local 1 // java.util.ArrayList stack
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            1    4     1  stack  Ljava/util/ArrayList<TT;>;
    Signature: ()TT;

  public void setLast();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
        start local 1 // java.lang.Object obj
         0: .line 47
            aload 0 /* this */
            iconst_1
            invokevirtual org.jboss.resteasy.util.ThreadLocalStack.getStack:(Z)Ljava/util/ArrayList;
            astore 2 /* stack */
        start local 2 // java.util.ArrayList stack
         1: .line 48
            aload 2 /* stack */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 4
         2: .line 50
            aload 2 /* stack */
            aload 1 /* obj */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         3: .line 51
            goto 5
         4: .line 54
      StackMap locals: java.util.ArrayList
      StackMap stack:
            aload 2 /* stack */
            aload 2 /* stack */
            invokevirtual java.util.ArrayList.size:()I
            iconst_1
            isub
            aload 1 /* obj */
            invokevirtual java.util.ArrayList.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 56
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.ArrayList stack
        end local 1 // java.lang.Object obj
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            0    6     1    obj  TT;
            1    6     2  stack  Ljava/util/ArrayList<TT;>;
    Signature: (TT;)V
    MethodParameters:
      Name  Flags
      obj   

  public boolean isEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
         0: .line 60
            aload 0 /* this */
            iconst_0
            invokevirtual org.jboss.resteasy.util.ThreadLocalStack.getStack:(Z)Ljava/util/ArrayList;
            astore 1 /* stack */
        start local 1 // java.util.ArrayList stack
         1: .line 61
            aload 1 /* stack */
            ifnull 2
            aload 1 /* stack */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifne 2
            iconst_0
            ireturn
      StackMap locals: java.util.ArrayList
      StackMap stack:
         2: iconst_1
            ireturn
        end local 1 // java.util.ArrayList stack
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            1    3     1  stack  Ljava/util/ArrayList<TT;>;

  public int size();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
         0: .line 66
            aload 0 /* this */
            iconst_0
            invokevirtual org.jboss.resteasy.util.ThreadLocalStack.getStack:(Z)Ljava/util/ArrayList;
            astore 1 /* stack */
        start local 1 // java.util.ArrayList stack
         1: .line 67
            aload 1 /* stack */
            ifnonnull 2
            iconst_0
            goto 3
      StackMap locals: java.util.ArrayList
      StackMap stack:
         2: aload 1 /* stack */
            invokevirtual java.util.ArrayList.size:()I
      StackMap locals:
      StackMap stack: int
         3: ireturn
        end local 1 // java.util.ArrayList stack
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
            1    4     1  stack  Ljava/util/ArrayList<TT;>;

  public void clear();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.ThreadLocalStack this
         0: .line 72
            aload 0 /* this */
            getfield org.jboss.resteasy.util.ThreadLocalStack.local:Ljava/lang/ThreadLocal;
            aconst_null
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
         1: .line 73
            return
        end local 0 // org.jboss.resteasy.util.ThreadLocalStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jboss/resteasy/util/ThreadLocalStack<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ThreadLocalStack.java"