class org.jruby.RubyString$5 implements org.jruby.RubyEnumerator$SizeFn
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyString$5
super_class: java.lang.Object
{
final org.jruby.RubyString this$0;
descriptor: Lorg/jruby/RubyString;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.RubyString);
descriptor: (Lorg/jruby/RubyString;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyString$5.this$0:Lorg/jruby/RubyString;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyString$5;
MethodParameters:
Name Flags
this$0 final
public org.jruby.runtime.builtin.IRubyObject size(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyString$5.this$0:Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyString$5.this$0:Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 3
start local 3 2: aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
astore 4
start local 4 3: aload 4
invokevirtual org.jcodings.Encoding.isUnicode:()Z
ifne 4
aload 0
getfield org.jruby.RubyString$5.this$0:Lorg/jruby/RubyString;
aload 2
invokevirtual org.jruby.RubyString.rubyLength:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
4: StackMap locals: org.jruby.Ruby org.jruby.util.ByteList org.jcodings.Encoding
StackMap stack:
aload 2
getstatic org.jruby.RubyString.GRAPHEME_CLUSTER_PATTERN:Lorg/jruby/util/ByteList;
aload 4
getstatic org.jruby.util.RegexpOptions.NULL_OPTIONS:Lorg/jruby/util/RegexpOptions;
invokestatic org.jruby.RubyRegexp.getRegexpFromCache:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;Lorg/jruby/util/RegexpOptions;)Lorg/joni/Regex;
astore 5
start local 5 5: aload 3
invokevirtual org.jruby.util.ByteList.getBegin:()I
istore 6
start local 6 6: iload 6
aload 3
invokevirtual org.jruby.util.ByteList.getRealSize:()I
iadd
istore 7
start local 7 7: aload 5
aload 3
invokevirtual org.jruby.util.ByteList.getUnsafeBytes:()[B
iload 6
iload 7
invokevirtual org.joni.Regex.matcher:([BII)Lorg/joni/Matcher;
astore 8
start local 8 8: iconst_0
istore 9
start local 9 9: goto 14
10: StackMap locals: org.jruby.RubyString$5 org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby org.jruby.util.ByteList org.jcodings.Encoding org.joni.Regex int int org.joni.Matcher int
StackMap stack:
aload 8
iload 6
iload 7
iconst_0
invokevirtual org.joni.Matcher.match:(III)I
istore 10
start local 10 11: iload 10
ifgt 12
goto 15
12: StackMap locals: int
StackMap stack:
iinc 9 1
13: iload 6
iload 10
iadd
istore 6
end local 10 14: StackMap locals:
StackMap stack:
iload 6
iload 7
if_icmplt 10
15: StackMap locals:
StackMap stack:
aload 2
iload 9
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
areturn
end local 9 end local 8 end local 7 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 16 0 this Lorg/jruby/RubyString$5;
0 16 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 16 2 runtime Lorg/jruby/Ruby;
2 16 3 value Lorg/jruby/util/ByteList;
3 16 4 enc Lorg/jcodings/Encoding;
5 16 5 reg Lorg/joni/Regex;
6 16 6 beg I
7 16 7 end I
8 16 8 matcher Lorg/joni/Matcher;
9 16 9 count I
11 14 10 len I
MethodParameters:
Name Flags
args
}
SourceFile: "RubyString.java"
EnclosingMethod: org.jruby.RubyString.eachGraphemeClusterSizeFn:()Lorg/jruby/RubyEnumerator$SizeFn;
NestHost: org.jruby.RubyString
InnerClasses:
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator
org.jruby.RubyString$5