class javax.swing.text.SegmentCache
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: javax.swing.text.SegmentCache
  super_class: java.lang.Object
{
  private static javax.swing.text.SegmentCache sharedCache;
    descriptor: Ljavax/swing/text/SegmentCache;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private java.util.List<javax.swing.text.Segment> segments;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Ljavax/swing/text/Segment;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 46
            new javax.swing.text.SegmentCache
            dup
            invokespecial javax.swing.text.SegmentCache.<init>:()V
            putstatic javax.swing.text.SegmentCache.sharedCache:Ljavax/swing/text/SegmentCache;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static javax.swing.text.SegmentCache getSharedInstance();
    descriptor: ()Ljavax/swing/text/SegmentCache;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 58
            getstatic javax.swing.text.SegmentCache.sharedCache:Ljavax/swing/text/SegmentCache;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static javax.swing.text.Segment getSharedSegment();
    descriptor: ()Ljavax/swing/text/Segment;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 66
            invokestatic javax.swing.text.SegmentCache.getSharedInstance:()Ljavax/swing/text/SegmentCache;
            invokevirtual javax.swing.text.SegmentCache.getSegment:()Ljavax/swing/text/Segment;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static void releaseSharedSegment(javax.swing.text.Segment);
    descriptor: (Ljavax/swing/text/Segment;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javax.swing.text.Segment segment
         0: .line 74
            invokestatic javax.swing.text.SegmentCache.getSharedInstance:()Ljavax/swing/text/SegmentCache;
            aload 0 /* segment */
            invokevirtual javax.swing.text.SegmentCache.releaseSegment:(Ljavax/swing/text/Segment;)V
         1: .line 75
            return
        end local 0 // javax.swing.text.Segment segment
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  segment  Ljavax/swing/text/Segment;
    MethodParameters:
         Name  Flags
      segment  

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // javax.swing.text.SegmentCache this
         0: .line 82
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 83
            aload 0 /* this */
            new java.util.ArrayList
            dup
            bipush 11
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield javax.swing.text.SegmentCache.segments:Ljava/util/List;
         2: .line 84
            return
        end local 0 // javax.swing.text.SegmentCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavax/swing/text/SegmentCache;

  public javax.swing.text.Segment getSegment();
    descriptor: ()Ljavax/swing/text/Segment;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // javax.swing.text.SegmentCache this
         0: .line 91
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 92
            aload 0 /* this */
            getfield javax.swing.text.SegmentCache.segments:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            istore 2 /* size */
        start local 2 // int size
         2: .line 94
            iload 2 /* size */
            ifle 5
         3: .line 95
            aload 0 /* this */
            getfield javax.swing.text.SegmentCache.segments:Ljava/util/List;
            iload 2 /* size */
            iconst_1
            isub
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            checkcast javax.swing.text.Segment
            aload 1
            monitorexit
         4: areturn
        end local 2 // int size
         5: .line 91
      StackMap locals: javax.swing.text.SegmentCache
      StackMap stack:
            aload 1
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 1
            monitorexit
         8: athrow
         9: .line 98
      StackMap locals:
      StackMap stack:
            new javax.swing.text.SegmentCache$CachedSegment
            dup
            invokespecial javax.swing.text.SegmentCache$CachedSegment.<init>:()V
            areturn
        end local 0 // javax.swing.text.SegmentCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljavax/swing/text/SegmentCache;
            2    5     2  size  I
      Exception table:
        from    to  target  type
           1     4       7  any
           5     6       7  any
           7     8       7  any

  public void releaseSegment(javax.swing.text.Segment);
    descriptor: (Ljavax/swing/text/Segment;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // javax.swing.text.SegmentCache this
        start local 1 // javax.swing.text.Segment segment
         0: .line 111
            aload 1 /* segment */
            instanceof javax.swing.text.SegmentCache$CachedSegment
            ifeq 9
         1: .line 112
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         2: .line 113
            aload 1 /* segment */
            aconst_null
            putfield javax.swing.text.Segment.array:[C
         3: .line 114
            aload 1 /* segment */
            iconst_0
            putfield javax.swing.text.Segment.count:I
         4: .line 115
            aload 0 /* this */
            getfield javax.swing.text.SegmentCache.segments:Ljava/util/List;
            aload 1 /* segment */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 112
            aload 2
            monitorexit
         6: goto 9
      StackMap locals: javax.swing.text.SegmentCache javax.swing.text.Segment javax.swing.text.SegmentCache
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 118
      StackMap locals:
      StackMap stack:
            return
        end local 1 // javax.swing.text.Segment segment
        end local 0 // javax.swing.text.SegmentCache this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Ljavax/swing/text/SegmentCache;
            0   10     1  segment  Ljavax/swing/text/Segment;
      Exception table:
        from    to  target  type
           2     6       7  any
           7     8       7  any
    MethodParameters:
         Name  Flags
      segment  
}
SourceFile: "SegmentCache.java"
NestMembers:
  javax.swing.text.SegmentCache$CachedSegment
InnerClasses:
  private CachedSegment = javax.swing.text.SegmentCache$CachedSegment of javax.swing.text.SegmentCache