public class org.jruby.parser.ParserConfiguration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.parser.ParserConfiguration
super_class: java.lang.Object
{
private org.jruby.runtime.DynamicScope existingScope;
descriptor: Lorg/jruby/runtime/DynamicScope;
flags: (0x0002) ACC_PRIVATE
private boolean asBlock;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int lineNumber;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean inlineSource;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isEvalParse;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isDebug;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean saveData;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean frozenStringLiteral;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.jcodings.Encoding defaultEncoding;
descriptor: Lorg/jcodings/Encoding;
flags: (0x0002) ACC_PRIVATE
private org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0002) ACC_PRIVATE
private int[] coverage;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private static final int[] EMPTY_COVERAGE;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
newarray 10
putstatic org.jruby.parser.ParserConfiguration.EMPTY_COVERAGE:[I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, int, boolean, boolean, boolean);
descriptor: (Lorg/jruby/Ruby;IZZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, 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
aconst_null
putfield org.jruby.parser.ParserConfiguration.existingScope:Lorg/jruby/runtime/DynamicScope;
2: aload 0
iconst_0
putfield org.jruby.parser.ParserConfiguration.asBlock:Z
3: aload 0
iconst_0
putfield org.jruby.parser.ParserConfiguration.lineNumber:I
4: aload 0
iconst_0
putfield org.jruby.parser.ParserConfiguration.inlineSource:Z
5: aload 0
iconst_1
putfield org.jruby.parser.ParserConfiguration.isEvalParse:Z
6: aload 0
iconst_0
putfield org.jruby.parser.ParserConfiguration.isDebug:Z
7: aload 0
iconst_0
putfield org.jruby.parser.ParserConfiguration.saveData:Z
8: aload 0
iconst_0
putfield org.jruby.parser.ParserConfiguration.frozenStringLiteral:Z
9: aload 0
getstatic org.jruby.parser.ParserConfiguration.EMPTY_COVERAGE:[I
putfield org.jruby.parser.ParserConfiguration.coverage:[I
10: aload 0
aload 1
putfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
11: aload 0
iload 3
putfield org.jruby.parser.ParserConfiguration.inlineSource:Z
12: aload 0
iload 2
putfield org.jruby.parser.ParserConfiguration.lineNumber:I
13: aload 0
iload 4
ifeq 14
iconst_0
goto 15
StackMap locals: org.jruby.parser.ParserConfiguration org.jruby.Ruby int int int int
StackMap stack: org.jruby.parser.ParserConfiguration
14: iconst_1
StackMap locals: org.jruby.parser.ParserConfiguration org.jruby.Ruby int int int int
StackMap stack: org.jruby.parser.ParserConfiguration int
15: putfield org.jruby.parser.ParserConfiguration.isEvalParse:Z
16: aload 0
iload 5
putfield org.jruby.parser.ParserConfiguration.saveData:Z
17: 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 18 0 this Lorg/jruby/parser/ParserConfiguration;
0 18 1 runtime Lorg/jruby/Ruby;
0 18 2 lineNumber I
0 18 3 inlineSource Z
0 18 4 isFileParse Z
0 18 5 saveData Z
MethodParameters:
Name Flags
runtime
lineNumber
inlineSource
isFileParse
saveData
public void <init>(org.jruby.Ruby, int, boolean, boolean, org.jruby.RubyInstanceConfig);
descriptor: (Lorg/jruby/Ruby;IZZLorg/jruby/RubyInstanceConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
iload 4
iconst_0
aload 5
invokespecial org.jruby.parser.ParserConfiguration.<init>:(Lorg/jruby/Ruby;IZZZLorg/jruby/RubyInstanceConfig;)V
1: 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 2 0 this Lorg/jruby/parser/ParserConfiguration;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 lineNumber I
0 2 3 inlineSource Z
0 2 4 isFileParse Z
0 2 5 config Lorg/jruby/RubyInstanceConfig;
MethodParameters:
Name Flags
runtime
lineNumber
inlineSource
isFileParse
config
public void <init>(org.jruby.Ruby, int, boolean, boolean, boolean, org.jruby.RubyInstanceConfig);
descriptor: (Lorg/jruby/Ruby;IZZZLorg/jruby/RubyInstanceConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokespecial org.jruby.parser.ParserConfiguration.<init>:(Lorg/jruby/Ruby;IZZZ)V
1: aload 0
aload 6
invokevirtual org.jruby.RubyInstanceConfig.isParserDebug:()Z
putfield org.jruby.parser.ParserConfiguration.isDebug:Z
2: aload 0
aload 6
invokevirtual org.jruby.RubyInstanceConfig.isFrozenStringLiteral:()Z
putfield org.jruby.parser.ParserConfiguration.frozenStringLiteral:Z
3: return
end local 6 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 4 0 this Lorg/jruby/parser/ParserConfiguration;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 lineNumber I
0 4 3 inlineSource Z
0 4 4 isFileParse Z
0 4 5 saveData Z
0 4 6 config Lorg/jruby/RubyInstanceConfig;
MethodParameters:
Name Flags
runtime
lineNumber
inlineSource
isFileParse
saveData
config
public void setFrozenStringLiteral(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.parser.ParserConfiguration.frozenStringLiteral:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/parser/ParserConfiguration;
0 2 1 frozenStringLiteral Z
MethodParameters:
Name Flags
frozenStringLiteral
public boolean isFrozenStringLiteral();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.frozenStringLiteral:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public void setDefaultEncoding(org.jcodings.Encoding);
descriptor: (Lorg/jcodings/Encoding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.parser.ParserConfiguration.defaultEncoding:Lorg/jcodings/Encoding;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/parser/ParserConfiguration;
0 2 1 encoding Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
encoding
public org.jcodings.Encoding getDefaultEncoding();
descriptor: ()Lorg/jcodings/Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.defaultEncoding:Lorg/jcodings/Encoding;
ifnonnull 2
1: aload 0
getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
putfield org.jruby.parser.ParserConfiguration.defaultEncoding:Lorg/jcodings/Encoding;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.parser.ParserConfiguration.defaultEncoding:Lorg/jcodings/Encoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/parser/ParserConfiguration;
public org.jruby.runtime.encoding.EncodingService getEncodingService();
descriptor: ()Lorg/jruby/runtime/encoding/EncodingService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public boolean isDebug();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.isDebug:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public boolean isEvalParse();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.isEvalParse:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public org.jruby.util.KCode getKCode();
descriptor: ()Lorg/jruby/util/KCode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getKCode:()Lorg/jruby/util/KCode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public int getLineNumber();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.lineNumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public void parseAsBlock(org.jruby.runtime.DynamicScope);
descriptor: (Lorg/jruby/runtime/DynamicScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield org.jruby.parser.ParserConfiguration.asBlock:Z
1: aload 0
aload 1
putfield org.jruby.parser.ParserConfiguration.existingScope:Lorg/jruby/runtime/DynamicScope;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/parser/ParserConfiguration;
0 3 1 existingScope Lorg/jruby/runtime/DynamicScope;
MethodParameters:
Name Flags
existingScope
public org.jruby.Ruby getRuntime();
descriptor: ()Lorg/jruby/Ruby;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public org.jruby.runtime.DynamicScope getScope(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/DynamicScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.parser.ParserConfiguration.asBlock:Z
ifeq 1
aload 0
getfield org.jruby.parser.ParserConfiguration.existingScope:Lorg/jruby/runtime/DynamicScope;
areturn
1: StackMap locals:
StackMap stack:
new org.jruby.runtime.scope.ManyVarsDynamicScope
dup
aload 0
getfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getStaticScopeFactory:()Lorg/jruby/parser/StaticScopeFactory;
aconst_null
aload 1
invokevirtual org.jruby.parser.StaticScopeFactory.newLocalScope:(Lorg/jruby/parser/StaticScope;Ljava/lang/String;)Lorg/jruby/parser/StaticScope;
aload 0
getfield org.jruby.parser.ParserConfiguration.existingScope:Lorg/jruby/runtime/DynamicScope;
invokespecial org.jruby.runtime.scope.ManyVarsDynamicScope.<init>:(Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/parser/ParserConfiguration;
0 2 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public boolean isCoverageEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.parser.ParserConfiguration.isEvalParse:()Z
ifne 1
aload 0
getfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCoverageData:()Lorg/jruby/ext/coverage/CoverageData;
invokevirtual org.jruby.ext.coverage.CoverageData.isCoverageEnabled:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/parser/ParserConfiguration;
public boolean isSaveData();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.saveData:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public boolean isInlineSource();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.inlineSource:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
public void coverLine(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.parser.ParserConfiguration.isCoverageEnabled:()Z
ifeq 3
1: aload 0
iload 1
invokevirtual org.jruby.parser.ParserConfiguration.growCoverageLines:(I)V
2: aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
iload 1
iconst_0
iastore
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/parser/ParserConfiguration;
0 4 1 i I
MethodParameters:
Name Flags
i
public void growCoverageLines(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
ifnonnull 3
1: aload 0
iload 1
iconst_1
iadd
newarray 10
putfield org.jruby.parser.ParserConfiguration.coverage:[I
2: goto 8
StackMap locals:
StackMap stack:
3: aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
arraylength
iload 1
if_icmpgt 8
4: iload 1
iconst_1
iadd
newarray 10
astore 2
start local 2 5: aload 2
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
6: aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
iconst_0
aload 2
iconst_0
aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
aload 2
putfield org.jruby.parser.ParserConfiguration.coverage:[I
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/parser/ParserConfiguration;
0 9 1 i I
5 8 2 newCoverage [I
MethodParameters:
Name Flags
i
public org.jruby.ext.coverage.CoverageData finishCoverage(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lorg/jruby/ext/coverage/CoverageData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.parser.ParserConfiguration.isCoverageEnabled:()Z
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual org.jruby.parser.ParserConfiguration.growCoverageLines:(I)V
2: aload 0
getfield org.jruby.parser.ParserConfiguration.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCoverageData:()Lorg/jruby/ext/coverage/CoverageData;
astore 3
start local 3 3: aload 3
aload 1
aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
invokevirtual org.jruby.ext.coverage.CoverageData.prepareCoverage:(Ljava/lang/String;[I)Ljava/util/Map;
pop
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/parser/ParserConfiguration;
0 5 1 file Ljava/lang/String;
0 5 2 lines I
3 5 3 data Lorg/jruby/ext/coverage/CoverageData;
MethodParameters:
Name Flags
file
lines
public int[] getCoverage();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.parser.ParserConfiguration.coverage:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/parser/ParserConfiguration;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
}
SourceFile: "ParserConfiguration.java"