final class com.oracle.truffle.polyglot.HostFunction implements com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.polyglot.HostFunction
super_class: java.lang.Object
{
final com.oracle.truffle.polyglot.HostMethodDesc method;
descriptor: Lcom/oracle/truffle/polyglot/HostMethodDesc;
flags: (0x0010) ACC_FINAL
final java.lang.Object obj;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
flags: (0x0010) ACC_FINAL
void <init>(com.oracle.truffle.polyglot.HostMethodDesc, java.lang.Object, com.oracle.truffle.polyglot.PolyglotLanguageContext);
descriptor: (Lcom/oracle/truffle/polyglot/HostMethodDesc;Ljava/lang/Object;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
flags: (0x0000)
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 com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
2: aload 0
aload 2
putfield com.oracle.truffle.polyglot.HostFunction.obj:Ljava/lang/Object;
3: aload 0
aload 3
putfield com.oracle.truffle.polyglot.HostFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/polyglot/HostFunction;
0 5 1 method Lcom/oracle/truffle/polyglot/HostMethodDesc;
0 5 2 obj Ljava/lang/Object;
0 5 3 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
MethodParameters:
Name Flags
method
obj
languageContext
public static boolean isInstance(com.oracle.truffle.api.interop.TruffleObject);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.polyglot.HostFunction
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lcom/oracle/truffle/api/interop/TruffleObject;
MethodParameters:
Name Flags
obj
public static boolean isInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.polyglot.HostFunction
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
boolean isExecutable();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/HostFunction;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object execute(java.lang.Object[], com.oracle.truffle.polyglot.HostExecuteNode);
descriptor: ([Ljava/lang/Object;Lcom/oracle/truffle/polyglot/HostExecuteNode;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.obj:Ljava/lang/Object;
aload 1
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
invokevirtual com.oracle.truffle.polyglot.HostExecuteNode.execute:(Lcom/oracle/truffle/polyglot/HostMethodDesc;Ljava/lang/Object;[Ljava/lang/Object;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/HostFunction;
0 1 1 args [Ljava/lang/Object;
0 1 2 execute Lcom/oracle/truffle/polyglot/HostExecuteNode;
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedTypeException, com.oracle.truffle.api.interop.ArityException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
args
execute
boolean hasLanguage();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/HostFunction;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Class<? extends com.oracle.truffle.api.TruffleLanguage<?>> getLanguage();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lcom/oracle/truffle/polyglot/HostLanguage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/HostFunction;
Signature: ()Ljava/lang/Class<+Lcom/oracle/truffle/api/TruffleLanguage<*>;>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.String toDisplayString(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.HostFunction.obj:Ljava/lang/Object;
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.obj:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getTypeName:()Ljava/lang/String;
astore 2
start local 2 3: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
invokevirtual com.oracle.truffle.polyglot.HostMethodDesc.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/HostFunction;
0 4 1 allowSideEffects Z
3 4 2 typeName Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
allowSideEffects
static int identityHashCode(com.oracle.truffle.polyglot.HostFunction);
descriptor: (Lcom/oracle/truffle/polyglot/HostFunction;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 receiver Lcom/oracle/truffle/polyglot/HostFunction;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
receiver
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.oracle.truffle.polyglot.HostFunction
ifeq 4
1: aload 1
checkcast com.oracle.truffle.polyglot.HostFunction
astore 2
start local 2 2: aload 0
getfield com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
aload 2
getfield com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
if_acmpne 3
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.obj:Ljava/lang/Object;
aload 2
getfield com.oracle.truffle.polyglot.HostFunction.obj:Ljava/lang/Object;
if_acmpne 3
aload 0
getfield com.oracle.truffle.polyglot.HostFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aload 2
getfield com.oracle.truffle.polyglot.HostFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
if_acmpne 3
iconst_1
ireturn
StackMap locals: com.oracle.truffle.polyglot.HostFunction
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/polyglot/HostFunction;
0 5 1 o Ljava/lang/Object;
2 4 2 other Lcom/oracle/truffle/polyglot/HostFunction;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.HostFunction.method:Lcom/oracle/truffle/polyglot/HostMethodDesc;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/HostFunction;
}
SourceFile: "HostFunction.java"
NestMembers:
com.oracle.truffle.polyglot.HostFunction$IsIdenticalOrUndefined
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
final IsIdenticalOrUndefined = com.oracle.truffle.polyglot.HostFunction$IsIdenticalOrUndefined of com.oracle.truffle.polyglot.HostFunction
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)