public class java.awt.Canvas extends java.awt.Component implements javax.accessibility.Accessible
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.awt.Canvas
  super_class: java.awt.Component
{
  private static final java.lang.String base;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "canvas"

  private static int nameCounter;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static final long serialVersionUID;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -2284879212465893870

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            iconst_0
            putstatic java.awt.Canvas.nameCounter:I
         1: .line 52
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Canvas this
         0: .line 57
            aload 0 /* this */
            invokespecial java.awt.Component.<init>:()V
         1: .line 58
            return
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/awt/Canvas;

  public void <init>(java.awt.GraphicsConfiguration);
    descriptor: (Ljava/awt/GraphicsConfiguration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Canvas this
        start local 1 // java.awt.GraphicsConfiguration config
         0: .line 70
            aload 0 /* this */
            invokespecial java.awt.Canvas.<init>:()V
         1: .line 71
            aload 0 /* this */
            aload 1 /* config */
            invokevirtual java.awt.Canvas.setGraphicsConfiguration:(Ljava/awt/GraphicsConfiguration;)V
         2: .line 72
            return
        end local 1 // java.awt.GraphicsConfiguration config
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljava/awt/Canvas;
            0    3     1  config  Ljava/awt/GraphicsConfiguration;
    MethodParameters:
        Name  Flags
      config  

  void setGraphicsConfiguration(java.awt.GraphicsConfiguration);
    descriptor: (Ljava/awt/GraphicsConfiguration;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // java.awt.Canvas this
        start local 1 // java.awt.GraphicsConfiguration gc
         0: .line 76
            aload 0 /* this */
            invokevirtual java.awt.Canvas.getTreeLock:()Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         1: .line 77
            aload 0 /* this */
            getfield java.awt.Canvas.peer:Ljava/awt/peer/ComponentPeer;
            checkcast java.awt.peer.CanvasPeer
            astore 3 /* peer */
        start local 3 // java.awt.peer.CanvasPeer peer
         2: .line 78
            aload 3 /* peer */
            ifnull 4
         3: .line 79
            aload 3 /* peer */
            aload 1 /* gc */
            invokeinterface java.awt.peer.CanvasPeer.getAppropriateGraphicsConfiguration:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;
            astore 1 /* gc */
         4: .line 81
      StackMap locals: java.lang.Object java.awt.peer.CanvasPeer
      StackMap stack:
            aload 0 /* this */
            aload 1 /* gc */
            invokespecial java.awt.Component.setGraphicsConfiguration:(Ljava/awt/GraphicsConfiguration;)V
        end local 3 // java.awt.peer.CanvasPeer peer
         5: .line 76
            aload 2
            monitorexit
         6: goto 9
      StackMap locals: java.awt.Canvas java.awt.GraphicsConfiguration java.lang.Object
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 83
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.awt.GraphicsConfiguration gc
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljava/awt/Canvas;
            0   10     1    gc  Ljava/awt/GraphicsConfiguration;
            2    5     3  peer  Ljava/awt/peer/CanvasPeer;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
      Name  Flags
      gc    

  java.lang.String constructComponentName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.awt.Canvas this
         0: .line 90
            ldc Ljava/awt/Canvas;
            dup
            astore 1
            monitorenter
         1: .line 91
            new java.lang.StringBuilder
            dup
            ldc "canvas"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic java.awt.Canvas.nameCounter:I
            dup
            iconst_1
            iadd
            putstatic java.awt.Canvas.nameCounter:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 1
            monitorexit
         2: areturn
         3: .line 90
      StackMap locals: java.awt.Canvas java.lang.Class
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/awt/Canvas;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public void addNotify();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.awt.Canvas this
         0: .line 101
            aload 0 /* this */
            invokevirtual java.awt.Canvas.getTreeLock:()Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 102
            aload 0 /* this */
            getfield java.awt.Canvas.peer:Ljava/awt/peer/ComponentPeer;
            ifnonnull 3
         2: .line 103
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual java.awt.Canvas.getComponentFactory:()Lsun/awt/ComponentFactory;
            aload 0 /* this */
            invokeinterface sun.awt.ComponentFactory.createCanvas:(Ljava/awt/Canvas;)Ljava/awt/peer/CanvasPeer;
            putfield java.awt.Canvas.peer:Ljava/awt/peer/ComponentPeer;
         3: .line 104
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            invokespecial java.awt.Component.addNotify:()V
         4: .line 101
            aload 1
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 1
            monitorexit
         7: athrow
         8: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljava/awt/Canvas;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any

  public void paint(java.awt.Graphics);
    descriptor: (Ljava/awt/Graphics;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.awt.Canvas this
        start local 1 // java.awt.Graphics g
         0: .line 123
            aload 1 /* g */
            iconst_0
            iconst_0
            aload 0 /* this */
            getfield java.awt.Canvas.width:I
            aload 0 /* this */
            getfield java.awt.Canvas.height:I
            invokevirtual java.awt.Graphics.clearRect:(IIII)V
         1: .line 124
            return
        end local 1 // java.awt.Graphics g
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/awt/Canvas;
            0    2     1     g  Ljava/awt/Graphics;
    MethodParameters:
      Name  Flags
      g     

  public void update(java.awt.Graphics);
    descriptor: (Ljava/awt/Graphics;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.awt.Canvas this
        start local 1 // java.awt.Graphics g
         0: .line 142
            aload 1 /* g */
            iconst_0
            iconst_0
            aload 0 /* this */
            getfield java.awt.Canvas.width:I
            aload 0 /* this */
            getfield java.awt.Canvas.height:I
            invokevirtual java.awt.Graphics.clearRect:(IIII)V
         1: .line 143
            aload 0 /* this */
            aload 1 /* g */
            invokevirtual java.awt.Canvas.paint:(Ljava/awt/Graphics;)V
         2: .line 144
            return
        end local 1 // java.awt.Graphics g
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Canvas;
            0    3     1     g  Ljava/awt/Graphics;
    MethodParameters:
      Name  Flags
      g     

  boolean postsOldMouseEvents();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Canvas this
         0: .line 147
            iconst_1
            ireturn
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/awt/Canvas;

  public void createBufferStrategy(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.awt.Canvas this
        start local 1 // int numBuffers
         0: .line 170
            aload 0 /* this */
            iload 1 /* numBuffers */
            invokespecial java.awt.Component.createBufferStrategy:(I)V
         1: .line 171
            return
        end local 1 // int numBuffers
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Ljava/awt/Canvas;
            0    2     1  numBuffers  I
    MethodParameters:
            Name  Flags
      numBuffers  

  public void createBufferStrategy(int, java.awt.BufferCapabilities);
    descriptor: (ILjava/awt/BufferCapabilities;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.awt.Canvas this
        start local 1 // int numBuffers
        start local 2 // java.awt.BufferCapabilities caps
         0: .line 195
            aload 0 /* this */
            iload 1 /* numBuffers */
            aload 2 /* caps */
            invokespecial java.awt.Component.createBufferStrategy:(ILjava/awt/BufferCapabilities;)V
         1: .line 196
            return
        end local 2 // java.awt.BufferCapabilities caps
        end local 1 // int numBuffers
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Ljava/awt/Canvas;
            0    2     1  numBuffers  I
            0    2     2        caps  Ljava/awt/BufferCapabilities;
    Exceptions:
      throws java.awt.AWTException
    MethodParameters:
            Name  Flags
      numBuffers  
      caps        

  public java.awt.image.BufferStrategy getBufferStrategy();
    descriptor: ()Ljava/awt/image/BufferStrategy;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.awt.Canvas this
         0: .line 208
            aload 0 /* this */
            invokespecial java.awt.Component.getBufferStrategy:()Ljava/awt/image/BufferStrategy;
            areturn
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/awt/Canvas;

  public javax.accessibility.AccessibleContext getAccessibleContext();
    descriptor: ()Ljavax/accessibility/AccessibleContext;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.awt.Canvas this
         0: .line 227
            aload 0 /* this */
            getfield java.awt.Canvas.accessibleContext:Ljavax/accessibility/AccessibleContext;
            ifnonnull 2
         1: .line 228
            aload 0 /* this */
            new java.awt.Canvas$AccessibleAWTCanvas
            dup
            aload 0 /* this */
            invokespecial java.awt.Canvas$AccessibleAWTCanvas.<init>:(Ljava/awt/Canvas;)V
            putfield java.awt.Canvas.accessibleContext:Ljavax/accessibility/AccessibleContext;
         2: .line 230
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.awt.Canvas.accessibleContext:Ljavax/accessibility/AccessibleContext;
            areturn
        end local 0 // java.awt.Canvas this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/awt/Canvas;
}
SourceFile: "Canvas.java"
NestMembers:
  java.awt.Canvas$AccessibleAWTCanvas
InnerClasses:
  protected AccessibleAWTCanvas = java.awt.Canvas$AccessibleAWTCanvas of java.awt.Canvas