public final class com.oracle.svm.truffle.nfi.NativeObjectReplacer implements java.util.function.Function<java.lang.Object, java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.svm.truffle.nfi.NativeObjectReplacer
super_class: java.lang.Object
{
private final java.util.IdentityHashMap<java.lang.Class<?>, java.lang.Object> disallowedClasses;
descriptor: Ljava/util/IdentityHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/IdentityHashMap<Ljava/lang/Class<*>;Ljava/lang/Object;>;
void <init>(org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess);
descriptor: (Lorg/graalvm/nativeimage/hosted/Feature$DuringSetupAccess;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 // com.oracle.svm.truffle.nfi.NativeObjectReplacer this
start local 1 // org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess access
0: .line 40
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 41
aload 0 /* this */
new java.util.IdentityHashMap
dup
bipush 16
invokespecial java.util.IdentityHashMap.<init>:(I)V
putfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
2: .line 42
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.ClosureNativePointer"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: .line 43
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.ClosureNativePointer$NativeDestructor"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: .line 44
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFILibrary"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: .line 45
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFISignature"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: .line 46
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFISymbol"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: .line 47
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$ArrayType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: .line 48
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$ClosureType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: .line 49
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$EnvType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: .line 50
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$NullableType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: .line 51
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$ObjectType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: .line 52
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$SimpleType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: .line 53
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$StringType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: .line 54
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.LibFFIType$VoidType"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: .line 55
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.NativeAllocation$FreeDestructor"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: .line 56
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.NativePointer"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: .line 57
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* access */
ldc "com.oracle.truffle.nfi.impl.NativeString"
invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.findClassByName:(Ljava/lang/String;)Ljava/lang/Class;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: .line 58
return
end local 1 // org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess access
end local 0 // com.oracle.svm.truffle.nfi.NativeObjectReplacer this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/oracle/svm/truffle/nfi/NativeObjectReplacer;
0 19 1 access Lorg/graalvm/nativeimage/hosted/Feature$DuringSetupAccess;
MethodParameters:
Name Flags
access
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 // com.oracle.svm.truffle.nfi.NativeObjectReplacer this
start local 1 // java.lang.Object obj
0: .line 62
aload 0 /* this */
getfield com.oracle.svm.truffle.nfi.NativeObjectReplacer.disallowedClasses:Ljava/util/IdentityHashMap;
aload 1 /* obj */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.util.IdentityHashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: .line 63
new com.oracle.graal.pointsto.constraints.UnsupportedFeatureException
dup
ldc "Native object (%s) stored in pre-initialized context."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* obj */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.oracle.graal.pointsto.constraints.UnsupportedFeatureException.<init>:(Ljava/lang/String;)V
athrow
2: .line 65
StackMap locals:
StackMap stack:
aload 1 /* obj */
areturn
end local 1 // java.lang.Object obj
end local 0 // com.oracle.svm.truffle.nfi.NativeObjectReplacer this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/truffle/nfi/NativeObjectReplacer;
0 3 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
}
Signature: Ljava/lang/Object;Ljava/util/function/Function<Ljava/lang/Object;Ljava/lang/Object;>;
SourceFile: "NativeObjectReplacer.java"
InnerClasses:
public abstract DuringSetupAccess = org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess of org.graalvm.nativeimage.hosted.Feature