public class jdk.internal.reflect.Reflection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.reflect.Reflection
super_class: java.lang.Object
{
private static volatile java.util.Map<java.lang.Class<?>, java.util.Set<java.lang.String>> fieldFilterMap;
descriptor: Ljava/util/Map;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;>;
private static volatile java.util.Map<java.lang.Class<?>, java.util.Set<java.lang.String>> methodFilterMap;
descriptor: Ljava/util/Map;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;>;
private static final java.lang.String WILDCARD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "*"
public static final java.util.Set<java.lang.String> ALL_MEMBERS;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=18, locals=0, args_size=0
0: ldc "*"
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
putstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
1: ldc Ljdk/internal/reflect/Reflection;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
2: ldc Ljava/lang/reflect/AccessibleObject;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
3: ldc Ljava/lang/Class;
ldc "classLoader"
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
4: ldc Ljava/lang/ClassLoader;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
5: ldc Ljava/lang/reflect/Constructor;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
6: ldc Ljava/lang/reflect/Field;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
7: ldc Ljava/lang/reflect/Method;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
8: ldc Ljava/lang/Module;
getstatic jdk.internal.reflect.Reflection.ALL_MEMBERS:Ljava/util/Set;
9: ldc Ljava/lang/System;
ldc "security"
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
10: invokestatic java.util.Map.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
putstatic jdk.internal.reflect.Reflection.fieldFilterMap:Ljava/util/Map;
11: invokestatic java.util.Map.of:()Ljava/util/Map;
putstatic jdk.internal.reflect.Reflection.methodFilterMap:Ljava/util/Map;
12: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/Reflection;
public static native java.lang.Class<?> getCallerClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Signature: ()Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
jdk.internal.HotSpotIntrinsicCandidate()
public static native int getClassAccessFlags(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Signature: (Ljava/lang/Class<*>;)I
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
c
public static void ensureMemberAccess(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokestatic jdk.internal.reflect.Reflection.verifyMemberAccess:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 2
1: aload 0
aload 1
aload 2
iload 3
invokestatic jdk.internal.reflect.Reflection.newIllegalAccessException:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Ljava/lang/IllegalAccessException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 currentClass Ljava/lang/Class<*>;
0 3 1 memberClass Ljava/lang/Class<*>;
0 3 2 targetClass Ljava/lang/Class<*>;
0 3 3 modifiers I
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;I)V
MethodParameters:
Name Flags
currentClass
memberClass
targetClass
modifiers
public static boolean verifyMemberAccess(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
aload 1
invokestatic jdk.internal.reflect.Reflection.verifyModuleAccess:(Ljava/lang/Module;Ljava/lang/Class;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: aload 1
invokestatic jdk.internal.reflect.Reflection.getClassAccessFlags:(Ljava/lang/Class;)I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 13
9: aload 0
aload 1
invokestatic jdk.internal.reflect.Reflection.isSameClassPackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
istore 5
10: iconst_1
istore 4
11: iload 5
ifne 13
12: iconst_0
ireturn
13: StackMap locals: int int
StackMap stack:
iload 3
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 15
14: iconst_1
ireturn
15: StackMap locals:
StackMap stack:
iload 3
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifeq 18
16: aload 0
aload 1
invokestatic jdk.internal.reflect.Reflection.areNestMates:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 18
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 19: iload 3
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifeq 22
20: aload 0
aload 1
invokestatic jdk.internal.reflect.Reflection.isSubclassOf:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 22
21: iconst_1
istore 6
22: StackMap locals: int
StackMap stack:
iload 6
ifne 30
iload 3
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifne 30
23: iload 4
ifne 28
24: aload 0
25: aload 1
26: invokestatic jdk.internal.reflect.Reflection.isSameClassPackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
istore 5
27: iconst_1
istore 4
28: StackMap locals:
StackMap stack:
iload 5
ifeq 30
29: iconst_1
istore 6
30: StackMap locals:
StackMap stack:
iload 6
ifne 32
31: iconst_0
ireturn
32: StackMap locals:
StackMap stack:
aload 2
ifnull 40
iload 3
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifeq 40
33: aload 2
aload 0
if_acmpeq 40
34: iload 4
ifne 37
35: aload 0
aload 1
invokestatic jdk.internal.reflect.Reflection.isSameClassPackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
istore 5
36: iconst_1
istore 4
37: StackMap locals:
StackMap stack:
iload 5
ifne 40
38: aload 2
aload 0
invokestatic jdk.internal.reflect.Reflection.isSubclassOf:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 40
39: iconst_0
ireturn
40: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 41 0 currentClass Ljava/lang/Class<*>;
0 41 1 memberClass Ljava/lang/Class<*>;
0 41 2 targetClass Ljava/lang/Class<*>;
0 41 3 modifiers I
7 41 4 gotIsSameClassPackage Z
8 41 5 isSameClassPackage Z
19 41 6 successSoFar Z
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;I)Z
MethodParameters:
Name Flags
currentClass
memberClass
targetClass
modifiers
public static boolean verifyPublicMemberAccess(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 2
start local 2 1: iload 1
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 5
2: aload 2
aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokevirtual java.lang.Module.isExported:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
invokestatic jdk.internal.reflect.Reflection.getClassAccessFlags:(Ljava/lang/Class;)I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 5
4: iconst_1
ireturn
StackMap locals: java.lang.Module
StackMap stack:
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 memberClass Ljava/lang/Class<*>;
0 6 1 modifiers I
1 6 2 m Ljava/lang/Module;
Signature: (Ljava/lang/Class<*>;I)Z
MethodParameters:
Name Flags
memberClass
modifiers
public static boolean verifyModuleAccess(java.lang.Module, java.lang.Class<?>);
descriptor: (Ljava/lang/Module;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 2
start local 2 1: aload 0
aload 2
if_acmpne 3
2: iconst_1
ireturn
3: StackMap locals: java.lang.Module
StackMap stack:
aload 1
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
astore 3
start local 3 4: aload 2
aload 3
aload 0
invokevirtual java.lang.Module.isExported:(Ljava/lang/String;Ljava/lang/Module;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 currentModule Ljava/lang/Module;
0 5 1 memberClass Ljava/lang/Class<*>;
1 5 2 memberModule Ljava/lang/Module;
4 5 3 pkg Ljava/lang/String;
Signature: (Ljava/lang/Module;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
currentModule
memberClass
private static boolean isSameClassPackage(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
if_acmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c1 Ljava/lang/Class<*>;
0 3 1 c2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c1
c2
static boolean isSubclassOf(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 0
4: StackMap locals:
StackMap stack:
aload 0
ifnonnull 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 queryClass Ljava/lang/Class<*>;
0 6 1 ofClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
queryClass
ofClass
public static synchronized void registerFieldsToFilter(java.lang.Class<?>, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/util/Set;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.reflect.Reflection.fieldFilterMap:Ljava/util/Map;
aload 0
aload 1
invokestatic jdk.internal.reflect.Reflection.registerFilter:(Ljava/util/Map;Ljava/lang/Class;Ljava/util/Set;)Ljava/util/Map;
1: putstatic jdk.internal.reflect.Reflection.fieldFilterMap:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 containingClass Ljava/lang/Class<*>;
0 3 1 fieldNames Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
containingClass
fieldNames
public static synchronized void registerMethodsToFilter(java.lang.Class<?>, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/util/Set;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.reflect.Reflection.methodFilterMap:Ljava/util/Map;
aload 0
aload 1
invokestatic jdk.internal.reflect.Reflection.registerFilter:(Ljava/util/Map;Ljava/lang/Class;Ljava/util/Set;)Ljava/util/Map;
1: putstatic jdk.internal.reflect.Reflection.methodFilterMap:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 containingClass Ljava/lang/Class<*>;
0 3 1 methodNames Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
containingClass
methodNames
private static java.util.Map<java.lang.Class<?>, java.util.Set<java.lang.String>> registerFilter(java.util.Map<java.lang.Class<?>, java.util.Set<java.lang.String>>, java.lang.Class<?>, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Map;Ljava/lang/Class;Ljava/util/Set;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 4
1: new java.lang.IllegalArgumentException
dup
2: new java.lang.StringBuilder
dup
ldc "Filter already registered: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
aload 0
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 0
5: aload 0
aload 1
aload 2
invokestatic java.util.Set.copyOf:(Ljava/util/Collection;)Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 map Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;>;
0 7 1 containingClass Ljava/lang/Class<*>;
0 7 2 names Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;>;Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
map
containingClass
names
public static java.lang.reflect.Field[] filterFields(java.lang.Class<?>, java.lang.reflect.Field[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/reflect/Field;)[Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.reflect.Reflection.fieldFilterMap:Ljava/util/Map;
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic jdk.internal.reflect.Reflection.fieldFilterMap:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokestatic jdk.internal.reflect.Reflection.filter:([Ljava/lang/reflect/Member;Ljava/util/Set;)[Ljava/lang/reflect/Member;
checkcast java.lang.reflect.Field[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 containingClass Ljava/lang/Class<*>;
0 3 1 fields [Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/reflect/Field;)[Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
containingClass
fields
public static java.lang.reflect.Method[] filterMethods(java.lang.Class<?>, java.lang.reflect.Method[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/reflect/Method;)[Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.reflect.Reflection.methodFilterMap:Ljava/util/Map;
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic jdk.internal.reflect.Reflection.methodFilterMap:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokestatic jdk.internal.reflect.Reflection.filter:([Ljava/lang/reflect/Member;Ljava/util/Set;)[Ljava/lang/reflect/Member;
checkcast java.lang.reflect.Method[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 containingClass Ljava/lang/Class<*>;
0 3 1 methods [Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/reflect/Method;)[Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
containingClass
methods
private static java.lang.reflect.Member[] filter(java.lang.reflect.Member[], java.util.Set<java.lang.String>);
descriptor: ([Ljava/lang/reflect/Member;Ljava/util/Set;)[Ljava/lang/reflect/Member;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 1
ldc "*"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
iconst_0
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.reflect.Member[]
areturn
5: StackMap locals: java.lang.Class
StackMap stack:
iconst_0
istore 3
start local 3 6: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: java.lang.reflect.Member[] java.util.Set java.lang.Class int top int int java.lang.reflect.Member[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 1
aload 4
invokeinterface java.lang.reflect.Member.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 10
9: iinc 3 1
end local 4 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 7
12: aload 2
iload 3
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.reflect.Member[]
astore 4
start local 4 13: iconst_0
istore 5
start local 5 14: aload 0
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 19
StackMap locals: java.lang.reflect.Member[] java.util.Set java.lang.Class int java.lang.reflect.Member[] int top int int java.lang.reflect.Member[]
StackMap stack:
15: aload 9
iload 7
aaload
astore 6
start local 6 16: aload 1
aload 6
invokeinterface java.lang.reflect.Member.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 18
17: aload 4
iload 5
iinc 5 1
aload 6
aastore
end local 6 18: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 8
if_icmplt 15
20: aload 4
areturn
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 21 0 members [Ljava/lang/reflect/Member;
0 21 1 filteredNames Ljava/util/Set<Ljava/lang/String;>;
3 21 2 memberType Ljava/lang/Class<*>;
6 21 3 numNewMembers I
8 10 4 member Ljava/lang/reflect/Member;
13 21 4 newMembers [Ljava/lang/reflect/Member;
14 21 5 destIdx I
16 18 6 member Ljava/lang/reflect/Member;
Signature: ([Ljava/lang/reflect/Member;Ljava/util/Set<Ljava/lang/String;>;)[Ljava/lang/reflect/Member;
MethodParameters:
Name Flags
members
filteredNames
public static boolean isCallerSensitive(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
invokestatic jdk.internal.misc.VM.isSystemDomainLoader:(Ljava/lang/ClassLoader;)Z
ifeq 3
2: aload 0
ldc Ljdk/internal/reflect/CallerSensitive;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ireturn
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 m Ljava/lang/reflect/Method;
1 4 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
m
public static java.lang.IllegalAccessException newIllegalAccessException(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, int);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)Ljava/lang/IllegalAccessException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: aload 1
iload 3
invokestatic jdk.internal.reflect.Reflection.newIllegalAccessException:(Ljava/lang/Class;I)Ljava/lang/IllegalAccessException;
areturn
2: StackMap locals:
StackMap stack:
ldc ""
astore 4
start local 4 3: ldc ""
astore 5
start local 5 4: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 6
start local 6 5: aload 6
invokevirtual java.lang.Module.isNamed:()Z
ifeq 7
6: new java.lang.StringBuilder
dup
ldc " (in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
7: StackMap locals: java.lang.String java.lang.String java.lang.Module
StackMap stack:
aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 7
start local 7 8: aload 7
invokevirtual java.lang.Module.isNamed:()Z
ifeq 10
9: new java.lang.StringBuilder
dup
ldc " (in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
10: StackMap locals: java.lang.Module
StackMap stack:
aload 1
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
astore 8
start local 8 11: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " cannot access "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 12: aload 7
aload 8
aload 6
invokevirtual java.lang.Module.isExported:(Ljava/lang/String;Ljava/lang/Module;)Z
ifeq 17
13: new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "a member of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc " with modifiers \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokestatic java.lang.reflect.Modifier.toString:(I)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;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
16: goto 21
17: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " because "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not export "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
20: aload 7
invokevirtual java.lang.Module.isNamed:()Z
ifeq 21
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
21: StackMap locals:
StackMap stack:
new java.lang.IllegalAccessException
dup
aload 9
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
areturn
end local 9 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 22 0 currentClass Ljava/lang/Class<*>;
0 22 1 memberClass Ljava/lang/Class<*>;
0 22 2 targetClass Ljava/lang/Class<*>;
0 22 3 modifiers I
3 22 4 currentSuffix Ljava/lang/String;
4 22 5 memberSuffix Ljava/lang/String;
5 22 6 m1 Ljava/lang/Module;
8 22 7 m2 Ljava/lang/Module;
11 22 8 memberPackageName Ljava/lang/String;
12 22 9 msg Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;I)Ljava/lang/IllegalAccessException;
MethodParameters:
Name Flags
currentClass
memberClass
targetClass
modifiers
private static java.lang.IllegalAccessException newIllegalAccessException(java.lang.Class<?>, int);
descriptor: (Ljava/lang/Class;I)Ljava/lang/IllegalAccessException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: ldc ""
astore 2
start local 2 1: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 3
start local 3 2: aload 3
invokevirtual java.lang.Module.isNamed:()Z
ifeq 4
3: new java.lang.StringBuilder
dup
ldc " (in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
4: StackMap locals: java.lang.String java.lang.Module
StackMap stack:
aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
astore 4
start local 4 5: ldc "JNI attached native thread (null caller frame) cannot access "
astore 5
start local 5 6: aload 3
aload 4
invokevirtual java.lang.Module.isExported:(Ljava/lang/String;)Z
ifeq 11
7: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "a member of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " with modifiers \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokestatic java.lang.reflect.Modifier.toString:(I)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;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
10: goto 14
11: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " because "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not export "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
14: StackMap locals:
StackMap stack:
new java.lang.IllegalAccessException
dup
aload 5
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
areturn
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 15 0 memberClass Ljava/lang/Class<*>;
0 15 1 modifiers I
1 15 2 memberSuffix Ljava/lang/String;
2 15 3 m2 Ljava/lang/Module;
5 15 4 memberPackageName Ljava/lang/String;
6 15 5 msg Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;I)Ljava/lang/IllegalAccessException;
MethodParameters:
Name Flags
memberClass
modifiers
public static native boolean areNestMates(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
currentClass
memberClass
}
SourceFile: "Reflection.java"