final class javafx.scene.image.Image$Animation
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: javafx.scene.image.Image$Animation
  super_class: java.lang.Object
{
  final java.lang.ref.WeakReference<javafx.scene.image.Image> imageRef;
    descriptor: Ljava/lang/ref/WeakReference;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/lang/ref/WeakReference<Ljavafx/scene/image/Image;>;

  final javafx.animation.Timeline timeline;
    descriptor: Ljavafx/animation/Timeline;
    flags: (0x0010) ACC_FINAL

  final javafx.beans.property.SimpleIntegerProperty frameIndex;
    descriptor: Ljavafx/beans/property/SimpleIntegerProperty;
    flags: (0x0010) ACC_FINAL

  public void <init>(javafx.scene.image.Image, com.sun.javafx.tk.ImageLoader);
    descriptor: (Ljavafx/scene/image/Image;Lcom/sun/javafx/tk/ImageLoader;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // javafx.scene.image.Image$Animation this
        start local 1 // javafx.scene.image.Image image
        start local 2 // com.sun.javafx.tk.ImageLoader loader
         0: .line 888
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 881
            aload 0 /* this */
            new javafx.scene.image.Image$Animation$1
            dup
            aload 0 /* this */
            invokespecial javafx.scene.image.Image$Animation$1.<init>:(Ljavafx/scene/image/Image$Animation;)V
            putfield javafx.scene.image.Image$Animation.frameIndex:Ljavafx/beans/property/SimpleIntegerProperty;
         2: .line 889
            aload 0 /* this */
            new java.lang.ref.WeakReference
            dup
            aload 1 /* image */
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
            putfield javafx.scene.image.Image$Animation.imageRef:Ljava/lang/ref/WeakReference;
         3: .line 890
            aload 0 /* this */
            new javafx.animation.Timeline
            dup
            invokespecial javafx.animation.Timeline.<init>:()V
            putfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
         4: .line 891
            aload 2 /* loader */
            invokeinterface com.sun.javafx.tk.ImageLoader.getLoopCount:()I
            istore 3 /* loopCount */
        start local 3 // int loopCount
         5: .line 892
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
            iload 3 /* loopCount */
            ifne 6
            iconst_m1
            goto 7
      StackMap locals: javafx.scene.image.Image$Animation javafx.scene.image.Image com.sun.javafx.tk.ImageLoader int
      StackMap stack: javafx.animation.Timeline
         6: iload 3 /* loopCount */
      StackMap locals: javafx.scene.image.Image$Animation javafx.scene.image.Image com.sun.javafx.tk.ImageLoader int
      StackMap stack: javafx.animation.Timeline int
         7: invokevirtual javafx.animation.Timeline.setCycleCount:(I)V
         8: .line 894
            aload 2 /* loader */
            invokeinterface com.sun.javafx.tk.ImageLoader.getFrameCount:()I
            istore 4 /* frameCount */
        start local 4 // int frameCount
         9: .line 895
            iconst_0
            istore 5 /* duration */
        start local 5 // int duration
        10: .line 897
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        11: goto 15
        12: .line 898
      StackMap locals: int int int
      StackMap stack:
            aload 0 /* this */
            iload 6 /* i */
            iload 5 /* duration */
            i2d
            invokevirtual javafx.scene.image.Image$Animation.addKeyFrame:(ID)V
        13: .line 899
            iload 5 /* duration */
            aload 2 /* loader */
            iload 6 /* i */
            invokeinterface com.sun.javafx.tk.ImageLoader.getFrameDelay:(I)I
            iadd
            istore 5 /* duration */
        14: .line 897
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 6 /* i */
            iload 4 /* frameCount */
            if_icmplt 12
        end local 6 // int i
        16: .line 904
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
            invokevirtual javafx.animation.Timeline.getKeyFrames:()Ljavafx/collections/ObservableList;
            new javafx.animation.KeyFrame
            dup
            iload 5 /* duration */
            i2d
            invokestatic javafx.util.Duration.millis:(D)Ljavafx/util/Duration;
            iconst_0
            anewarray javafx.animation.KeyValue
            invokespecial javafx.animation.KeyFrame.<init>:(Ljavafx/util/Duration;[Ljavafx/animation/KeyValue;)V
            invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
            pop
        17: .line 905
            return
        end local 5 // int duration
        end local 4 // int frameCount
        end local 3 // int loopCount
        end local 2 // com.sun.javafx.tk.ImageLoader loader
        end local 1 // javafx.scene.image.Image image
        end local 0 // javafx.scene.image.Image$Animation this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   18     0        this  Ljavafx/scene/image/Image$Animation;
            0   18     1       image  Ljavafx/scene/image/Image;
            0   18     2      loader  Lcom/sun/javafx/tk/ImageLoader;
            5   18     3   loopCount  I
            9   18     4  frameCount  I
           10   18     5    duration  I
           11   16     6           i  I
    MethodParameters:
        Name  Flags
      image   final
      loader  final

  public void start();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.image.Image$Animation this
         0: .line 908
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
            invokevirtual javafx.animation.Timeline.play:()V
         1: .line 909
            return
        end local 0 // javafx.scene.image.Image$Animation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavafx/scene/image/Image$Animation;

  public void stop();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.image.Image$Animation this
         0: .line 912
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
            invokevirtual javafx.animation.Timeline.stop:()V
         1: .line 913
            return
        end local 0 // javafx.scene.image.Image$Animation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavafx/scene/image/Image$Animation;

  private void updateImage(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // javafx.scene.image.Image$Animation this
        start local 1 // int frameIndex
         0: .line 916
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.imageRef:Ljava/lang/ref/WeakReference;
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            checkcast javafx.scene.image.Image
            astore 2 /* image */
        start local 2 // javafx.scene.image.Image image
         1: .line 917
            aload 2 /* image */
            ifnull 6
         2: .line 918
            aload 2 /* image */
            invokevirtual javafx.scene.image.Image.platformImagePropertyImpl:()Ljavafx/scene/image/Image$ObjectPropertyImpl;
         3: .line 919
            aload 2 /* image */
            getfield javafx.scene.image.Image.animFrames:[Lcom/sun/javafx/tk/PlatformImage;
            iload 1 /* frameIndex */
            aaload
         4: .line 918
            invokevirtual javafx.scene.image.Image$ObjectPropertyImpl.set:(Ljava/lang/Object;)V
         5: .line 920
            goto 7
         6: .line 921
      StackMap locals: javafx.scene.image.Image
      StackMap stack:
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
            invokevirtual javafx.animation.Timeline.stop:()V
         7: .line 923
      StackMap locals:
      StackMap stack:
            return
        end local 2 // javafx.scene.image.Image image
        end local 1 // int frameIndex
        end local 0 // javafx.scene.image.Image$Animation this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Ljavafx/scene/image/Image$Animation;
            0    8     1  frameIndex  I
            1    8     2       image  Ljavafx/scene/image/Image;
    MethodParameters:
            Name  Flags
      frameIndex  final

  private void addKeyFrame(int, double);
    descriptor: (ID)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=12, locals=4, args_size=3
        start local 0 // javafx.scene.image.Image$Animation this
        start local 1 // int index
        start local 2 // double duration
         0: .line 926
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.timeline:Ljavafx/animation/Timeline;
            invokevirtual javafx.animation.Timeline.getKeyFrames:()Ljavafx/collections/ObservableList;
         1: .line 927
            new javafx.animation.KeyFrame
            dup
            dload 2 /* duration */
            invokestatic javafx.util.Duration.millis:(D)Ljavafx/util/Duration;
            iconst_1
            anewarray javafx.animation.KeyValue
            dup
            iconst_0
         2: .line 928
            new javafx.animation.KeyValue
            dup
            aload 0 /* this */
            getfield javafx.scene.image.Image$Animation.frameIndex:Ljavafx/beans/property/SimpleIntegerProperty;
            iload 1 /* index */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            getstatic javafx.animation.Interpolator.DISCRETE:Ljavafx/animation/Interpolator;
            invokespecial javafx.animation.KeyValue.<init>:(Ljavafx/beans/value/WritableValue;Ljava/lang/Object;Ljavafx/animation/Interpolator;)V
         3: .line 927
            aastore
            invokespecial javafx.animation.KeyFrame.<init>:(Ljavafx/util/Duration;[Ljavafx/animation/KeyValue;)V
         4: .line 926
            invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
            pop
         5: .line 930
            return
        end local 2 // double duration
        end local 1 // int index
        end local 0 // javafx.scene.image.Image$Animation this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Ljavafx/scene/image/Image$Animation;
            0    6     1     index  I
            0    6     2  duration  D
    MethodParameters:
          Name  Flags
      index     final
      duration  final
}
SourceFile: "Image.java"
NestHost: javafx.scene.image.Image
InnerClasses:
  private final Animation = javafx.scene.image.Image$Animation of javafx.scene.image.Image
  javafx.scene.image.Image$Animation$1
  private final ObjectPropertyImpl = javafx.scene.image.Image$ObjectPropertyImpl of javafx.scene.image.Image