public class org.jruby.runtime.callsite.CacheEntry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.callsite.CacheEntry
super_class: java.lang.Object
{
public static final org.jruby.runtime.callsite.CacheEntry NULL_CACHE;
descriptor: Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public final org.jruby.internal.runtime.methods.DynamicMethod method;
descriptor: Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.jruby.RubyModule sourceModule;
descriptor: Lorg/jruby/RubyModule;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int token;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.jruby.runtime.callsite.CacheEntry
dup
getstatic org.jruby.internal.runtime.methods.UndefinedMethod.INSTANCE:Lorg/jruby/internal/runtime/methods/UndefinedMethod;
iconst_0
invokespecial org.jruby.runtime.callsite.CacheEntry.<init>:(Lorg/jruby/internal/runtime/methods/DynamicMethod;I)V
putstatic org.jruby.runtime.callsite.CacheEntry.NULL_CACHE:Lorg/jruby/runtime/callsite/CacheEntry;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.internal.runtime.methods.DynamicMethod, int);
descriptor: (Lorg/jruby/internal/runtime/methods/DynamicMethod;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
2: aload 0
aload 1
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.getImplementationClass:()Lorg/jruby/RubyModule;
putfield org.jruby.runtime.callsite.CacheEntry.sourceModule:Lorg/jruby/RubyModule;
3: aload 0
iload 2
putfield org.jruby.runtime.callsite.CacheEntry.token:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/callsite/CacheEntry;
0 5 1 method Lorg/jruby/internal/runtime/methods/DynamicMethod;
0 5 2 token I
MethodParameters:
Name Flags
method
token
public void <init>(org.jruby.internal.runtime.methods.DynamicMethod, org.jruby.RubyModule, int);
descriptor: (Lorg/jruby/internal/runtime/methods/DynamicMethod;Lorg/jruby/RubyModule;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
2: aload 0
aload 2
putfield org.jruby.runtime.callsite.CacheEntry.sourceModule:Lorg/jruby/RubyModule;
3: aload 0
iload 3
putfield org.jruby.runtime.callsite.CacheEntry.token:I
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/callsite/CacheEntry;
0 5 1 method Lorg/jruby/internal/runtime/methods/DynamicMethod;
0 5 2 source Lorg/jruby/RubyModule;
0 5 3 token I
MethodParameters:
Name Flags
method
source
token
public final boolean typeOk(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.callsite.CacheEntry.token:I
aload 1
invokevirtual org.jruby.RubyClass.getGeneration:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/callsite/CacheEntry;
0 2 1 incomingType Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
incomingType
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 64
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
1: aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "<method="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", token="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.callsite.CacheEntry.token:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/callsite/CacheEntry;
}
SourceFile: "CacheEntry.java"