public class org.jruby.embed.jsr223.JRubyEngineFactory implements javax.script.ScriptEngineFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.embed.jsr223.JRubyEngineFactory
super_class: java.lang.Object
{
private final java.lang.String engineName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String engineVersion;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> extensions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.lang.String languageName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String languageVersion;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<java.lang.String> mimeTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.List<java.lang.String> engineIds;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private java.util.Map<java.lang.String, java.lang.Object> parameters;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "JSR 223 JRuby Engine"
putfield org.jruby.embed.jsr223.JRubyEngineFactory.engineName:Ljava/lang/String;
2: aload 0
ldc "9.2.9.0"
putfield org.jruby.embed.jsr223.JRubyEngineFactory.engineVersion:Ljava/lang/String;
3: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "rb"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jruby.embed.jsr223.JRubyEngineFactory.extensions:Ljava/util/List;
4: aload 0
ldc "ruby"
putfield org.jruby.embed.jsr223.JRubyEngineFactory.languageName:Ljava/lang/String;
5: aload 0
ldc "jruby 9.2.9.0"
putfield org.jruby.embed.jsr223.JRubyEngineFactory.languageVersion:Ljava/lang/String;
6: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "application/x-ruby"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jruby.embed.jsr223.JRubyEngineFactory.mimeTypes:Ljava/util/List;
7: aload 0
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "ruby"
aastore
dup
iconst_1
ldc "jruby"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jruby.embed.jsr223.JRubyEngineFactory.engineIds:Ljava/util/List;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
private void initParameters();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
1: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ldc "javax.script.engine"
aload 0
invokevirtual org.jruby.embed.jsr223.JRubyEngineFactory.getEngineName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ldc "javax.script.engine_version"
aload 0
invokevirtual org.jruby.embed.jsr223.JRubyEngineFactory.getEngineVersion:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ldc "javax.script.name"
aload 0
invokevirtual org.jruby.embed.jsr223.JRubyEngineFactory.getEngineName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ldc "javax.script.language"
aload 0
invokevirtual org.jruby.embed.jsr223.JRubyEngineFactory.getLanguageName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ldc "javax.script.language_version"
aload 0
invokevirtual org.jruby.embed.jsr223.JRubyEngineFactory.getLanguageVersion:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ldc "THREADING"
ldc "THREAD-ISOLATED"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.lang.String getEngineName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.engineName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.lang.String getEngineVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.engineVersion:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.util.List getExtensions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.extensions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.lang.String getLanguageName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.languageName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.lang.String getLanguageVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.languageVersion:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
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=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 3
ifnull 3
aload 3
arraylength
ifne 6
3: StackMap locals:
StackMap stack:
aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.length:()I
ifne 5
4: StackMap locals:
StackMap stack:
ldc "{0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
ldc "{0}.{1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 7: iconst_1
istore 5
start local 5 8: aload 3
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 15
StackMap locals: org.jruby.embed.jsr223.JRubyEngineFactory java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder int top int int java.lang.String[]
StackMap stack:
9: aload 9
iload 7
aaload
astore 6
start local 6 10: iload 5
ifne 12
11: aload 4
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: org.jruby.embed.jsr223.JRubyEngineFactory java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder int java.lang.String int int java.lang.String[]
StackMap stack:
iconst_0
istore 5
13: aload 4
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 14: iinc 7 1
StackMap locals: org.jruby.embed.jsr223.JRubyEngineFactory java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder int top int int java.lang.String[]
StackMap stack:
15: iload 7
iload 8
if_icmplt 9
16: aload 1
ifnull 17
aload 1
invokevirtual java.lang.String.length:()I
ifne 18
17: StackMap locals: org.jruby.embed.jsr223.JRubyEngineFactory java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder int
StackMap stack:
ldc "{0}({1})"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
18: StackMap locals:
StackMap stack:
ldc "{0}.{1}({2})"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
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 19 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
0 19 1 obj Ljava/lang/String;
0 19 2 m Ljava/lang/String;
0 19 3 args [Ljava/lang/String;
7 19 4 builder Ljava/lang/StringBuilder;
8 19 5 first Z
10 14 6 arg Ljava/lang/String;
MethodParameters:
Name Flags
obj
m
args
public java.util.List getMimeTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.mimeTypes:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.util.List getNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.engineIds:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
public java.lang.String getOutputStatement(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "puts "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\nor\nprint "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
0 3 1 toDisplay Ljava/lang/String;
MethodParameters:
Name Flags
toDisplay
public java.lang.Object getParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
ifnonnull 2
1: aload 0
invokevirtual org.jruby.embed.jsr223.JRubyEngineFactory.initParameters:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.embed.jsr223.JRubyEngineFactory.parameters:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
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=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.jruby.embed.jsr223.JRubyEngineFactory java.lang.String[] java.lang.StringBuffer top int int java.lang.String[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 2
aload 3
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: aload 2
ldc "\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: new java.lang.String
dup
aload 2
invokespecial java.lang.String.<init>:(Ljava/lang/StringBuffer;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
0 10 1 statements [Ljava/lang/String;
3 10 2 sb Ljava/lang/StringBuffer;
5 7 3 s Ljava/lang/String;
MethodParameters:
Name Flags
statements
public javax.script.ScriptEngine getScriptEngine();
descriptor: ()Ljavax/script/ScriptEngine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: getstatic org.jruby.embed.LocalContextScope.SINGLETON:Lorg/jruby/embed/LocalContextScope;
invokestatic org.jruby.embed.util.SystemPropertyCatcher.getScope:(Lorg/jruby/embed/LocalContextScope;)Lorg/jruby/embed/LocalContextScope;
astore 1
start local 1 1: getstatic org.jruby.embed.LocalVariableBehavior.PERSISTENT:Lorg/jruby/embed/LocalVariableBehavior;
invokestatic org.jruby.embed.util.SystemPropertyCatcher.getBehavior:(Lorg/jruby/embed/LocalVariableBehavior;)Lorg/jruby/embed/LocalVariableBehavior;
astore 2
start local 2 2: iconst_0
invokestatic org.jruby.embed.util.SystemPropertyCatcher.isLazy:(Z)Z
istore 3
start local 3 3: new org.jruby.embed.ScriptingContainer
dup
aload 1
aload 2
iload 3
invokespecial org.jruby.embed.ScriptingContainer.<init>:(Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;Z)V
astore 4
start local 4 4: aload 4
invokestatic org.jruby.embed.util.SystemPropertyCatcher.setClassLoader:(Lorg/jruby/embed/ScriptingContainer;)V
5: aload 4
invokestatic org.jruby.embed.util.SystemPropertyCatcher.setConfiguration:(Lorg/jruby/embed/ScriptingContainer;)V
6: new org.jruby.embed.jsr223.JRubyEngine
dup
aload 4
aload 0
invokespecial org.jruby.embed.jsr223.JRubyEngine.<init>:(Lorg/jruby/embed/ScriptingContainer;Lorg/jruby/embed/jsr223/JRubyEngineFactory;)V
astore 5
start local 5 7: aload 5
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 8 0 this Lorg/jruby/embed/jsr223/JRubyEngineFactory;
1 8 1 scope Lorg/jruby/embed/LocalContextScope;
2 8 2 behavior Lorg/jruby/embed/LocalVariableBehavior;
3 8 3 lazy Z
4 8 4 container Lorg/jruby/embed/ScriptingContainer;
7 8 5 engine Lorg/jruby/embed/jsr223/JRubyEngine;
}
SourceFile: "JRubyEngineFactory.java"