class jdk.dynalink.beans.AccessibleMembersLookup
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.dynalink.beans.AccessibleMembersLookup
super_class: java.lang.Object
{
private final java.util.Map<jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature, java.lang.reflect.Method> methods;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/dynalink/beans/AccessibleMembersLookup$MethodSignature;Ljava/lang/reflect/Method;>;
private final java.util.Set<java.lang.Class<?>> innerClasses;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
private final boolean instance;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Z)V
flags: (0x0000)
Code:
stack=3, 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
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.dynalink.beans.AccessibleMembersLookup.methods:Ljava/util/Map;
2: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield jdk.dynalink.beans.AccessibleMembersLookup.innerClasses:Ljava/util/Set;
3: aload 0
iload 2
putfield jdk.dynalink.beans.AccessibleMembersLookup.instance:Z
4: aload 0
aload 1
invokevirtual jdk.dynalink.beans.AccessibleMembersLookup.lookupAccessibleMembers:(Ljava/lang/Class;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/dynalink/beans/AccessibleMembersLookup;
0 6 1 clazz Ljava/lang/Class<*>;
0 6 2 instance Z
Signature: (Ljava/lang/Class<*>;Z)V
MethodParameters:
Name Flags
clazz final
instance final
java.lang.reflect.Method getAccessibleMethod(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.methods:Ljava/util/Map;
new jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature
dup
aload 1
invokespecial jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature.<init>:(Ljava/lang/reflect/Method;)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
StackMap locals:
StackMap stack: java.lang.reflect.Method
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/dynalink/beans/AccessibleMembersLookup;
0 3 1 m Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
m final
java.util.Collection<java.lang.reflect.Method> getMethods();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.methods:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/beans/AccessibleMembersLookup;
Signature: ()Ljava/util/Collection<Ljava/lang/reflect/Method;>;
java.lang.Class<?>[] getInnerClasses();
descriptor: ()[Ljava/lang/Class;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.innerClasses:Ljava/util/Set;
iconst_0
anewarray java.lang.Class
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/beans/AccessibleMembersLookup;
Signature: ()[Ljava/lang/Class<*>;
private void lookupAccessibleMembers(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.dynalink.beans.CheckRestrictedPackage.isRestrictedClass:(Ljava/lang/Class;)Z
ifne 22
1: iconst_0
istore 2
start local 2 2: aload 1
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: jdk.dynalink.beans.AccessibleMembersLookup java.lang.Class int top int int java.lang.reflect.Method[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
istore 7
start local 7 5: aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.instance:Z
iload 7
if_icmpeq 14
6: new jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature
dup
aload 3
invokespecial jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature.<init>:(Ljava/lang/reflect/Method;)V
astore 8
start local 8 7: aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.methods:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 14
8: aload 3
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
astore 9
start local 9 9: aload 9
aload 1
if_acmpeq 12
aload 9
invokestatic jdk.dynalink.beans.CheckRestrictedPackage.isRestrictedClass:(Ljava/lang/Class;)Z
ifeq 12
10: iconst_1
istore 2
11: goto 14
12: StackMap locals: jdk.dynalink.beans.AccessibleMembersLookup java.lang.Class int java.lang.reflect.Method int int java.lang.reflect.Method[] int jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature java.lang.Class
StackMap stack:
iload 7
ifeq 13
aload 1
aload 9
if_acmpne 14
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.methods:Ljava/util/Map;
aload 8
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 3 14: StackMap locals: jdk.dynalink.beans.AccessibleMembersLookup java.lang.Class int top int int java.lang.reflect.Method[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 3
16: aload 1
invokevirtual java.lang.Class.getClasses:()[Ljava/lang/Class;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 20
StackMap locals: jdk.dynalink.beans.AccessibleMembersLookup java.lang.Class int top int int java.lang.Class[]
StackMap stack:
17: aload 6
iload 4
aaload
astore 3
start local 3 18: aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.innerClasses:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 19: iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 17
21: goto 23
end local 2 22: StackMap locals: jdk.dynalink.beans.AccessibleMembersLookup java.lang.Class
StackMap stack:
iconst_1
istore 2
start local 2 23: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.dynalink.beans.AccessibleMembersLookup.instance:Z
ifeq 33
iload 2
ifeq 33
24: aload 1
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
astore 3
start local 3 25: iconst_0
istore 4
start local 4 26: goto 29
27: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 0
aload 3
iload 4
aaload
invokevirtual jdk.dynalink.beans.AccessibleMembersLookup.lookupAccessibleMembers:(Ljava/lang/Class;)V
28: iinc 4 1
StackMap locals:
StackMap stack:
29: iload 4
aload 3
arraylength
if_icmplt 27
end local 4 30: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 4
start local 4 31: aload 4
ifnull 33
32: aload 0
aload 4
invokevirtual jdk.dynalink.beans.AccessibleMembersLookup.lookupAccessibleMembers:(Ljava/lang/Class;)V
end local 4 end local 3 33: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/dynalink/beans/AccessibleMembersLookup;
0 34 1 clazz Ljava/lang/Class<*>;
2 22 2 searchSuperTypes Z
23 34 2 searchSuperTypes Z
4 14 3 method Ljava/lang/reflect/Method;
5 14 7 isStatic Z
7 14 8 sig Ljdk/dynalink/beans/AccessibleMembersLookup$MethodSignature;
9 14 9 declaringClass Ljava/lang/Class<*>;
18 19 3 innerClass Ljava/lang/Class<*>;
25 33 3 interfaces [Ljava/lang/Class;
26 30 4 i I
31 33 4 superclass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz final
}
SourceFile: "AccessibleMembersLookup.java"
NestMembers:
jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature
InnerClasses:
final MethodSignature = jdk.dynalink.beans.AccessibleMembersLookup$MethodSignature of jdk.dynalink.beans.AccessibleMembersLookup