abstract class com.oracle.svm.jni.access.JNIAccessibleMember
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.svm.jni.access.JNIAccessibleMember
super_class: java.lang.Object
{
private final com.oracle.svm.jni.access.JNIAccessibleClass declaringClass;
descriptor: Lcom/oracle/svm/jni/access/JNIAccessibleClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.Class<?>, java.lang.Void> hidingSubclasses;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Void;>;
RuntimeVisibleAnnotations:
com.oracle.svm.core.annotate.UnknownObjectField(types = {Ljava/util/IdentityHashMap;}, canBeNull = true)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/svm/jni/access/JNIAccessibleMember;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.svm.jni.access.JNIAccessibleMember.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.svm.jni.access.JNIAccessibleClass);
descriptor: (Lcom/oracle/svm/jni/access/JNIAccessibleClass;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.svm.jni.access.JNIAccessibleMember.declaringClass:Lcom/oracle/svm/jni/access/JNIAccessibleClass;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/jni/access/JNIAccessibleMember;
0 3 1 declaringClass Lcom/oracle/svm/jni/access/JNIAccessibleClass;
MethodParameters:
Name Flags
declaringClass
public com.oracle.svm.jni.access.JNIAccessibleClass getDeclaringClass();
descriptor: ()Lcom/oracle/svm/jni/access/JNIAccessibleClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.jni.access.JNIAccessibleMember.declaringClass:Lcom/oracle/svm/jni/access/JNIAccessibleClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/jni/access/JNIAccessibleMember;
boolean isDiscoverableIn(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0000)
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.jni.access.JNIAccessibleMember.declaringClass:Lcom/oracle/svm/jni/access/JNIAccessibleClass;
invokevirtual com.oracle.svm.jni.access.JNIAccessibleClass.getClassObject:()Ljava/lang/Class;
astore 2
start local 2 1: getstatic com.oracle.svm.jni.access.JNIAccessibleMember.$assertionsDisabled:Z
ifne 3
aload 1
ifnull 2
aload 2
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
StackMap locals: java.lang.Class
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.jni.access.JNIAccessibleMember.hidingSubclasses:Ljava/util/Map;
ifnull 16
aload 1
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 16
4: aload 0
getfield com.oracle.svm.jni.access.JNIAccessibleMember.hidingSubclasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.isInterface:()Z
ifeq 13
7: aload 1
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: com.oracle.svm.jni.access.JNIAccessibleMember java.lang.Class java.lang.Class top int int java.lang.Class[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 2
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 11
aload 0
aload 3
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMember.isDiscoverableIn:(Ljava/lang/Class;)Z
ifne 11
10: iconst_0
ireturn
end local 3 11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 8
13: StackMap locals: com.oracle.svm.jni.access.JNIAccessibleMember java.lang.Class java.lang.Class
StackMap stack:
aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 3
start local 3 14: aload 3
ifnull 16
aload 2
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 16
aload 0
aload 3
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMember.isDiscoverableIn:(Ljava/lang/Class;)Z
ifne 16
15: iconst_0
ireturn
end local 3 16: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/oracle/svm/jni/access/JNIAccessibleMember;
0 17 1 clazz Ljava/lang/Class<*>;
1 17 2 declaring Ljava/lang/Class<*>;
9 11 3 iface Ljava/lang/Class<*>;
14 16 3 sup Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz
void setHidingSubclasses(com.oracle.svm.hosted.meta.HostedMetaAccess, java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaType>);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedMetaAccess;Ljava/util/function/Predicate;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.oracle.svm.jni.access.JNIAccessibleMember.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.svm.jni.access.JNIAccessibleMember.hidingSubclasses:Ljava/util/Map;
ifnull 1
new java.lang.AssertionError
dup
ldc "must be set exactly once"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.oracle.svm.jni.access.JNIAccessibleMember.declaringClass:Lcom/oracle/svm/jni/access/JNIAccessibleClass;
invokevirtual com.oracle.svm.jni.access.JNIAccessibleClass.getClassObject:()Ljava/lang/Class;
invokevirtual com.oracle.svm.hosted.meta.HostedMetaAccess.lookupJavaType:(Ljava/lang/Class;)Lcom/oracle/svm/hosted/meta/HostedType;
astore 3
start local 3 2: aload 0
aload 0
aload 3
aload 2
aconst_null
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMember.findHidingSubclasses:(Lcom/oracle/svm/hosted/meta/HostedType;Ljava/util/function/Predicate;Ljava/util/Map;)Ljava/util/Map;
putfield com.oracle.svm.jni.access.JNIAccessibleMember.hidingSubclasses:Ljava/util/Map;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/jni/access/JNIAccessibleMember;
0 4 1 metaAccess Lcom/oracle/svm/hosted/meta/HostedMetaAccess;
0 4 2 predicate Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaType;>;
2 4 3 declaringType Lcom/oracle/svm/hosted/meta/HostedType;
Signature: (Lcom/oracle/svm/hosted/meta/HostedMetaAccess;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaType;>;)V
MethodParameters:
Name Flags
metaAccess
predicate
private java.util.Map<java.lang.Class<?>, java.lang.Void> findHidingSubclasses(com.oracle.svm.hosted.meta.HostedType, java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaType>, java.util.Map<java.lang.Class<?>, java.lang.Void>);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedType;Ljava/util/function/Predicate;Ljava/util/Map;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
astore 4
start local 4 1: aload 1
invokevirtual com.oracle.svm.hosted.meta.HostedType.getSubTypes:()[Lcom/oracle/svm/hosted/meta/HostedType;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: com.oracle.svm.jni.access.JNIAccessibleMember com.oracle.svm.hosted.meta.HostedType java.util.function.Predicate java.util.Map java.util.Map top int int com.oracle.svm.hosted.meta.HostedType[]
StackMap stack:
2: aload 8
iload 6
aaload
astore 5
start local 5 3: aload 5
invokevirtual com.oracle.svm.hosted.meta.HostedType.isInstantiated:()Z
ifne 4
aload 5
invokevirtual com.oracle.svm.hosted.meta.HostedType.getWrapped:()Lcom/oracle/graal/pointsto/meta/AnalysisType;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.isReachable:()Z
ifeq 13
4: StackMap locals: com.oracle.svm.jni.access.JNIAccessibleMember com.oracle.svm.hosted.meta.HostedType java.util.function.Predicate java.util.Map java.util.Map com.oracle.svm.hosted.meta.HostedType int int com.oracle.svm.hosted.meta.HostedType[]
StackMap stack:
aload 5
invokevirtual com.oracle.svm.hosted.meta.HostedType.getWrapped:()Lcom/oracle/graal/pointsto/meta/AnalysisType;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.getWrapped:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 9
start local 9 5: getstatic com.oracle.svm.jni.access.JNIAccessibleMember.$assertionsDisabled:Z
ifne 6
aload 9
instanceof com.oracle.graal.pointsto.infrastructure.WrappedJavaType
ifeq 6
new java.lang.AssertionError
dup
ldc "need fully unwrapped type for member lookups"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
aload 2
aload 9
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 11
7: aload 4
ifnonnull 9
8: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
astore 4
9: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual com.oracle.svm.hosted.meta.HostedType.getJavaClass:()Ljava/lang/Class;
aconst_null
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 2
aload 4
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMember.findHidingSubclasses:(Lcom/oracle/svm/hosted/meta/HostedType;Ljava/util/function/Predicate;Ljava/util/Map;)Ljava/util/Map;
astore 4
end local 9 12: goto 14
13: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.jni.access.JNIAccessibleMember.$assertionsDisabled:Z
ifne 14
aload 0
aload 5
aload 2
aconst_null
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMember.findHidingSubclasses:(Lcom/oracle/svm/hosted/meta/HostedType;Ljava/util/function/Predicate;Ljava/util/Map;)Ljava/util/Map;
ifnull 14
new java.lang.AssertionError
dup
ldc "Class hiding a member exists in the image, but its superclass does not"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 14: StackMap locals: com.oracle.svm.jni.access.JNIAccessibleMember com.oracle.svm.hosted.meta.HostedType java.util.function.Predicate java.util.Map java.util.Map top int int com.oracle.svm.hosted.meta.HostedType[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 2
16: 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 17 0 this Lcom/oracle/svm/jni/access/JNIAccessibleMember;
0 17 1 type Lcom/oracle/svm/hosted/meta/HostedType;
0 17 2 predicate Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaType;>;
0 17 3 existing Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Void;>;
1 17 4 map Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Void;>;
3 14 5 subType Lcom/oracle/svm/hosted/meta/HostedType;
5 12 9 originalType Ljdk/vm/ci/meta/ResolvedJavaType;
Signature: (Lcom/oracle/svm/hosted/meta/HostedType;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaType;>;Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Void;>;)Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Void;>;
MethodParameters:
Name Flags
type
predicate
existing
}
SourceFile: "JNIAccessibleMember.java"