class org.jruby.ext.tracepoint.TracePoint$2 extends org.jruby.runtime.EventHook
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.ext.tracepoint.TracePoint$2
super_class: org.jruby.runtime.EventHook
{
final org.jruby.ext.tracepoint.TracePoint this$0;
descriptor: Lorg/jruby/ext/tracepoint/TracePoint;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.runtime.Block val$block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.EnumSet val$eventSet;
descriptor: Ljava/util/EnumSet;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.ext.tracepoint.TracePoint, org.jruby.runtime.Block, java.util.EnumSet);
descriptor: (Lorg/jruby/ext/tracepoint/TracePoint;Lorg/jruby/runtime/Block;Ljava/util/EnumSet;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
aload 0
aload 2
putfield org.jruby.ext.tracepoint.TracePoint$2.val$block:Lorg/jruby/runtime/Block;
aload 0
aload 3
putfield org.jruby.ext.tracepoint.TracePoint$2.val$eventSet:Ljava/util/EnumSet;
aload 0
invokespecial org.jruby.runtime.EventHook.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/tracepoint/TracePoint$2;
MethodParameters:
Name Flags
this$0 final
val$block final
val$eventSet final
public void event(org.jruby.runtime.ThreadContext, org.jruby.runtime.RubyEvent, java.lang.String, int, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/RubyEvent;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, 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
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
getfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
ifeq 1
aload 1
invokevirtual org.jruby.runtime.ThreadContext.isWithinTrace:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 7
monitorenter
3: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
iconst_1
putfield org.jruby.ext.tracepoint.TracePoint.inside:Z
4: aload 3
ifnonnull 5
ldc "(ruby)"
astore 3
5: StackMap locals: org.jruby.ext.tracepoint.TracePoint$2
StackMap stack:
aload 6
ifnonnull 6
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
astore 6
6: StackMap locals:
StackMap stack:
aload 2
getstatic org.jruby.runtime.RubyEvent.THREAD_BEGIN:Lorg/jruby/runtime/RubyEvent;
if_acmpeq 7
aload 2
getstatic org.jruby.runtime.RubyEvent.THREAD_END:Lorg/jruby/runtime/RubyEvent;
if_acmpne 9
7: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 8: goto 10
end local 8 9: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.runtime.ThreadContext.currentBinding:()Lorg/jruby/runtime/Binding;
invokestatic org.jruby.RubyBinding.newBinding:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Binding;)Lorg/jruby/RubyBinding;
astore 8
start local 8 10: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
invokevirtual org.jruby.runtime.ThreadContext.preTrace:()V
11: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
aload 2
invokevirtual org.jruby.runtime.RubyEvent.getName:()Ljava/lang/String;
aload 3
iload 4
aload 5
aload 6
aload 1
invokevirtual org.jruby.runtime.ThreadContext.getErrorInfo:()Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 8
invokevirtual org.jruby.ext.tracepoint.TracePoint.update:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
12: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
invokevirtual org.jruby.runtime.Block.yieldSpecific:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
13: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 9
15: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
aconst_null
aconst_null
iload 4
aconst_null
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.ext.tracepoint.TracePoint.update:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
16: aload 1
invokevirtual org.jruby.runtime.ThreadContext.postTrace:()V
17: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
iconst_0
putfield org.jruby.ext.tracepoint.TracePoint.inside:Z
18: aload 9
athrow
19: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
aconst_null
aconst_null
iload 4
aconst_null
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.ext.tracepoint.TracePoint.update:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
20: aload 1
invokevirtual org.jruby.runtime.ThreadContext.postTrace:()V
21: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.this$0:Lorg/jruby/ext/tracepoint/TracePoint;
iconst_0
putfield org.jruby.ext.tracepoint.TracePoint.inside:Z
end local 8 22: aload 7
monitorexit
23: goto 26
StackMap locals: org.jruby.ext.tracepoint.TracePoint$2 org.jruby.runtime.ThreadContext org.jruby.runtime.RubyEvent java.lang.String int java.lang.String org.jruby.runtime.builtin.IRubyObject org.jruby.ext.tracepoint.TracePoint$2
StackMap stack: java.lang.Throwable
24: aload 7
monitorexit
25: athrow
26: StackMap locals:
StackMap stack:
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 27 0 this Lorg/jruby/ext/tracepoint/TracePoint$2;
0 27 1 context Lorg/jruby/runtime/ThreadContext;
0 27 2 event Lorg/jruby/runtime/RubyEvent;
0 27 3 file Ljava/lang/String;
0 27 4 line I
0 27 5 name Ljava/lang/String;
0 27 6 type Lorg/jruby/runtime/builtin/IRubyObject;
8 9 8 binding Lorg/jruby/runtime/builtin/IRubyObject;
10 22 8 binding Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
12 14 14 any
3 23 24 any
24 25 24 any
MethodParameters:
Name Flags
context
event
file
line
name
type
public void eventHandler(org.jruby.runtime.ThreadContext, java.lang.String, java.lang.String, int, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
aload 2
invokestatic org.jruby.runtime.RubyEvent.fromName:(Ljava/lang/String;)Lorg/jruby/runtime/RubyEvent;
aload 3
iload 4
aload 5
aload 6
invokevirtual org.jruby.ext.tracepoint.TracePoint$2.event:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/RubyEvent;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: 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 2 0 this Lorg/jruby/ext/tracepoint/TracePoint$2;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 eventName Ljava/lang/String;
0 2 3 file Ljava/lang/String;
0 2 4 line I
0 2 5 name Ljava/lang/String;
0 2 6 type Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
eventName
file
line
name
type
public boolean isInterestedInEvent(org.jruby.runtime.RubyEvent);
descriptor: (Lorg/jruby/runtime/RubyEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.val$eventSet:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/tracepoint/TracePoint$2;
0 1 1 event Lorg/jruby/runtime/RubyEvent;
MethodParameters:
Name Flags
event
public java.util.EnumSet<org.jruby.runtime.RubyEvent> eventSet();
descriptor: ()Ljava/util/EnumSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.tracepoint.TracePoint$2.val$eventSet:Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/tracepoint/TracePoint$2;
Signature: ()Ljava/util/EnumSet<Lorg/jruby/runtime/RubyEvent;>;
public java.util.Set eventSet();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.ext.tracepoint.TracePoint$2.eventSet:()Ljava/util/EnumSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TracePoint.java"
EnclosingMethod: org.jruby.ext.tracepoint.TracePoint.initialize:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.ext.tracepoint.TracePoint
InnerClasses:
org.jruby.ext.tracepoint.TracePoint$2