public abstract class com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
com.oracle.truffle.js.nodes.intl.JSToCanonicalizedLocaleListNode toCanonicalizedLocaleListNode;
descriptor: Lcom/oracle/truffle/js/nodes/intl/JSToCanonicalizedLocaleListNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.js.nodes.cast.JSToObjectNode toObjectNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.js.nodes.intl.GetStringOptionNode getLocaleMatcherOption;
descriptor: Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.js.nodes.intl.GetStringOptionNode getStyleOption;
descriptor: Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.js.nodes.intl.GetStringOptionNode getTypeOption;
descriptor: Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.js.nodes.intl.GetStringOptionNode getFallbackOption;
descriptor: Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.BranchProfile errorBranch;
descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
2: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
3: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.intl.JSToCanonicalizedLocaleListNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/intl/JSToCanonicalizedLocaleListNode;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.toCanonicalizedLocaleListNode:Lcom/oracle/truffle/js/nodes/intl/JSToCanonicalizedLocaleListNode;
4: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.cast.JSToObjectNode.createToObject:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.toObjectNode:Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
5: aload 0
aload 1
ldc "localeMatcher"
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "lookup"
aastore
dup
iconst_1
ldc "best fit"
aastore
ldc "best fit"
invokestatic com.oracle.truffle.js.nodes.intl.GetStringOptionNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getLocaleMatcherOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
6: aload 0
aload 1
ldc "style"
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "narrow"
aastore
dup
iconst_1
ldc "short"
aastore
dup
iconst_2
ldc "long"
aastore
ldc "long"
invokestatic com.oracle.truffle.js.nodes.intl.GetStringOptionNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getStyleOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
7: aload 0
aload 1
ldc "type"
iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "language"
aastore
dup
iconst_1
ldc "region"
aastore
dup
iconst_2
ldc "script"
aastore
dup
iconst_3
ldc "currency"
aastore
aconst_null
invokestatic com.oracle.truffle.js.nodes.intl.GetStringOptionNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getTypeOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
8: aload 0
aload 1
ldc "fallback"
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "code"
aastore
dup
iconst_1
ldc "none"
aastore
ldc "code"
invokestatic com.oracle.truffle.js.nodes.intl.GetStringOptionNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
putfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getFallbackOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/nodes/intl/InitializeDisplayNamesNode;
0 10 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public abstract com.oracle.truffle.api.object.DynamicObject executeInit(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
displayNames
locales
options
public static com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode createInitalizeDisplayNamesNode(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/intl/InitializeDisplayNamesNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tInitializeDisplayNamesNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
public com.oracle.truffle.api.object.DynamicObject initializeDisplayNames(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.toCanonicalizedLocaleListNode:Lcom/oracle/truffle/js/nodes/intl/JSToCanonicalizedLocaleListNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.intl.JSToCanonicalizedLocaleListNode.executeLanguageTags:(Ljava/lang/Object;)[Ljava/lang/String;
astore 4
start local 4 1: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.toObjectNode:Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
aload 3
invokevirtual com.oracle.truffle.js.nodes.cast.JSToObjectNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 2: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getLocaleMatcherOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.intl.GetStringOptionNode.executeValue:(Ljava/lang/Object;)Ljava/lang/String;
pop
3: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getStyleOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.intl.GetStringOptionNode.executeValue:(Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 4: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getTypeOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.intl.GetStringOptionNode.executeValue:(Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 5: aload 7
ifnonnull 8
6: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
7: ldc "'type' option not specified"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
8: StackMap locals: com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object java.lang.String[] java.lang.Object java.lang.String java.lang.String
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.getFallbackOption:Lcom/oracle/truffle/js/nodes/intl/GetStringOptionNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.intl.GetStringOptionNode.executeValue:(Ljava/lang/Object;)Ljava/lang/String;
astore 8
start local 8 9: aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.intl.JSDisplayNames.getInternalState:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/intl/JSDisplayNames$InternalState;
astore 9
start local 9 10: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 9
aload 4
aload 6
aload 7
aload 8
invokestatic com.oracle.truffle.js.runtime.builtins.intl.JSDisplayNames.setupInternalState:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/intl/JSDisplayNames$InternalState;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 11: goto 15
StackMap locals: com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object
StackMap stack: java.util.MissingResourceException
12: astore 4
start local 4 13: aload 0
getfield com.oracle.truffle.js.nodes.intl.InitializeDisplayNamesNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
14: aload 4
invokestatic com.oracle.truffle.js.runtime.Errors.createICU4JDataError:(Ljava/lang/Exception;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 4 15: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/js/nodes/intl/InitializeDisplayNamesNode;
0 16 1 displayNamesObject Lcom/oracle/truffle/api/object/DynamicObject;
0 16 2 localesArg Ljava/lang/Object;
0 16 3 optionsArg Ljava/lang/Object;
1 11 4 locales [Ljava/lang/String;
2 11 5 options Ljava/lang/Object;
4 11 6 optStyle Ljava/lang/String;
5 11 7 optType Ljava/lang/String;
9 11 8 optFallback Ljava/lang/String;
10 11 9 state Lcom/oracle/truffle/js/runtime/builtins/intl/JSDisplayNames$InternalState;
13 15 4 e Ljava/util/MissingResourceException;
Exception table:
from to target type
0 11 12 Class java.util.MissingResourceException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
displayNamesObject
localesArg
optionsArg
}
SourceFile: "InitializeDisplayNamesNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public InternalState = com.oracle.truffle.js.runtime.builtins.intl.JSDisplayNames$InternalState of com.oracle.truffle.js.runtime.builtins.intl.JSDisplayNames