public class com.sun.script.javascript.RhinoScriptEngineFactory extends com.sun.script.util.ScriptEngineFactoryBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.script.javascript.RhinoScriptEngineFactory
super_class: com.sun.script.util.ScriptEngineFactoryBase
{
private static java.util.List<java.lang.String> names;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/String;>;
private static java.util.List<java.lang.String> mimeTypes;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/String;>;
private static java.util.List<java.lang.String> extensions;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.ArrayList
dup
bipush 6
invokespecial java.util.ArrayList.<init>:(I)V
putstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
1: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
ldc "js"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
ldc "rhino"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
ldc "JavaScript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
ldc "javascript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
ldc "ECMAScript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
ldc "ecmascript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
8: new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
putstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
9: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
ldc "application/javascript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
ldc "application/ecmascript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
ldc "text/javascript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
ldc "text/ecmascript"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
14: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
putstatic com.sun.script.javascript.RhinoScriptEngineFactory.extensions:Ljava/util/List;
15: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.extensions:Ljava/util/List;
ldc "js"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.extensions:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putstatic com.sun.script.javascript.RhinoScriptEngineFactory.extensions:Ljava/util/List;
17: 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 0: aload 0
invokespecial com.sun.script.util.ScriptEngineFactoryBase.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
public java.util.List<java.lang.String> getExtensions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.extensions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getMimeTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.mimeTypes:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.script.javascript.RhinoScriptEngineFactory.names:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.lang.Object getParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "javax.script.name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: ldc "javascript"
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "javax.script.engine"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: ldc "Mozilla Rhino"
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "javax.script.engine_version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc "1.7 release 3 PRERELEASE"
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "javax.script.language"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: ldc "ECMAScript"
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "javax.script.language_version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: ldc "1.8"
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc "THREADING"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: ldc "MULTITHREADED"
areturn
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
0 13 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public javax.script.ScriptEngine getScriptEngine();
descriptor: ()Ljavax/script/ScriptEngine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.sun.script.javascript.RhinoScriptEngine
dup
invokespecial com.sun.script.javascript.RhinoScriptEngine.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.sun.script.javascript.RhinoScriptEngine.setEngineFactory:(Ljavax/script/ScriptEngineFactory;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
1 3 1 ret Lcom/sun/script/javascript/RhinoScriptEngine;
public java.lang.String getMethodCallSyntax(java.lang.String, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 1: aload 3
arraylength
istore 5
start local 5 2: iload 5
ifne 5
3: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
4: aload 4
areturn
5: StackMap locals: java.lang.String int
StackMap stack:
iconst_0
istore 6
start local 6 6: goto 13
7: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iload 6
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
8: iload 6
iload 5
iconst_1
isub
if_icmpeq 11
9: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
10: goto 12
11: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
12: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 5
if_icmplt 7
end local 6 14: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
0 15 1 obj Ljava/lang/String;
0 15 2 method Ljava/lang/String;
0 15 3 args [Ljava/lang/String;
1 15 4 ret Ljava/lang/String;
2 15 5 len I
6 14 6 i I
MethodParameters:
Name Flags
obj
method
args
public java.lang.String getOutputStatement(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: aload 2
ldc "print(\""
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: iconst_0
istore 4
start local 4 4: goto 13
5: StackMap locals: java.lang.StringBuffer int int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 5
lookupswitch { // 2
34: 7
92: 9
default: 11
}
7: StackMap locals: int
StackMap stack:
aload 2
ldc "\\\""
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: goto 12
9: StackMap locals:
StackMap stack:
aload 2
ldc "\\\\"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
10: goto 12
11: StackMap locals:
StackMap stack:
aload 2
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 3
if_icmplt 5
end local 4 14: aload 2
ldc "\")"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
15: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
0 16 1 toDisplay Ljava/lang/String;
1 16 2 buf Ljava/lang/StringBuffer;
2 16 3 len I
4 14 4 i I
6 12 5 ch C
MethodParameters:
Name Flags
toDisplay
public java.lang.String getProgram(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
arraylength
istore 2
start local 2 1: ldc ""
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ";"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 2
if_icmplt 4
end local 4 7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/script/javascript/RhinoScriptEngineFactory;
0 8 1 statements [Ljava/lang/String;
1 8 2 len I
2 8 3 ret Ljava/lang/String;
3 7 4 i I
MethodParameters:
Name Flags
statements
}
SourceFile: "RhinoScriptEngineFactory.java"