public final class javafx.scene.web.WebHistory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.scene.web.WebHistory
super_class: java.lang.Object
{
private final com.sun.webkit.BackForwardList bfl;
descriptor: Lcom/sun/webkit/BackForwardList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javafx.collections.ObservableList<javafx.scene.web.WebHistory$Entry> list;
descriptor: Ljavafx/collections/ObservableList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/collections/ObservableList<Ljavafx/scene/web/WebHistory$Entry;>;
private final javafx.collections.ObservableList<javafx.scene.web.WebHistory$Entry> ulist;
descriptor: Ljavafx/collections/ObservableList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/collections/ObservableList<Ljavafx/scene/web/WebHistory$Entry;>;
private final javafx.beans.property.ReadOnlyIntegerWrapper currentIndex;
descriptor: Ljavafx/beans/property/ReadOnlyIntegerWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javafx.beans.property.IntegerProperty maxSize;
descriptor: Ljavafx/beans/property/IntegerProperty;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavafx/scene/web/WebHistory;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javafx.scene.web.WebHistory.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.webkit.WebPage);
descriptor: (Lcom/sun/webkit/WebPage;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new javafx.beans.property.ReadOnlyIntegerWrapper
dup
aload 0
ldc "currentIndex"
invokespecial javafx.beans.property.ReadOnlyIntegerWrapper.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
putfield javafx.scene.web.WebHistory.currentIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
3: aload 0
invokestatic javafx.collections.FXCollections.observableArrayList:()Ljavafx/collections/ObservableList;
putfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
4: aload 0
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokestatic javafx.collections.FXCollections.unmodifiableObservableList:(Ljavafx/collections/ObservableList;)Ljavafx/collections/ObservableList;
putfield javafx.scene.web.WebHistory.ulist:Ljavafx/collections/ObservableList;
5: aload 0
aload 1
invokevirtual com.sun.webkit.WebPage.createBackForwardList:()Lcom/sun/webkit/BackForwardList;
putfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
6: aload 0
aload 0
invokevirtual javafx.scene.web.WebHistory.getMaxSize:()I
invokevirtual javafx.scene.web.WebHistory.setMaxSize:(I)V
7: aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
aload 0
invokedynamic stateChanged(Ljavafx/scene/web/WebHistory;)Lcom/sun/webkit/event/WCChangeListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/sun/webkit/event/WCChangeEvent;)V
javafx/scene/web/WebHistory.lambda$0(Lcom/sun/webkit/event/WCChangeEvent;)V (7)
(Lcom/sun/webkit/event/WCChangeEvent;)V
invokevirtual com.sun.webkit.BackForwardList.addChangeListener:(Lcom/sun/webkit/event/WCChangeListener;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavafx/scene/web/WebHistory;
0 9 1 page Lcom/sun/webkit/WebPage;
MethodParameters:
Name Flags
page
public javafx.beans.property.ReadOnlyIntegerProperty currentIndexProperty();
descriptor: ()Ljavafx/beans/property/ReadOnlyIntegerProperty;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.web.WebHistory.currentIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
invokevirtual javafx.beans.property.ReadOnlyIntegerWrapper.getReadOnlyProperty:()Ljavafx/beans/property/ReadOnlyIntegerProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/web/WebHistory;
public int getCurrentIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.web.WebHistory.currentIndexProperty:()Ljavafx/beans/property/ReadOnlyIntegerProperty;
invokevirtual javafx.beans.property.ReadOnlyIntegerProperty.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/web/WebHistory;
private void setCurrentIndex(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.web.WebHistory.currentIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
iload 1
invokevirtual javafx.beans.property.ReadOnlyIntegerWrapper.set:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/web/WebHistory;
0 2 1 value I
MethodParameters:
Name Flags
value
public javafx.beans.property.IntegerProperty maxSizeProperty();
descriptor: ()Ljavafx/beans/property/IntegerProperty;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.web.WebHistory.maxSize:Ljavafx/beans/property/IntegerProperty;
ifnonnull 2
1: aload 0
new javafx.scene.web.WebHistory$1
dup
aload 0
aload 0
ldc "maxSize"
bipush 100
invokespecial javafx.scene.web.WebHistory$1.<init>:(Ljavafx/scene/web/WebHistory;Ljava/lang/Object;Ljava/lang/String;I)V
putfield javafx.scene.web.WebHistory.maxSize:Ljavafx/beans/property/IntegerProperty;
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.maxSize:Ljavafx/beans/property/IntegerProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/web/WebHistory;
public void setMaxSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javafx.scene.web.WebHistory.maxSizeProperty:()Ljavafx/beans/property/IntegerProperty;
iload 1
invokevirtual javafx.beans.property.IntegerProperty.set:(I)V
1: aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
iload 1
invokevirtual com.sun.webkit.BackForwardList.setMaximumSize:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/web/WebHistory;
0 3 1 value I
MethodParameters:
Name Flags
value
public int getMaxSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.web.WebHistory.maxSizeProperty:()Ljavafx/beans/property/IntegerProperty;
invokevirtual javafx.beans.property.IntegerProperty.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/web/WebHistory;
public javafx.collections.ObservableList<javafx.scene.web.WebHistory$Entry> getEntries();
descriptor: ()Ljavafx/collections/ObservableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.web.WebHistory.ulist:Ljavafx/collections/ObservableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/web/WebHistory;
Signature: ()Ljavafx/collections/ObservableList<Ljavafx/scene/web/WebHistory$Entry;>;
public void go(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.web.WebHistory.getCurrentIndex:()I
iload 1
iadd
istore 2
start local 2 3: iload 2
iflt 4
iload 2
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 8
4: StackMap locals: int
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "the effective index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: ldc " is out of the range [0.."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
iload 2
invokevirtual com.sun.webkit.BackForwardList.setCurrentIndex:(I)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavafx/scene/web/WebHistory;
0 10 1 offset I
3 10 2 index I
Exceptions:
throws java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
offset
private void lambda$0(com.sun.webkit.event.WCChangeEvent);
descriptor: (Lcom/sun/webkit/event/WCChangeEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.size:()I
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmple 5
1: getstatic javafx.scene.web.WebHistory.$assertionsDisabled:Z
ifne 2
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.size:()I
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
iconst_1
iadd
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
new javafx.scene.web.WebHistory$Entry
dup
aload 0
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.getCurrentEntry:()Lcom/sun/webkit/BackForwardList$Entry;
invokespecial javafx.scene.web.WebHistory$Entry.<init>:(Ljavafx/scene/web/WebHistory;Lcom/sun/webkit/BackForwardList$Entry;)V
invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
3: aload 0
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
iconst_1
isub
invokevirtual javafx.scene.web.WebHistory.setCurrentIndex:(I)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.size:()I
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmpne 19
6: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifne 8
7: return
8: StackMap locals:
StackMap stack:
getstatic javafx.scene.web.WebHistory.$assertionsDisabled:Z
ifne 9
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifgt 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
iconst_1
isub
invokevirtual com.sun.webkit.BackForwardList.get:(I)Lcom/sun/webkit/BackForwardList$Entry;
astore 2
start local 2 10: aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
iconst_0
invokevirtual com.sun.webkit.BackForwardList.get:(I)Lcom/sun/webkit/BackForwardList$Entry;
astore 3
start local 3 11: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
iconst_1
isub
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.web.WebHistory$Entry
aload 2
invokevirtual javafx.scene.web.WebHistory$Entry.isPeer:(Lcom/sun/webkit/BackForwardList$Entry;)Z
ifeq 14
12: aload 0
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.getCurrentIndex:()I
invokevirtual javafx.scene.web.WebHistory.setCurrentIndex:(I)V
13: return
14: StackMap locals: com.sun.webkit.BackForwardList$Entry com.sun.webkit.BackForwardList$Entry
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
iconst_0
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.web.WebHistory$Entry
aload 3
invokevirtual javafx.scene.web.WebHistory$Entry.isPeer:(Lcom/sun/webkit/BackForwardList$Entry;)Z
ifne 19
15: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
iconst_0
invokeinterface javafx.collections.ObservableList.remove:(I)Ljava/lang/Object;
pop
16: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
new javafx.scene.web.WebHistory$Entry
dup
aload 0
aload 2
invokespecial javafx.scene.web.WebHistory$Entry.<init>:(Ljavafx/scene/web/WebHistory;Lcom/sun/webkit/BackForwardList$Entry;)V
invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
17: aload 0
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.getCurrentIndex:()I
invokevirtual javafx.scene.web.WebHistory.setCurrentIndex:(I)V
18: return
end local 3 end local 2 19: StackMap locals:
StackMap stack:
getstatic javafx.scene.web.WebHistory.$assertionsDisabled:Z
ifne 20
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.size:()I
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmple 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.size:()I
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
invokeinterface javafx.collections.ObservableList.remove:(II)V
21: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
iconst_1
isub
istore 2
start local 2 22: iload 2
iflt 25
aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
iload 2
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.web.WebHistory$Entry
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
iload 2
invokevirtual com.sun.webkit.BackForwardList.get:(I)Lcom/sun/webkit/BackForwardList$Entry;
invokevirtual javafx.scene.web.WebHistory$Entry.isPeer:(Lcom/sun/webkit/BackForwardList$Entry;)Z
ifne 25
23: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
iload 2
invokeinterface javafx.collections.ObservableList.remove:(I)Ljava/lang/Object;
pop
24: aload 0
getfield javafx.scene.web.WebHistory.list:Ljavafx/collections/ObservableList;
new javafx.scene.web.WebHistory$Entry
dup
aload 0
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
iload 2
invokevirtual com.sun.webkit.BackForwardList.get:(I)Lcom/sun/webkit/BackForwardList$Entry;
invokespecial javafx.scene.web.WebHistory$Entry.<init>:(Ljavafx/scene/web/WebHistory;Lcom/sun/webkit/BackForwardList$Entry;)V
invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
25: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield javafx.scene.web.WebHistory.bfl:Lcom/sun/webkit/BackForwardList;
invokevirtual com.sun.webkit.BackForwardList.getCurrentIndex:()I
invokevirtual javafx.scene.web.WebHistory.setCurrentIndex:(I)V
end local 2 26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavafx/scene/web/WebHistory;
0 27 1 e Lcom/sun/webkit/event/WCChangeEvent;
10 19 2 last Lcom/sun/webkit/BackForwardList$Entry;
11 19 3 first Lcom/sun/webkit/BackForwardList$Entry;
22 26 2 lastIndex I
}
SourceFile: "WebHistory.java"
NestMembers:
javafx.scene.web.WebHistory$1 javafx.scene.web.WebHistory$Entry
InnerClasses:
public final Entry = com.sun.webkit.BackForwardList$Entry of com.sun.webkit.BackForwardList
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
javafx.scene.web.WebHistory$1
public final Entry = javafx.scene.web.WebHistory$Entry of javafx.scene.web.WebHistory