public abstract class sun.swing.CachedPainter
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: sun.swing.CachedPainter
  super_class: java.lang.Object
{
  private static final java.util.Map<java.lang.Object, sun.swing.ImageCache> cacheMap;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Object;Lsun/swing/ImageCache;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 57
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
         1: .line 56
            putstatic sun.swing.CachedPainter.cacheMap:Ljava/util/Map;
         2: .line 57
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static sun.swing.ImageCache getCache(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lsun/swing/ImageCache;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.lang.Object key
         0: .line 61
            ldc Lsun/swing/CachedPainter;
            dup
            astore 1
            monitorenter
         1: .line 62
            getstatic sun.swing.CachedPainter.cacheMap:Ljava/util/Map;
            aload 0 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.swing.ImageCache
            astore 2 /* cache */
        start local 2 // sun.swing.ImageCache cache
         2: .line 63
            aload 2 /* cache */
            ifnonnull 5
         3: .line 64
            new sun.swing.ImageCache
            dup
            iconst_1
            invokespecial sun.swing.ImageCache.<init>:(I)V
            astore 2 /* cache */
         4: .line 65
            getstatic sun.swing.CachedPainter.cacheMap:Ljava/util/Map;
            aload 0 /* key */
            aload 2 /* cache */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 67
      StackMap locals: java.lang.Class sun.swing.ImageCache
      StackMap stack:
            aload 2 /* cache */
            aload 1
            monitorexit
         6: areturn
        end local 2 // sun.swing.ImageCache cache
         7: .line 61
      StackMap locals: java.lang.Object java.lang.Class
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         8: athrow
        end local 0 // java.lang.Object key
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0    key  Ljava/lang/Object;
            2    7     2  cache  Lsun/swing/ImageCache;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
      Name  Flags
      key   

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.swing.CachedPainter this
        start local 1 // int cacheCount
         0: .line 77
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 78
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokestatic sun.swing.CachedPainter.getCache:(Ljava/lang/Object;)Lsun/swing/ImageCache;
            iload 1 /* cacheCount */
            invokevirtual sun.swing.ImageCache.setMaxCount:(I)V
         2: .line 79
            return
        end local 1 // int cacheCount
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lsun/swing/CachedPainter;
            0    3     1  cacheCount  I
    MethodParameters:
            Name  Flags
      cacheCount  

  public void paint(java.awt.Component, java.awt.Graphics, int, int, int, int, java.lang.Object[]);
    descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII[Ljava/lang/Object;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=8, locals=10, args_size=8
        start local 0 // sun.swing.CachedPainter this
        start local 1 // java.awt.Component c
        start local 2 // java.awt.Graphics g
        start local 3 // int x
        start local 4 // int y
        start local 5 // int w
        start local 6 // int h
        start local 7 // java.lang.Object[] args
         0: .line 96
            iload 5 /* w */
            ifle 1
            iload 6 /* h */
            ifgt 2
         1: .line 97
      StackMap locals:
      StackMap stack:
            return
         2: .line 99
      StackMap locals:
      StackMap stack:
            aload 1 /* c */
            ifnull 14
         3: .line 100
            aload 1 /* c */
            invokevirtual java.awt.Component.getTreeLock:()Ljava/lang/Object;
            dup
            astore 8
            monitorenter
         4: .line 101
            ldc Lsun/swing/CachedPainter;
            dup
            astore 9
            monitorenter
         5: .line 105
            aload 0 /* this */
            aload 1 /* c */
            aload 2 /* g */
            iload 3 /* x */
            iload 4 /* y */
            iload 5 /* w */
            iload 6 /* h */
            aload 7 /* args */
            invokevirtual sun.swing.CachedPainter.paint0:(Ljava/awt/Component;Ljava/awt/Graphics;IIII[Ljava/lang/Object;)V
         6: .line 101
            aload 9
            monitorexit
         7: goto 10
      StackMap locals: sun.swing.CachedPainter java.awt.Component java.awt.Graphics int int int int java.lang.Object[] java.lang.Object java.lang.Class
      StackMap stack: java.lang.Throwable
         8: aload 9
            monitorexit
         9: athrow
        10: .line 100
      StackMap locals:
      StackMap stack:
            aload 8
            monitorexit
        11: goto 20
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 8
            monitorexit
        13: athrow
        14: .line 110
      StackMap locals:
      StackMap stack:
            ldc Lsun/swing/CachedPainter;
            dup
            astore 8
            monitorenter
        15: .line 111
            aload 0 /* this */
            aload 1 /* c */
            aload 2 /* g */
            iload 3 /* x */
            iload 4 /* y */
            iload 5 /* w */
            iload 6 /* h */
            aload 7 /* args */
            invokevirtual sun.swing.CachedPainter.paint0:(Ljava/awt/Component;Ljava/awt/Graphics;IIII[Ljava/lang/Object;)V
        16: .line 110
            aload 8
            monitorexit
        17: goto 20
      StackMap locals: sun.swing.CachedPainter java.awt.Component java.awt.Graphics int int int int java.lang.Object[] java.lang.Class
      StackMap stack: java.lang.Throwable
        18: aload 8
            monitorexit
        19: athrow
        20: .line 114
      StackMap locals:
      StackMap stack:
            return
        end local 7 // java.lang.Object[] args
        end local 6 // int h
        end local 5 // int w
        end local 4 // int y
        end local 3 // int x
        end local 2 // java.awt.Graphics g
        end local 1 // java.awt.Component c
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0  this  Lsun/swing/CachedPainter;
            0   21     1     c  Ljava/awt/Component;
            0   21     2     g  Ljava/awt/Graphics;
            0   21     3     x  I
            0   21     4     y  I
            0   21     5     w  I
            0   21     6     h  I
            0   21     7  args  [Ljava/lang/Object;
      Exception table:
        from    to  target  type
           5     7       8  any
           8     9       8  any
           4    11      12  any
          12    13      12  any
          15    17      18  any
          18    19      18  any
    MethodParameters:
      Name  Flags
      c     
      g     
      x     
      y     
      w     
      h     
      args  

  private void paint0(java.awt.Component, java.awt.Graphics, int, int, int, int, java.lang.Object[]);
    descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII[Ljava/lang/Object;)V
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=9, locals=15, args_size=8
        start local 0 // sun.swing.CachedPainter this
        start local 1 // java.awt.Component c
        start local 2 // java.awt.Graphics g
        start local 3 // int x
        start local 4 // int y
        start local 5 // int w
        start local 6 // int h
        start local 7 // java.lang.Object[] args
         0: .line 118
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 8 /* key */
        start local 8 // java.lang.Object key
         1: .line 119
            aload 0 /* this */
            aload 1 /* c */
            invokevirtual sun.swing.CachedPainter.getGraphicsConfiguration:(Ljava/awt/Component;)Ljava/awt/GraphicsConfiguration;
            astore 9 /* config */
        start local 9 // java.awt.GraphicsConfiguration config
         2: .line 120
            aload 8 /* key */
            invokestatic sun.swing.CachedPainter.getCache:(Ljava/lang/Object;)Lsun/swing/ImageCache;
            astore 10 /* cache */
        start local 10 // sun.swing.ImageCache cache
         3: .line 121
            aload 10 /* cache */
            aload 8 /* key */
            aload 9 /* config */
            iload 5 /* w */
            iload 6 /* h */
            aload 7 /* args */
            invokevirtual sun.swing.ImageCache.getImage:(Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)Ljava/awt/Image;
            astore 11 /* image */
        start local 11 // java.awt.Image image
         4: .line 122
            iconst_0
            istore 12 /* attempts */
        start local 12 // int attempts
         5: .line 124
      StackMap locals: sun.swing.CachedPainter java.awt.Component java.awt.Graphics int int int int java.lang.Object[] java.lang.Object java.awt.GraphicsConfiguration sun.swing.ImageCache java.awt.Image int
      StackMap stack:
            iconst_0
            istore 13 /* draw */
        start local 13 // boolean draw
         6: .line 125
            aload 11 /* image */
            instanceof java.awt.image.VolatileImage
            ifeq 12
         7: .line 127
            aload 11 /* image */
            checkcast java.awt.image.VolatileImage
            aload 9 /* config */
            invokevirtual java.awt.image.VolatileImage.validate:(Ljava/awt/GraphicsConfiguration;)I
            tableswitch { // 1 - 2
                    1: 11
                    2: 8
              default: 12
          }
         8: .line 129
      StackMap locals: int
      StackMap stack:
            aload 11 /* image */
            checkcast java.awt.image.VolatileImage
            invokevirtual java.awt.image.VolatileImage.flush:()V
         9: .line 130
            aconst_null
            astore 11 /* image */
        10: .line 131
            goto 12
        11: .line 133
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 13 /* draw */
        12: .line 137
      StackMap locals:
      StackMap stack:
            aload 11 /* image */
            ifnonnull 16
        13: .line 139
            aload 0 /* this */
            aload 1 /* c */
            iload 5 /* w */
            iload 6 /* h */
            aload 9 /* config */
            aload 7 /* args */
            invokevirtual sun.swing.CachedPainter.createImage:(Ljava/awt/Component;IILjava/awt/GraphicsConfiguration;[Ljava/lang/Object;)Ljava/awt/Image;
            astore 11 /* image */
        14: .line 140
            aload 10 /* cache */
            aload 8 /* key */
            aload 9 /* config */
            iload 5 /* w */
            iload 6 /* h */
            aload 7 /* args */
            aload 11 /* image */
            invokevirtual sun.swing.ImageCache.setImage:(Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;Ljava/awt/Image;)V
        15: .line 141
            iconst_1
            istore 13 /* draw */
        16: .line 143
      StackMap locals:
      StackMap stack:
            iload 13 /* draw */
            ifeq 20
        17: .line 145
            aload 11 /* image */
            invokevirtual java.awt.Image.getGraphics:()Ljava/awt/Graphics;
            astore 14 /* g2 */
        start local 14 // java.awt.Graphics g2
        18: .line 146
            aload 0 /* this */
            aload 1 /* c */
            aload 11 /* image */
            aload 14 /* g2 */
            iload 5 /* w */
            iload 6 /* h */
            aload 7 /* args */
            invokevirtual sun.swing.CachedPainter.paintToImage:(Ljava/awt/Component;Ljava/awt/Image;Ljava/awt/Graphics;II[Ljava/lang/Object;)V
        19: .line 147
            aload 14 /* g2 */
            invokevirtual java.awt.Graphics.dispose:()V
        end local 14 // java.awt.Graphics g2
        20: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* c */
            aload 2 /* g */
            iload 3 /* x */
            iload 4 /* y */
            iload 5 /* w */
            iload 6 /* h */
            aload 11 /* image */
            aload 7 /* args */
            invokevirtual sun.swing.CachedPainter.paintImage:(Ljava/awt/Component;Ljava/awt/Graphics;IIIILjava/awt/Image;[Ljava/lang/Object;)V
        end local 13 // boolean draw
        21: .line 156
            aload 11 /* image */
            instanceof java.awt.image.VolatileImage
            ifeq 24
        22: .line 157
            aload 11 /* image */
            checkcast java.awt.image.VolatileImage
            invokevirtual java.awt.image.VolatileImage.contentsLost:()Z
            ifeq 24
            iinc 12 /* attempts */ 1
            iload 12 /* attempts */
            iconst_3
        23: .line 123
            if_icmplt 5
        24: .line 158
      StackMap locals:
      StackMap stack:
            return
        end local 12 // int attempts
        end local 11 // java.awt.Image image
        end local 10 // sun.swing.ImageCache cache
        end local 9 // java.awt.GraphicsConfiguration config
        end local 8 // java.lang.Object key
        end local 7 // java.lang.Object[] args
        end local 6 // int h
        end local 5 // int w
        end local 4 // int y
        end local 3 // int x
        end local 2 // java.awt.Graphics g
        end local 1 // java.awt.Component c
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   25     0      this  Lsun/swing/CachedPainter;
            0   25     1         c  Ljava/awt/Component;
            0   25     2         g  Ljava/awt/Graphics;
            0   25     3         x  I
            0   25     4         y  I
            0   25     5         w  I
            0   25     6         h  I
            0   25     7      args  [Ljava/lang/Object;
            1   25     8       key  Ljava/lang/Object;
            2   25     9    config  Ljava/awt/GraphicsConfiguration;
            3   25    10     cache  Lsun/swing/ImageCache;
            4   25    11     image  Ljava/awt/Image;
            5   25    12  attempts  I
            6   21    13      draw  Z
           18   20    14        g2  Ljava/awt/Graphics;
    MethodParameters:
      Name  Flags
      c     
      g     
      x     
      y     
      w     
      h     
      args  

  protected abstract void paintToImage(java.awt.Component, java.awt.Image, java.awt.Graphics, int, int, java.lang.Object[]);
    descriptor: (Ljava/awt/Component;Ljava/awt/Image;Ljava/awt/Graphics;II[Ljava/lang/Object;)V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
       Name  Flags
      c      
      image  
      g      
      w      
      h      
      args   

  protected void paintImage(java.awt.Component, java.awt.Graphics, int, int, int, int, java.awt.Image, java.lang.Object[]);
    descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIIILjava/awt/Image;[Ljava/lang/Object;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=9, args_size=9
        start local 0 // sun.swing.CachedPainter this
        start local 1 // java.awt.Component c
        start local 2 // java.awt.Graphics g
        start local 3 // int x
        start local 4 // int y
        start local 5 // int w
        start local 6 // int h
        start local 7 // java.awt.Image image
        start local 8 // java.lang.Object[] args
         0: .line 189
            aload 2 /* g */
            aload 7 /* image */
            iload 3 /* x */
            iload 4 /* y */
            aconst_null
            invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
            pop
         1: .line 190
            return
        end local 8 // java.lang.Object[] args
        end local 7 // java.awt.Image image
        end local 6 // int h
        end local 5 // int w
        end local 4 // int y
        end local 3 // int x
        end local 2 // java.awt.Graphics g
        end local 1 // java.awt.Component c
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lsun/swing/CachedPainter;
            0    2     1      c  Ljava/awt/Component;
            0    2     2      g  Ljava/awt/Graphics;
            0    2     3      x  I
            0    2     4      y  I
            0    2     5      w  I
            0    2     6      h  I
            0    2     7  image  Ljava/awt/Image;
            0    2     8   args  [Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      c      
      g      
      x      
      y      
      w      
      h      
      image  
      args   

  protected java.awt.Image createImage(java.awt.Component, int, int, java.awt.GraphicsConfiguration, java.lang.Object[]);
    descriptor: (Ljava/awt/Component;IILjava/awt/GraphicsConfiguration;[Ljava/lang/Object;)Ljava/awt/Image;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=6, args_size=6
        start local 0 // sun.swing.CachedPainter this
        start local 1 // java.awt.Component c
        start local 2 // int w
        start local 3 // int h
        start local 4 // java.awt.GraphicsConfiguration config
        start local 5 // java.lang.Object[] args
         0: .line 206
            aload 4 /* config */
            ifnonnull 2
         1: .line 207
            new java.awt.image.BufferedImage
            dup
            iload 2 /* w */
            iload 3 /* h */
            iconst_1
            invokespecial java.awt.image.BufferedImage.<init>:(III)V
            areturn
         2: .line 209
      StackMap locals:
      StackMap stack:
            aload 4 /* config */
            iload 2 /* w */
            iload 3 /* h */
            invokevirtual java.awt.GraphicsConfiguration.createCompatibleVolatileImage:(II)Ljava/awt/image/VolatileImage;
            areturn
        end local 5 // java.lang.Object[] args
        end local 4 // java.awt.GraphicsConfiguration config
        end local 3 // int h
        end local 2 // int w
        end local 1 // java.awt.Component c
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lsun/swing/CachedPainter;
            0    3     1       c  Ljava/awt/Component;
            0    3     2       w  I
            0    3     3       h  I
            0    3     4  config  Ljava/awt/GraphicsConfiguration;
            0    3     5    args  [Ljava/lang/Object;
    MethodParameters:
        Name  Flags
      c       
      w       
      h       
      config  
      args    

  protected void flush();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.swing.CachedPainter this
         0: .line 216
            ldc Lsun/swing/CachedPainter;
            dup
            astore 1
            monitorenter
         1: .line 217
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokestatic sun.swing.CachedPainter.getCache:(Ljava/lang/Object;)Lsun/swing/ImageCache;
            invokevirtual sun.swing.ImageCache.flush:()V
         2: .line 216
            aload 1
            monitorexit
         3: goto 6
      StackMap locals: sun.swing.CachedPainter java.lang.Class
      StackMap stack: java.lang.Throwable
         4: aload 1
            monitorexit
         5: athrow
         6: .line 219
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/swing/CachedPainter;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any

  private java.awt.GraphicsConfiguration getGraphicsConfiguration(java.awt.Component);
    descriptor: (Ljava/awt/Component;)Ljava/awt/GraphicsConfiguration;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.swing.CachedPainter this
        start local 1 // java.awt.Component c
         0: .line 222
            aload 1 /* c */
            ifnonnull 2
         1: .line 223
            aconst_null
            areturn
         2: .line 225
      StackMap locals:
      StackMap stack:
            aload 1 /* c */
            invokevirtual java.awt.Component.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
            areturn
        end local 1 // java.awt.Component c
        end local 0 // sun.swing.CachedPainter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/swing/CachedPainter;
            0    3     1     c  Ljava/awt/Component;
    MethodParameters:
      Name  Flags
      c     
}
SourceFile: "CachedPainter.java"