public class org.jruby.util.cli.ArgumentProcessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.cli.ArgumentProcessor
super_class: java.lang.Object
{
public static final java.lang.String SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "(?<!jar:file|jar|file|classpath|uri:classloader|uri|http|https):"
private final java.util.List<org.jruby.util.cli.ArgumentProcessor$Argument> arguments;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/jruby/util/cli/ArgumentProcessor$Argument;>;
private int argumentIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean processArgv;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final boolean rubyOpts;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.jruby.RubyInstanceConfig config;
descriptor: Lorg/jruby/RubyInstanceConfig;
flags: (0x0010) ACC_FINAL
private boolean endOfArguments;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int characterIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final java.util.regex.Pattern VERSION_FLAG;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.String> KNOWN_PROPERTIES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.List<java.lang.String> KNOWN_PROPERTY_PREFIXES;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private static final java.util.Map<java.lang.String, java.util.function.BiFunction<org.jruby.util.cli.ArgumentProcessor, java.lang.Boolean, java.lang.Void>> FEATURES;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/function/BiFunction<Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;Ljava/lang/Void;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: ldc "^--[12]\\.[89012]$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jruby.util.cli.ArgumentProcessor.VERSION_FLAG:Ljava/util/regex/Pattern;
1: new java.util.HashSet
dup
getstatic org.jruby.util.cli.Options.PROPERTIES:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
bipush 16
iadd
fconst_1
invokespecial java.util.HashSet.<init>:(IF)V
putstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
2: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
invokestatic org.jruby.util.cli.Options.addPropertyNames:(Ljava/util/Set;)V
3: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.home"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.script"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.shell"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.lib"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.bindir"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.jar"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.compat.version"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.reflection"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.thread.pool.enabled"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.memory.max"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
13: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
ldc "jruby.stack.max"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
14: new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
putstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTY_PREFIXES:Ljava/util/List;
15: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTY_PREFIXES:Ljava/util/List;
ldc "jruby.openssl."
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: new java.util.HashMap
dup
bipush 12
fconst_1
invokespecial java.util.HashMap.<init>:(IF)V
astore 0
start local 0 17: aload 0
ldc "all"
new org.jruby.util.cli.ArgumentProcessor$1
dup
invokespecial org.jruby.util.cli.ArgumentProcessor$1.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
ldc "gem"
invokedynamic apply()Ljava/util/function/BiFunction;
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:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/jruby/util/cli/ArgumentProcessor.lambda$0(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void; (6)
(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
ldc "gems"
invokedynamic apply()Ljava/util/function/BiFunction;
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:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/jruby/util/cli/ArgumentProcessor.lambda$1(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void; (6)
(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: aload 0
ldc "did-you-mean"
invokedynamic apply()Ljava/util/function/BiFunction;
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:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/jruby/util/cli/ArgumentProcessor.lambda$2(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void; (6)
(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
dup
astore 1
start local 1 21: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: aload 0
ldc "did_you_mean"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: aload 0
ldc "rubyopt"
invokedynamic apply()Ljava/util/function/BiFunction;
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:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/jruby/util/cli/ArgumentProcessor.lambda$3(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void; (6)
(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: aload 0
ldc "frozen-string-literal"
invokedynamic apply()Ljava/util/function/BiFunction;
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:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/jruby/util/cli/ArgumentProcessor.lambda$4(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void; (6)
(Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
dup
astore 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: aload 0
ldc "frozen_string_literal"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
26: aload 0
putstatic org.jruby.util.cli.ArgumentProcessor.FEATURES:Ljava/util/Map;
end local 1 end local 0 27: return
LocalVariableTable:
Start End Slot Name Signature
17 27 0 features Ljava/util/Map<Ljava/lang/String;Ljava/util/function/BiFunction<Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;Ljava/lang/Void;>;>;
21 27 1 function Ljava/util/function/BiFunction<Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;Ljava/lang/Void;>;
public void <init>(java.lang.String[], org.jruby.RubyInstanceConfig);
descriptor: ([Ljava/lang/String;Lorg/jruby/RubyInstanceConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_1
iconst_0
iconst_0
aload 2
invokespecial org.jruby.util.cli.ArgumentProcessor.<init>:([Ljava/lang/String;ZZZLorg/jruby/RubyInstanceConfig;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 2 1 arguments [Ljava/lang/String;
0 2 2 config Lorg/jruby/RubyInstanceConfig;
MethodParameters:
Name Flags
arguments
config
public void <init>(java.lang.String[], boolean, boolean, boolean, org.jruby.RubyInstanceConfig);
descriptor: ([Ljava/lang/String;ZZZLorg/jruby/RubyInstanceConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
2: aload 0
iconst_0
putfield org.jruby.util.cli.ArgumentProcessor.endOfArguments:Z
3: aload 0
iconst_0
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
4: aload 0
aload 5
putfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
5: aload 1
ifnull 13
aload 1
arraylength
ifle 13
6: aload 0
new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
7: aload 1
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 11
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String[] int int int org.jruby.RubyInstanceConfig top int int java.lang.String[]
StackMap stack:
8: aload 9
iload 7
aaload
astore 6
start local 6 9: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
new org.jruby.util.cli.ArgumentProcessor$Argument
dup
aload 6
iload 3
invokespecial org.jruby.util.cli.ArgumentProcessor$Argument.<init>:(Ljava/lang/String;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 10: iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iload 8
if_icmplt 8
12: goto 14
13: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String[] int int int org.jruby.RubyInstanceConfig
StackMap stack:
aload 0
new java.util.ArrayList
dup
iconst_0
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
14: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.jruby.util.cli.ArgumentProcessor.processArgv:Z
15: aload 0
iload 4
putfield org.jruby.util.cli.ArgumentProcessor.rubyOpts:Z
16: return
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 17 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 17 1 arguments [Ljava/lang/String;
0 17 2 processArgv Z
0 17 3 dashed Z
0 17 4 rubyOpts Z
0 17 5 config Lorg/jruby/RubyInstanceConfig;
9 10 6 argument Ljava/lang/String;
MethodParameters:
Name Flags
arguments
processArgv
dashed
rubyOpts
config
public void processArguments();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.jruby.util.cli.ArgumentProcessor.processArguments:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/cli/ArgumentProcessor;
public void processArguments(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.util.cli.ArgumentProcessor.checkProperties:()V
1: goto 4
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.processArgument:()V
3: aload 0
dup
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
iconst_1
iadd
putfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 5
aload 0
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.cli.ArgumentProcessor$Argument
getfield org.jruby.util.cli.ArgumentProcessor$Argument.originalValue:Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.isInterpreterArgument:(Ljava/lang/String;)Z
ifne 2
5: StackMap locals:
StackMap stack:
iload 1
ifeq 9
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isInlineScript:()Z
ifne 9
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getScriptFileName:()Ljava/lang/String;
ifnonnull 9
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isForceStdin:()Z
ifne 9
6: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 9
7: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.cli.ArgumentProcessor$Argument
getfield org.jruby.util.cli.ArgumentProcessor$Argument.originalValue:Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setScriptFileName:(Ljava/lang/String;)V
8: aload 0
dup
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
iconst_1
iadd
putfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
9: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.processArgv:Z
ifeq 11
10: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.processArgv:()V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 12 1 inline Z
MethodParameters:
Name Flags
inline
private void processArgv();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: goto 17
2: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.cli.ArgumentProcessor$Argument
getfield org.jruby.util.cli.ArgumentProcessor$Argument.originalValue:Ljava/lang/String;
astore 2
start local 2 3: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isArgvGlobalsOn:()Z
ifeq 14
aload 2
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
4: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
5: aload 2
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 6: iload 3
ifle 12
7: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 8: aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 9: aload 4
bipush 45
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 6
start local 6 10: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getOptionGlobals:()Ljava/util/Map;
aload 6
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 4 11: goto 16
12: StackMap locals: java.lang.String int
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getOptionGlobals:()Ljava/util/Map;
aload 2
aconst_null
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setArgvGlobalsOn:(Z)V
15: aload 1
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 16: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
iconst_1
iadd
putfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
StackMap locals:
StackMap stack:
17: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
18: aload 1
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getArgv:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
19: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual org.jruby.RubyInstanceConfig.setArgv:([Ljava/lang/String;)V
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/util/cli/ArgumentProcessor;
1 21 1 arglist Ljava/util/ArrayList<Ljava/lang/String;>;
3 16 2 arg Ljava/lang/String;
6 13 3 split I
8 11 4 key Ljava/lang/String;
9 11 5 val Ljava/lang/String;
10 11 6 globalName Ljava/lang/String;
private boolean isInterpreterArgument(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
ifle 2
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpeq 1
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 43
if_icmpne 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.endOfArguments:Z
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
argument
private java.lang.String getArgumentError(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "jruby: invalid argument\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
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 1 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 1 1 additionalError Ljava/lang/String;
MethodParameters:
Name Flags
additionalError
private void processArgument();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.cli.ArgumentProcessor$Argument
invokevirtual org.jruby.util.cli.ArgumentProcessor$Argument.getDashedValue:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 5
2: aload 0
iconst_1
putfield org.jruby.util.cli.ArgumentProcessor.endOfArguments:Z
3: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setForceStdin:(Z)V
4: return
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
iconst_1
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
goto 342
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 29
45: 184
48: 7
67: 31
69: 54
70: 56
71: 104
73: 68
74: 75
75: 81
83: 106
84: 109
85: 111
87: 118
88: 152
97: 25
99: 28
100: 46
101: 49
104: 59
105: 63
108: 87
110: 90
112: 94
114: 99
115: 101
118: 113
119: 116
120: 134
121: 181
default: 340
}
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
8: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
astore 2
start local 2 9: aload 2
ifnonnull 12
10: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
ldc "\u0000"
invokevirtual org.jruby.RubyInstanceConfig.setRecordSeparator:(Ljava/lang/String;)V
11: goto 343
StackMap locals: java.lang.String
StackMap stack:
12: aload 2
ldc "0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
ldc "\n\n"
invokevirtual org.jruby.RubyInstanceConfig.setRecordSeparator:(Ljava/lang/String;)V
14: goto 343
StackMap locals:
StackMap stack:
15: aload 2
ldc "777"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
ldc "\uFFFF"
invokevirtual org.jruby.RubyInstanceConfig.setRecordSeparator:(Ljava/lang/String;)V
17: goto 343
18: StackMap locals:
StackMap stack:
aload 2
bipush 8
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 3
start local 3 19: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iload 3
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setRecordSeparator:(Ljava/lang/String;)V
end local 3 20: goto 343
StackMap locals:
StackMap stack: java.lang.Exception
21: pop
22: new org.jruby.exceptions.MainExitException
dup
iconst_1
aload 0
ldc " -0 must be followed by either 0, 777, or a valid octal value"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
astore 3
start local 3 23: aload 3
iconst_1
invokevirtual org.jruby.exceptions.MainExitException.setUsageError:(Z)V
24: aload 3
athrow
end local 3 end local 2 25: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
26: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setSplit:(Z)V
27: goto 341
28: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
29: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShouldCheckSyntax:(Z)V
30: goto 341
31: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
32: aload 0
aload 0
ldc " -C must be followed by a directory expression"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 33: new java.io.File
dup
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 34: new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 35: aload 2
ldc "uri:classloader:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 38
36: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 2
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
37: goto 42
StackMap locals: java.lang.String java.io.File java.io.File
StackMap stack:
38: aload 4
invokevirtual java.io.File.isAbsolute:()Z
ifeq 41
39: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 4
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
40: goto 42
41: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
new java.io.File
dup
aload 3
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
42: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isDirectory:()Z
ifne 343
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
ldc "uri:classloader:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 343
43: new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "jruby: Can't chdir to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (fatal)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
end local 4 end local 3 end local 2 44: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack: java.io.IOException
pop
45: new org.jruby.exceptions.MainExitException
dup
iconst_1
aload 0
ldc " -C must be followed by a valid directory"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
46: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setDebug:(Z)V
47: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
48: goto 341
49: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
50: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getInlineScript:()Ljava/lang/StringBuffer;
aload 0
aload 0
ldc " -e must be followed by an expression to report"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
51: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getInlineScript:()Ljava/lang/StringBuffer;
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
52: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setHasInlineScript:(Z)V
53: goto 343
54: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
ldc "unknown encoding name"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.processEncodingOption:(Ljava/lang/String;)V
55: goto 343
56: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
57: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 0
aload 0
ldc " -F must be followed by a pattern for input field separation"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setInputFieldSeparator:(Ljava/lang/String;)V
58: goto 343
59: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
60: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShouldPrintUsage:(Z)V
61: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
62: goto 341
63: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
64: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setInPlaceBackupExtension:(Ljava/lang/String;)V
65: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getInPlaceBackupExtension:()Ljava/lang/String;
ifnonnull 343
66: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
ldc ""
invokevirtual org.jruby.RubyInstanceConfig.setInPlaceBackupExtension:(Ljava/lang/String;)V
67: goto 343
68: StackMap locals:
StackMap stack:
aload 0
aload 0
ldc "-I must be followed by a directory name to add to lib path"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 69: getstatic java.io.File.pathSeparator:Ljava/lang/String;
astore 3
start local 3 70: ldc ":"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 72
71: ldc "(?<!jar:file|jar|file|classpath|uri:classloader|uri|http|https):"
astore 3
72: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 73: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getLoadPaths:()Ljava/util/List;
aload 4
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
74: goto 343
end local 4 end local 3 end local 2 75: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
astore 5
start local 5 76: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "warning: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " argument ignored (launched in same VM?)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
77: aload 5
ldc "-cp"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 78
aload 5
ldc "-classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 343
78: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top java.lang.String
StackMap stack:
aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
ifnonnull 78
79: aload 0
aload 0
ldc " -J-cp must be followed by a path expression"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
pop
80: goto 343
end local 5 81: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 0
aload 0
ldc "provide a value for -K"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 82: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 6
invokestatic org.jruby.util.KCode.create:(Ljava/lang/String;)Lorg/jruby/util/KCode;
invokevirtual org.jruby.RubyInstanceConfig.setKCode:(Lorg/jruby/util/KCode;)V
83: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getKCode:()Lorg/jruby/util/KCode;
invokevirtual org.jruby.util.KCode.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.toString:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setSourceEncoding:(Ljava/lang/String;)V
84: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getExternalEncoding:()Ljava/lang/String;
ifnonnull 341
85: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getKCode:()Lorg/jruby/util/KCode;
invokevirtual org.jruby.util.KCode.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.toString:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setExternalEncoding:(Ljava/lang/String;)V
86: goto 341
end local 6 87: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
88: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setProcessLineEnds:(Z)V
89: goto 341
90: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
91: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setAssumeLoop:(Z)V
92: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setKernelGsubDefined:(Z)V
93: goto 341
94: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
95: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setAssumePrinting:(Z)V
96: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setAssumeLoop:(Z)V
97: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setKernelGsubDefined:(Z)V
98: goto 341
99: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getRequiredLibraries:()Ljava/util/Collection;
aload 0
aload 0
ldc "-r must be followed by a package to require"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
100: goto 343
101: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
102: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setArgvGlobalsOn:(Z)V
103: goto 341
104: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setLoadGemfile:(Z)V
105: goto 341
106: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
107: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.runBinScript:()V
108: goto 343
109: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
pop
110: goto 343
111: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
ldc "UTF-8"
invokevirtual org.jruby.RubyInstanceConfig.setInternalEncoding:(Ljava/lang/String;)V
112: goto 341
113: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
114: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowVersion:(Z)V
115: goto 341
116: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
117: goto 341
118: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
astore 7
start local 7 119: aload 7
ifnonnull 122
120: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
121: goto 343
122: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top java.lang.String
StackMap stack:
aload 7
ldc "0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 125
123: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.NIL:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
124: goto 343
StackMap locals:
StackMap stack:
125: aload 7
ldc "1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 128
126: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.FALSE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
127: goto 343
StackMap locals:
StackMap stack:
128: aload 7
ldc "2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 131
129: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
130: goto 343
131: StackMap locals:
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_1
aload 0
ldc " -W must be followed by either 0, 1, 2 or nothing"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
astore 8
start local 8 132: aload 8
iconst_1
invokevirtual org.jruby.exceptions.MainExitException.setUsageError:(Z)V
133: aload 8
athrow
end local 8 end local 7 134: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
135: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
astore 7
start local 7 136: aload 7
ifnull 148
137: new java.io.File
dup
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 138: new java.io.File
dup
aload 7
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
start local 9 139: aload 7
ldc "uri:classloader:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 142
140: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 7
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
141: goto 146
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top java.lang.String java.io.File java.io.File
StackMap stack:
142: aload 9
invokevirtual java.io.File.isAbsolute:()Z
ifeq 145
143: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 9
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
144: goto 146
145: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
new java.io.File
dup
aload 8
aload 9
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
146: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isDirectory:()Z
ifne 148
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
ldc "uri:classloader:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 148
147: new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "jruby: Can't chdir to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (fatal)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
end local 9 end local 8 148: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setXFlag:(Z)V
end local 7 149: goto 343
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack: java.io.IOException
150: pop
151: new org.jruby.exceptions.MainExitException
dup
iconst_1
aload 0
ldc " -x must be followed by a valid directory"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
152: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
153: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
astore 7
start local 7 154: aload 7
ifnonnull 158
155: ldc "jruby.launcher.nopreamble"
iconst_0
invokestatic org.jruby.util.SafePropertyAccessor.getBoolean:(Ljava/lang/String;Z)Z
ifeq 157
156: new org.jruby.exceptions.MainExitException
dup
iconst_0
invokestatic org.jruby.util.cli.OutputStrings.getExtendedHelp:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
157: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top java.lang.String
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "jruby: missing argument\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic org.jruby.util.cli.OutputStrings.getExtendedHelp:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
158: StackMap locals:
StackMap stack:
aload 7
ldc "-O"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 161
159: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setObjectSpaceEnabled:(Z)V
160: goto 343
StackMap locals:
StackMap stack:
161: aload 7
ldc "+O"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 164
162: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setObjectSpaceEnabled:(Z)V
163: goto 343
StackMap locals:
StackMap stack:
164: aload 7
ldc "-C"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 165
aload 7
ldc "-CIR"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 167
165: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$CompileMode.OFF:Lorg/jruby/RubyInstanceConfig$CompileMode;
invokevirtual org.jruby.RubyInstanceConfig.setCompileMode:(Lorg/jruby/RubyInstanceConfig$CompileMode;)V
166: goto 343
StackMap locals:
StackMap stack:
167: aload 7
ldc "+C"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 168
aload 7
ldc "+CIR"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 170
168: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$CompileMode.FORCE:Lorg/jruby/RubyInstanceConfig$CompileMode;
invokevirtual org.jruby.RubyInstanceConfig.setCompileMode:(Lorg/jruby/RubyInstanceConfig$CompileMode;)V
169: goto 343
StackMap locals:
StackMap stack:
170: aload 7
ldc "..."
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 174
171: aload 7
iconst_0
aload 7
invokevirtual java.lang.String.length:()I
ldc "..."
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic org.jruby.util.cli.Options.listPrefix:(Ljava/lang/String;)V
172: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
173: goto 343
StackMap locals:
StackMap stack:
174: aload 7
ldc "?"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 178
175: aload 7
iconst_0
aload 7
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic org.jruby.util.cli.Options.listContains:(Ljava/lang/String;)V
176: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
177: goto 343
178: StackMap locals:
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "jruby: invalid extended option "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (-X will list valid options)\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
astore 8
start local 8 179: aload 8
iconst_1
invokevirtual org.jruby.exceptions.MainExitException.setUsageError:(Z)V
180: aload 8
athrow
end local 8 end local 7 181: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
182: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setParserDebug:(Z)V
183: goto 343
184: StackMap locals:
StackMap stack:
aload 1
ldc "--command"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 185
aload 1
ldc "--bin"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 188
185: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
186: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.runBinScript:()V
187: goto 341
188: StackMap locals:
StackMap stack:
aload 1
ldc "--compat"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 193
189: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
190: aload 0
aload 0
ldc "--compat takes an argument, but will be ignored"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
pop
191: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "warning: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ignored"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
192: goto 343
193: StackMap locals:
StackMap stack:
aload 1
ldc "--copyright"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 198
194: aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
195: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowCopyright:(Z)V
196: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
197: goto 343
198: StackMap locals:
StackMap stack:
aload 1
ldc "--debug"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 204
199: aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
200: getstatic org.jruby.util.cli.Options.DEBUG_FULLTRACE:Lcom/headius/options/Option;
ldc "true"
invokevirtual com.headius.options.Option.force:(Ljava/lang/String;)V
201: iconst_1
putstatic org.jruby.RubyInstanceConfig.FULL_TRACE_ENABLED:Z
202: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setDebuggingFrozenStringLiteral:(Z)V
203: goto 343
204: StackMap locals:
StackMap stack:
aload 1
ldc "--debug="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 215
205: aload 1
ldc "debug"
invokestatic org.jruby.util.cli.ArgumentProcessor.valueListFor:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 213
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top top int int java.lang.String[]
StackMap stack:
206: aload 11
iload 9
aaload
astore 8
start local 8 207: aload 8
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 12
start local 12 208: iload 12
ifne 209
aload 8
ldc "frozen-string-literal"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 211
209: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top java.lang.String int int java.lang.String[] int
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setDebuggingFrozenStringLiteral:(Z)V
210: goto 212
211: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "warning: unknown argument for --debug: `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 12 end local 8 212: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top top int int java.lang.String[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
213: iload 9
iload 10
if_icmplt 206
214: goto 343
215: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 1
ldc "--jdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 219
216: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setDebug:(Z)V
217: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
218: goto 341
219: StackMap locals:
StackMap stack:
aload 1
ldc "--help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 224
220: aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
221: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShouldPrintUsage:(Z)V
222: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
223: goto 341
224: StackMap locals:
StackMap stack:
aload 1
ldc "--properties"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 228
225: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShouldPrintProperties:(Z)V
226: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
227: goto 341
228: StackMap locals:
StackMap stack:
aload 1
ldc "--version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 233
229: aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
230: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowVersion:(Z)V
231: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
232: goto 343
233: StackMap locals:
StackMap stack:
aload 1
ldc "--bytecode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 236
234: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowBytecode:(Z)V
235: goto 343
236: StackMap locals:
StackMap stack:
aload 1
ldc "--fast"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 239
237: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$CompileMode.FORCE:Lorg/jruby/RubyInstanceConfig$CompileMode;
invokevirtual org.jruby.RubyInstanceConfig.setCompileMode:(Lorg/jruby/RubyInstanceConfig$CompileMode;)V
238: goto 343
239: StackMap locals:
StackMap stack:
aload 1
ldc "--profile"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 261
240: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
241: aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 8
start local 8 242: iload 8
iconst_m1
if_icmpne 245
243: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$ProfilingMode.FLAT:Lorg/jruby/RubyInstanceConfig$ProfilingMode;
invokevirtual org.jruby.RubyInstanceConfig.setProfilingMode:(Lorg/jruby/RubyInstanceConfig$ProfilingMode;)V
244: goto 343
245: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top int
StackMap stack:
aload 1
iload 8
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
start local 9 246: aload 9
ldc "out"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 252
247: aload 0
aload 0
ldc "--profile.out requires an output file argument"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 248: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
new org.jruby.runtime.profile.builtin.ProfileOutput
dup
new java.io.File
dup
aload 10
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial org.jruby.runtime.profile.builtin.ProfileOutput.<init>:(Ljava/io/File;)V
invokevirtual org.jruby.RubyInstanceConfig.setProfileOutput:(Lorg/jruby/runtime/profile/builtin/ProfileOutput;)V
249: goto 343
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top int java.lang.String java.lang.String
StackMap stack: java.io.FileNotFoundException
250: astore 11
start local 11 251: new org.jruby.exceptions.MainExitException
dup
iconst_1
ldc "jruby: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
invokevirtual java.io.FileNotFoundException.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
end local 11 end local 10 252: StackMap locals:
StackMap stack:
aload 9
ldc "service"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 257
253: aload 0
aload 0
ldc "--profile.service requires an class name argument"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 254: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$ProfilingMode.SERVICE:Lorg/jruby/RubyInstanceConfig$ProfilingMode;
invokevirtual org.jruby.RubyInstanceConfig.setProfilingMode:(Lorg/jruby/RubyInstanceConfig$ProfilingMode;)V
255: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 10
invokevirtual org.jruby.RubyInstanceConfig.setProfilingService:(Ljava/lang/String;)V
end local 10 256: goto 343
257: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 9
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokestatic org.jruby.RubyInstanceConfig$ProfilingMode.valueOf:(Ljava/lang/String;)Lorg/jruby/RubyInstanceConfig$ProfilingMode;
invokevirtual org.jruby.RubyInstanceConfig.setProfilingMode:(Lorg/jruby/RubyInstanceConfig$ProfilingMode;)V
258: goto 343
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
259: pop
260: new org.jruby.exceptions.MainExitException
dup
iconst_1
ldc "jruby: unknown profiler mode \"%s\""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
end local 9 end local 8 261: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
getstatic org.jruby.util.cli.ArgumentProcessor.VERSION_FLAG:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 264
262: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "warning: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ignored"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
263: goto 343
264: StackMap locals:
StackMap stack:
aload 1
ldc "--debug-frozen-string-literal"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 267
265: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setDebuggingFrozenStringLiteral:(Z)V
266: goto 343
267: StackMap locals:
StackMap stack:
aload 1
ldc "--disable"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 279
268: aload 1
invokevirtual java.lang.String.length:()I
istore 8
start local 8 269: iload 8
ldc "--disable"
invokevirtual java.lang.String.length:()I
if_icmpne 273
270: aload 0
iload 8
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
271: aload 0
aload 0
ldc "missing argument for --disable"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
iconst_0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;Z)Ljava/lang/String;
astore 9
start local 9 272: new java.lang.StringBuilder
dup
ldc "--disable="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 9 273: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top int
StackMap stack:
aload 1
ldc "disable"
invokestatic org.jruby.util.cli.ArgumentProcessor.valueListFor:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 277
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top int top int int java.lang.String[]
StackMap stack:
274: aload 12
iload 10
aaload
astore 9
start local 9 275: aload 0
aload 9
iconst_0
invokevirtual org.jruby.util.cli.ArgumentProcessor.enableDisableFeature:(Ljava/lang/String;Z)V
end local 9 276: iinc 10 1
StackMap locals:
StackMap stack:
277: iload 10
iload 11
if_icmplt 274
278: goto 343
end local 8 279: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 1
ldc "--enable"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 291
280: aload 1
invokevirtual java.lang.String.length:()I
istore 8
start local 8 281: iload 8
ldc "--enable"
invokevirtual java.lang.String.length:()I
if_icmpne 285
282: aload 0
iload 8
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
283: aload 0
aload 0
ldc "missing argument for --enable"
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
iconst_0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;Z)Ljava/lang/String;
astore 9
start local 9 284: new java.lang.StringBuilder
dup
ldc "--enable="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 9 285: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top int
StackMap stack:
aload 1
ldc "enable"
invokestatic org.jruby.util.cli.ArgumentProcessor.valueListFor:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 289
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top int top int int java.lang.String[]
StackMap stack:
286: aload 12
iload 10
aaload
astore 9
start local 9 287: aload 0
aload 9
iconst_1
invokevirtual org.jruby.util.cli.ArgumentProcessor.enableDisableFeature:(Ljava/lang/String;Z)V
end local 9 288: iinc 10 1
StackMap locals:
StackMap stack:
289: iload 10
iload 11
if_icmplt 286
290: goto 343
end local 8 291: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 1
ldc "--gemfile"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 294
292: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setLoadGemfile:(Z)V
293: goto 343
294: StackMap locals:
StackMap stack:
aload 1
ldc "--dump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 322
295: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
296: ldc "--dump only supports [version, copyright, usage, yydebug, syntax, insns] on JRuby"
astore 8
start local 8 297: aload 0
aload 0
aload 8
invokevirtual org.jruby.util.cli.ArgumentProcessor.getArgumentError:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 298: aload 9
ldc "version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 302
299: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowVersion:(Z)V
300: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
301: goto 343
302: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String top top top top top top java.lang.String java.lang.String
StackMap stack:
aload 9
ldc "copyright"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 306
303: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowCopyright:(Z)V
304: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
305: goto 343
306: StackMap locals:
StackMap stack:
aload 9
ldc "usage"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 310
307: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShouldPrintUsage:(Z)V
308: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setShouldRunInterpreter:(Z)V
309: goto 343
310: StackMap locals:
StackMap stack:
aload 9
ldc "yydebug"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 313
311: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setParserDebug:(Z)V
312: goto 343
313: StackMap locals:
StackMap stack:
aload 9
ldc "syntax"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 316
314: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShouldCheckSyntax:(Z)V
315: goto 341
StackMap locals:
StackMap stack:
316: aload 9
ldc "insns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 319
317: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setShowBytecode:(Z)V
318: goto 341
319: StackMap locals:
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_1
aload 8
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
astore 10
start local 10 320: aload 10
iconst_1
invokevirtual org.jruby.exceptions.MainExitException.setUsageError:(Z)V
321: aload 10
athrow
end local 10 end local 9 end local 8 322: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String
StackMap stack:
aload 1
ldc "--dev"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 326
323: getstatic org.jruby.util.cli.Options.COMPILE_INVOKEDYNAMIC:Lcom/headius/options/Option;
ldc "false"
invokevirtual com.headius.options.Option.force:(Ljava/lang/String;)V
324: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$CompileMode.OFF:Lorg/jruby/RubyInstanceConfig$CompileMode;
invokevirtual org.jruby.RubyInstanceConfig.setCompileMode:(Lorg/jruby/RubyInstanceConfig$CompileMode;)V
325: goto 343
326: StackMap locals:
StackMap stack:
aload 1
ldc "--server"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 328
327: goto 343
328: StackMap locals:
StackMap stack:
aload 1
ldc "--client"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 330
329: goto 343
330: StackMap locals:
StackMap stack:
aload 1
ldc "--yydebug"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 334
331: aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.disallowedInRubyOpts:(Ljava/lang/CharSequence;)V
332: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setParserDebug:(Z)V
333: goto 340
StackMap locals:
StackMap stack:
334: aload 1
ldc "--verbose"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 337
335: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
getstatic org.jruby.RubyInstanceConfig$Verbosity.TRUE:Lorg/jruby/RubyInstanceConfig$Verbosity;
invokevirtual org.jruby.RubyInstanceConfig.setVerbosity:(Lorg/jruby/RubyInstanceConfig$Verbosity;)V
336: goto 343
337: StackMap locals:
StackMap stack:
aload 1
ldc "--"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 340
338: aload 0
iconst_1
putfield org.jruby.util.cli.ArgumentProcessor.endOfArguments:Z
339: goto 341
340: StackMap locals:
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "jruby: unknown option "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
341: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
iconst_1
iadd
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
StackMap locals:
StackMap stack:
342: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 6
343: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 344 0 this Lorg/jruby/util/cli/ArgumentProcessor;
1 344 1 argument Ljava/lang/String;
9 25 2 temp Ljava/lang/String;
19 20 3 val I
23 25 3 mee Lorg/jruby/exceptions/MainExitException;
33 44 2 saved Ljava/lang/String;
34 44 3 base Ljava/io/File;
35 44 4 newDir Ljava/io/File;
69 75 2 s Ljava/lang/String;
70 75 3 separator Ljava/lang/String;
73 75 4 ls [Ljava/lang/String;
76 81 5 js Ljava/lang/String;
82 87 6 eArg Ljava/lang/String;
119 134 7 temp Ljava/lang/String;
132 134 8 mee Lorg/jruby/exceptions/MainExitException;
136 149 7 saved Ljava/lang/String;
138 148 8 base Ljava/io/File;
139 148 9 newDir Ljava/io/File;
154 181 7 extendedOption Ljava/lang/String;
179 181 8 mee Lorg/jruby/exceptions/MainExitException;
207 212 8 debug Ljava/lang/String;
208 212 12 all Z
242 261 8 dotIndex I
246 261 9 profilingMode Ljava/lang/String;
248 252 10 outputFile Ljava/lang/String;
251 252 11 e Ljava/io/FileNotFoundException;
254 256 10 service Ljava/lang/String;
269 279 8 len I
272 273 9 feature Ljava/lang/String;
275 276 9 disable Ljava/lang/String;
281 291 8 len I
284 285 9 feature Ljava/lang/String;
287 288 9 enable Ljava/lang/String;
297 322 8 error Ljava/lang/String;
298 322 9 dumpArg Ljava/lang/String;
320 322 10 mee Lorg/jruby/exceptions/MainExitException;
Exception table:
from to target type
18 20 21 Class java.lang.Exception
32 44 44 Class java.io.IOException
135 149 150 Class java.io.IOException
248 249 250 Class java.io.FileNotFoundException
257 258 259 Class java.lang.IllegalArgumentException
private void enableDisableFeature(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.util.cli.ArgumentProcessor.FEATURES:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.function.BiFunction
astore 3
start local 3 1: aload 3
ifnonnull 6
2: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "warning: unknown argument for --"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
ifeq 3
ldc "enable"
goto 4
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String int java.util.function.BiFunction
StackMap stack: java.io.PrintStream java.lang.StringBuilder
3: ldc "disable"
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String int java.util.function.BiFunction
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": `"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 3
aload 0
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 8 1 name Ljava/lang/String;
0 8 2 enable Z
1 8 3 feature Ljava/util/function/BiFunction<Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;Ljava/lang/Void;>;
MethodParameters:
Name Flags
name
enable
private static java.lang.String[] valueListFor(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
iconst_3
iadd
istore 2
start local 2 1: aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 2: aload 3
arraylength
ifne 3
aload 1
invokestatic org.jruby.util.cli.ArgumentProcessor.errorMissingEquals:(Ljava/lang/String;)V
3: StackMap locals: int java.lang.String[]
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 argument Ljava/lang/String;
0 4 1 key Ljava/lang/String;
1 4 2 length I
2 4 3 values [Ljava/lang/String;
MethodParameters:
Name Flags
argument
key
private void disallowedInRubyOpts(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.rubyOpts:Z
ifeq 2
1: new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "jruby: invalid switch in RUBYOPT: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (RuntimeError)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 option Ljava/lang/CharSequence;
MethodParameters:
Name Flags
option
private static void errorMissingEquals(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "missing argument for --"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual org.jruby.exceptions.MainExitException.setUsageError:(Z)V
2: aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 label Ljava/lang/String;
1 3 1 mee Lorg/jruby/exceptions/MainExitException;
MethodParameters:
Name Flags
label
private void processEncodingOption(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
bipush 58
iconst_3
invokestatic org.jruby.util.StringSupport.split:(Ljava/lang/String;CI)Ljava/util/List;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.size:()I
tableswitch { // 1 - 3
1: 4
2: 3
3: 2
default: 5
}
2: StackMap locals: java.util.List
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "extra argument for -E: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 2
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.jruby.RubyInstanceConfig.setInternalEncoding:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.jruby.RubyInstanceConfig.setExternalEncoding:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 6 1 value Ljava/lang/String;
1 6 2 encodings Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
value
private void runBinScript();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "jruby: provide a bin script to execute"
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "irb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: ldc "jirb"
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 0
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.resolveScript:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setScriptFileName:(Ljava/lang/String;)V
4: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getScriptFileName:()Ljava/lang/String;
ifnonnull 10
5: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
invokevirtual org.jruby.RubyInstanceConfig.setScriptFileName:(Ljava/lang/String;)V
6: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getRequiredLibraries:()Ljava/util/Collection;
ldc "jruby/commands"
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
7: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getInlineScript:()Ljava/lang/StringBuffer;
ldc "JRuby::Commands."
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 1
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getInlineScript:()Ljava/lang/StringBuffer;
ldc "\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
iconst_1
invokevirtual org.jruby.RubyInstanceConfig.setHasInlineScript:(Z)V
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.jruby.util.cli.ArgumentProcessor.endOfArguments:Z
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/util/cli/ArgumentProcessor;
1 12 1 scriptName Ljava/lang/String;
private java.lang.String resolve(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.RubyInstanceConfig.DEBUG_SCRIPT_RESOLUTION:Z
ifeq 2
1: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Trying path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.jruby.util.JRubyFile.createRestrictedResource:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/util/FileResource;
astore 3
start local 3 3: aload 3
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 9
aload 3
invokeinterface org.jruby.util.FileResource.isFile:()Z
ifeq 9
4: getstatic org.jruby.RubyInstanceConfig.DEBUG_SCRIPT_RESOLUTION:Z
ifeq 6
5: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals: org.jruby.util.FileResource
StackMap stack:
aload 3
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
7: areturn
end local 3 8: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String java.lang.String
StackMap stack: java.lang.Exception
pop
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 10 1 path Ljava/lang/String;
0 10 2 scriptName Ljava/lang/String;
3 8 3 fullName Lorg/jruby/util/FileResource;
Exception table:
from to target type
2 7 8 Class java.lang.Exception
MethodParameters:
Name Flags
path
scriptName
private java.lang.String resolveScript(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 1
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getJRubyHome:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/bin"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
3: aload 2
ifnull 4
aload 2
areturn
4: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getCurrentDirectory:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/bin"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
5: aload 2
ifnull 6
aload 2
areturn
6: StackMap locals:
StackMap stack:
aload 0
ldc "uri:classloader:/bin"
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
7: aload 2
ifnull 8
aload 2
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getEnvironment:()Ljava/util/Map;
ldc "PATH"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 9: aload 3
ifnull 18
10: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 11: aload 4
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 12: iconst_0
istore 6
start local 6 13: goto 17
14: StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.String java.lang.String java.lang.Object java.lang.String java.lang.String[] int
StackMap stack:
aload 0
new java.io.File
dup
aload 5
iload 6
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.util.cli.ArgumentProcessor.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
15: aload 2
ifnull 16
aload 2
areturn
16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 5
arraylength
if_icmplt 14
end local 6 end local 5 end local 4 18: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isDebug:()Z
ifeq 20
19: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getError:()Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "warning: could not resolve -S script: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 21 1 scriptName Ljava/lang/String;
1 21 2 result Ljava/lang/String;
9 21 3 maybePath Ljava/lang/Object;
11 18 4 path Ljava/lang/String;
12 18 5 paths [Ljava/lang/String;
13 18 6 i I
MethodParameters:
Name Flags
scriptName
public java.lang.String resolveScriptUsingClassLoader(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.RubyInstanceConfig.defaultClassLoader:()Ljava/lang/ClassLoader;
new java.lang.StringBuilder
dup
ldc "bin/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
ifnull 2
1: new java.lang.StringBuilder
dup
ldc "classpath:/bin/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 scriptName Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
scriptName
private java.lang.String grabValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabValue:(Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 1 1 errorMessage Ljava/lang/String;
MethodParameters:
Name Flags
errorMessage
private java.lang.String grabValue(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.util.cli.ArgumentProcessor.grabOptionalValue:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
dup
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
iconst_1
iadd
putfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
4: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 6
5: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.cli.ArgumentProcessor$Argument
getfield org.jruby.util.cli.ArgumentProcessor$Argument.originalValue:Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new org.jruby.exceptions.MainExitException
dup
iconst_1
aload 1
invokespecial org.jruby.exceptions.MainExitException.<init>:(ILjava/lang/String;)V
astore 4
start local 4 7: iload 2
ifeq 8
aload 4
iconst_1
invokevirtual org.jruby.exceptions.MainExitException.setUsageError:(Z)V
8: StackMap locals: org.jruby.exceptions.MainExitException
StackMap stack:
aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/cli/ArgumentProcessor;
0 9 1 errorMessage Ljava/lang/String;
0 9 2 usageError Z
1 9 3 optValue Ljava/lang/String;
7 9 4 mee Lorg/jruby/exceptions/MainExitException;
MethodParameters:
Name Flags
errorMessage
usageError
private java.lang.String grabOptionalValue();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
getfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
iconst_1
iadd
putfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
1: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.arguments:Ljava/util/List;
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.argumentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.util.cli.ArgumentProcessor$Argument
getfield org.jruby.util.cli.ArgumentProcessor$Argument.originalValue:Ljava/lang/String;
astore 1
start local 1 2: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 4
3: aload 1
aload 0
getfield org.jruby.util.cli.ArgumentProcessor.characterIndex:I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/cli/ArgumentProcessor;
2 5 1 argValue Ljava/lang/String;
private static void checkProperties();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 5
StackMap locals: top java.util.Iterator
StackMap stack:
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: aload 0
ldc "jruby."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
invokestatic org.jruby.util.cli.ArgumentProcessor.isPropertySupported:(Ljava/lang/String;)Z
ifne 5
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "jruby: warning: unknown property "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 0 5: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
LocalVariableTable:
Start End Slot Name Signature
2 5 0 propertyName Ljava/lang/String;
private static boolean isPropertySupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTIES:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.jruby.util.cli.ArgumentProcessor.KNOWN_PROPERTY_PREFIXES:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: java.lang.String top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 4: aload 0
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: iconst_1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 propertyName Ljava/lang/String;
4 6 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
private static java.lang.Void lambda$0(org.jruby.util.cli.ArgumentProcessor, java.lang.Boolean);
descriptor: (Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.jruby.RubyInstanceConfig
1: iconst_1
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.Boolean
StackMap stack: org.jruby.RubyInstanceConfig int
2: invokevirtual org.jruby.RubyInstanceConfig.setDisableGems:(Z)V
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 processor Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 enable Ljava/lang/Boolean;
private static java.lang.Void lambda$1(org.jruby.util.cli.ArgumentProcessor, java.lang.Boolean);
descriptor: (Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.jruby.RubyInstanceConfig
1: iconst_1
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.Boolean
StackMap stack: org.jruby.RubyInstanceConfig int
2: invokevirtual org.jruby.RubyInstanceConfig.setDisableGems:(Z)V
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 processor Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 enable Ljava/lang/Boolean;
private static java.lang.Void lambda$2(org.jruby.util.cli.ArgumentProcessor, java.lang.Boolean);
descriptor: (Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.jruby.RubyInstanceConfig
1: iconst_1
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.Boolean
StackMap stack: org.jruby.RubyInstanceConfig int
2: invokevirtual org.jruby.RubyInstanceConfig.setDisableDidYouMean:(Z)V
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 processor Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 enable Ljava/lang/Boolean;
private static java.lang.Void lambda$3(org.jruby.util.cli.ArgumentProcessor, java.lang.Boolean);
descriptor: (Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.jruby.RubyInstanceConfig
1: iconst_1
StackMap locals: org.jruby.util.cli.ArgumentProcessor java.lang.Boolean
StackMap stack: org.jruby.RubyInstanceConfig int
2: invokevirtual org.jruby.RubyInstanceConfig.setDisableRUBYOPT:(Z)V
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 processor Lorg/jruby/util/cli/ArgumentProcessor;
0 3 1 enable Ljava/lang/Boolean;
private static java.lang.Void lambda$4(org.jruby.util.cli.ArgumentProcessor, java.lang.Boolean);
descriptor: (Lorg/jruby/util/cli/ArgumentProcessor;Ljava/lang/Boolean;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.cli.ArgumentProcessor.config:Lorg/jruby/RubyInstanceConfig;
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.jruby.RubyInstanceConfig.setFrozenStringLiteral:(Z)V
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 processor Lorg/jruby/util/cli/ArgumentProcessor;
0 1 1 enable Ljava/lang/Boolean;
}
SourceFile: "ArgumentProcessor.java"
NestMembers:
org.jruby.util.cli.ArgumentProcessor$1 org.jruby.util.cli.ArgumentProcessor$Argument
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final CompileMode = org.jruby.RubyInstanceConfig$CompileMode of org.jruby.RubyInstanceConfig
public final ProfilingMode = org.jruby.RubyInstanceConfig$ProfilingMode of org.jruby.RubyInstanceConfig
public final Verbosity = org.jruby.RubyInstanceConfig$Verbosity of org.jruby.RubyInstanceConfig
org.jruby.util.cli.ArgumentProcessor$1
private final Argument = org.jruby.util.cli.ArgumentProcessor$Argument of org.jruby.util.cli.ArgumentProcessor