public class org.jruby.ext.tracepoint.TracePoint extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.tracepoint.TracePoint
super_class: org.jruby.RubyObject
{
private org.jruby.runtime.EventHook hook;
descriptor: Lorg/jruby/runtime/EventHook;
flags: (0x0002) ACC_PRIVATE
private volatile boolean enabled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private java.lang.String eventName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String file;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int line;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject type;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject exception;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject returnValue;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject binding;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private volatile boolean inside;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public static void createTracePointClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "TracePoint"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
new org.jruby.ext.tracepoint.TracePoint$1
dup
invokespecial org.jruby.ext.tracepoint.TracePoint$1.<init>:()V
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
ldc Lorg/jruby/ext/tracepoint/TracePoint;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
1 3 1 tracePoint Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_0
putfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
2: aload 0
iconst_0
putfield org.jruby.ext.tracepoint.TracePoint.inside:Z
3: aload 0
ldc ""
putfield org.jruby.ext.tracepoint.TracePoint.eventName:Ljava/lang/String;
4: aload 0
ldc ""
putfield org.jruby.ext.tracepoint.TracePoint.file:Ljava/lang/String;
5: aload 0
iconst_m1
putfield org.jruby.ext.tracepoint.TracePoint.line:I
6: aload 0
ldc ""
putfield org.jruby.ext.tracepoint.TracePoint.name:Ljava/lang/String;
7: aload 0
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.ext.tracepoint.TracePoint.type:Lorg/jruby/runtime/builtin/IRubyObject;
8: aload 0
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.ext.tracepoint.TracePoint.exception:Lorg/jruby/runtime/builtin/IRubyObject;
9: aload 0
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.ext.tracepoint.TracePoint.returnValue:Lorg/jruby/runtime/builtin/IRubyObject;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 11 1 runtime Lorg/jruby/Ruby;
0 11 2 klass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
klass
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: new java.util.ArrayList
dup
aload 2
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 23
4: StackMap locals: org.jruby.Ruby java.util.ArrayList int
StackMap stack:
aload 1
aload 2
iload 6
aaload
aload 4
invokevirtual org.jruby.Ruby.getSymbol:()Lorg/jruby/RubyClass;
aload 1
invokestatic org.jruby.ext.tracepoint.TracePoint.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TracePointSites;
getfield org.jruby.runtime.JavaSites$TracePointSites.to_sym:Lorg/jruby/runtime/JavaSites$CheckedSites;
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/JavaSites$CheckedSites;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubySymbol
astore 7
start local 7 5: aload 7
invokevirtual org.jruby.RubySymbol.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 8
start local 8 6: aconst_null
astore 9
start local 9 7: aload 8
invokestatic org.jruby.runtime.RubyEvent.valueOf:(Ljava/lang/String;)Lorg/jruby/runtime/RubyEvent;
astore 9
8: goto 10
StackMap locals: org.jruby.ext.tracepoint.TracePoint org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby java.util.ArrayList int org.jruby.RubySymbol java.lang.String org.jruby.runtime.RubyEvent
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: StackMap locals:
StackMap stack:
aload 9
ifnonnull 11
aload 4
aload 4
ldc "unknown event: "
aload 7
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
11: StackMap locals:
StackMap stack:
aload 9
getstatic org.jruby.runtime.RubyEvent.A_CALL:Lorg/jruby/runtime/RubyEvent;
if_acmpne 16
12: aload 5
getstatic org.jruby.runtime.RubyEvent.CALL:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
13: aload 5
getstatic org.jruby.runtime.RubyEvent.B_CALL:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
14: aload 5
getstatic org.jruby.runtime.RubyEvent.C_CALL:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
15: goto 22
StackMap locals:
StackMap stack:
16: aload 9
getstatic org.jruby.runtime.RubyEvent.A_RETURN:Lorg/jruby/runtime/RubyEvent;
if_acmpne 21
17: aload 5
getstatic org.jruby.runtime.RubyEvent.RETURN:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: aload 5
getstatic org.jruby.runtime.RubyEvent.B_RETURN:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
19: aload 5
getstatic org.jruby.runtime.RubyEvent.C_RETURN:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
20: goto 22
21: StackMap locals:
StackMap stack:
aload 5
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 22: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
aload 2
arraylength
if_icmplt 4
end local 6 24: aload 5
invokevirtual java.util.ArrayList.size:()I
ifle 27
25: aload 5
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
astore 6
start local 6 26: goto 28
end local 6 27: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.RubyEvent.ALL_EVENTS_ENUMSET:Ljava/util/EnumSet;
astore 6
start local 6 28: StackMap locals: java.util.EnumSet
StackMap stack:
aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 29
aload 4
ldc "must be called with a block"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
29: StackMap locals:
StackMap stack:
aload 0
new org.jruby.ext.tracepoint.TracePoint$2
dup
aload 0
aload 3
aload 6
invokespecial org.jruby.ext.tracepoint.TracePoint$2.<init>:(Lorg/jruby/ext/tracepoint/TracePoint;Lorg/jruby/runtime/Block;Ljava/util/EnumSet;)V
putfield org.jruby.ext.tracepoint.TracePoint.hook:Lorg/jruby/runtime/EventHook;
30: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 31 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 31 1 context Lorg/jruby/runtime/ThreadContext;
0 31 2 _events [Lorg/jruby/runtime/builtin/IRubyObject;
0 31 3 block Lorg/jruby/runtime/Block;
1 31 4 runtime Lorg/jruby/Ruby;
2 31 5 events Ljava/util/ArrayList<Lorg/jruby/runtime/RubyEvent;>;
3 24 6 i I
5 22 7 _event Lorg/jruby/RubySymbol;
6 22 8 eventName Ljava/lang/String;
7 22 9 event Lorg/jruby/runtime/RubyEvent;
26 27 6 eventSet Ljava/util/EnumSet<Lorg/jruby/runtime/RubyEvent;>;
28 31 6 eventSet Ljava/util/EnumSet<Lorg/jruby/runtime/RubyEvent;>;
Exception table:
from to target type
7 8 9 Class java.lang.IllegalArgumentException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
_events
block final
public org.jruby.runtime.builtin.IRubyObject binding(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.binding:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.binding:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject defined_class(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.type:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject disable(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual org.jruby.ext.tracepoint.TracePoint.doToggle:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject enable(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual org.jruby.ext.tracepoint.TracePoint.doToggle:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject enabled_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"enabled?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject event(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.eventName:Ljava/lang/String;
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.eventName:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.inside:Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "#<TracePoint:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.eventName:Ljava/lang/String;
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 org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "#<TracePoint:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
ifeq 3
ldc "enabled"
goto 4
StackMap locals: org.jruby.ext.tracepoint.TracePoint org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby java.lang.StringBuilder
3: ldc "disabled"
StackMap locals: org.jruby.ext.tracepoint.TracePoint org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby 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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject lineno(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.line:I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject method_id(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.name:Ljava/lang/String;
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.name:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject callee_id(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.name:Ljava/lang/String;
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.name:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject path(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.file:Ljava/lang/String;
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.file:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject raised_exception(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.exception:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject return_value(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.tracepoint.TracePoint.checkInside:(Lorg/jruby/runtime/ThreadContext;)V
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.returnValue:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject self(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.binding:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 1
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.binding:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyBinding
invokevirtual org.jruby.RubyBinding.getBinding:()Lorg/jruby/runtime/Binding;
invokevirtual org.jruby.runtime.Binding.getSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public static org.jruby.runtime.builtin.IRubyObject trace(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
ldc "new"
aload 2
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.tracepoint.TracePoint
astore 4
start local 4 1: aload 4
aload 0
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.ext.tracepoint.TracePoint.enable:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 events [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
1 3 4 tp Lorg/jruby/ext/tracepoint/TracePoint;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true, meta = true)
MethodParameters:
Name Flags
context
self
events
block
private void update(java.lang.String, java.lang.String, int, java.lang.String, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (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
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
putfield org.jruby.ext.tracepoint.TracePoint.eventName:Ljava/lang/String;
1: aload 0
aload 2
putfield org.jruby.ext.tracepoint.TracePoint.file:Ljava/lang/String;
2: aload 0
iload 3
putfield org.jruby.ext.tracepoint.TracePoint.line:I
3: aload 0
aload 4
putfield org.jruby.ext.tracepoint.TracePoint.name:Ljava/lang/String;
4: aload 0
aload 5
putfield org.jruby.ext.tracepoint.TracePoint.type:Lorg/jruby/runtime/builtin/IRubyObject;
5: aload 0
aload 6
putfield org.jruby.ext.tracepoint.TracePoint.exception:Lorg/jruby/runtime/builtin/IRubyObject;
6: aload 0
aload 7
putfield org.jruby.ext.tracepoint.TracePoint.returnValue:Lorg/jruby/runtime/builtin/IRubyObject;
7: aload 0
aload 8
putfield org.jruby.ext.tracepoint.TracePoint.binding:Lorg/jruby/runtime/builtin/IRubyObject;
8: return
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 9 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 9 1 eventName Ljava/lang/String;
0 9 2 file Ljava/lang/String;
0 9 3 line I
0 9 4 name Ljava/lang/String;
0 9 5 type Lorg/jruby/runtime/builtin/IRubyObject;
0 9 6 exception Lorg/jruby/runtime/builtin/IRubyObject;
0 9 7 returnValue Lorg/jruby/runtime/builtin/IRubyObject;
0 9 8 binding Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
eventName
file
line
name
type
exception
returnValue
binding
private synchronized org.jruby.runtime.builtin.IRubyObject doToggle(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 9
1: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
istore 4
start local 4 2: aload 0
aload 1
iload 3
invokevirtual org.jruby.ext.tracepoint.TracePoint.updateEnabled:(Lorg/jruby/runtime/ThreadContext;Z)V
3: aload 2
aload 1
invokevirtual org.jruby.runtime.Block.yieldSpecific:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
4: aload 0
aload 1
iload 4
invokevirtual org.jruby.ext.tracepoint.TracePoint.updateEnabled:(Lorg/jruby/runtime/ThreadContext;Z)V
5: aload 6
areturn
6: StackMap locals: org.jruby.ext.tracepoint.TracePoint org.jruby.runtime.ThreadContext org.jruby.runtime.Block int int
StackMap stack: java.lang.Throwable
astore 5
7: aload 0
aload 1
iload 4
invokevirtual org.jruby.ext.tracepoint.TracePoint.updateEnabled:(Lorg/jruby/runtime/ThreadContext;Z)V
8: aload 5
athrow
end local 4 9: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
astore 4
start local 4 10: aload 0
aload 1
iload 3
invokevirtual org.jruby.ext.tracepoint.TracePoint.updateEnabled:(Lorg/jruby/runtime/ThreadContext;Z)V
11: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 block Lorg/jruby/runtime/Block;
0 12 3 toggle Z
2 9 4 old Z
10 12 4 old Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
2 4 6 any
MethodParameters:
Name Flags
context
block
toggle
public void updateEnabled(org.jruby.runtime.ThreadContext, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
if_icmpne 1
return
1: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.jruby.ext.tracepoint.TracePoint.enabled:Z
2: iload 2
ifeq 5
3: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.hook:Lorg/jruby/runtime/EventHook;
invokevirtual org.jruby.Ruby.addEventHook:(Lorg/jruby/runtime/EventHook;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.tracepoint.TracePoint.hook:Lorg/jruby/runtime/EventHook;
invokevirtual org.jruby.Ruby.removeEventHook:(Lorg/jruby/runtime/EventHook;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 toggle Z
MethodParameters:
Name Flags
context
toggle
private void checkInside(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.tracepoint.TracePoint.inside:Z
ifne 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "access from outside"
invokevirtual org.jruby.Ruby.newRuntimeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
1: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/tracepoint/TracePoint;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
Exceptions:
throws org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
context
private static org.jruby.runtime.JavaSites$TracePointSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$TracePointSites;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.TracePoint:Lorg/jruby/runtime/JavaSites$TracePointSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
SourceFile: "TracePoint.java"
NestMembers:
org.jruby.ext.tracepoint.TracePoint$1 org.jruby.ext.tracepoint.TracePoint$2
InnerClasses:
org.jruby.ext.tracepoint.TracePoint$1
org.jruby.ext.tracepoint.TracePoint$2
public CheckedSites = org.jruby.runtime.JavaSites$CheckedSites of org.jruby.runtime.JavaSites
public TracePointSites = org.jruby.runtime.JavaSites$TracePointSites of org.jruby.runtime.JavaSites