class jdk.dynalink.beans.CheckRestrictedPackage
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.dynalink.beans.CheckRestrictedPackage
  super_class: java.lang.Object
{
  private static final java.security.AccessControlContext NO_PERMISSIONS_CONTEXT;
    descriptor: Ljava/security/AccessControlContext;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 74
            invokestatic jdk.dynalink.internal.AccessControlContextFactory.createAccessControlContext:()Ljava/security/AccessControlContext;
         1: .line 73
            putstatic jdk.dynalink.beans.CheckRestrictedPackage.NO_PERMISSIONS_CONTEXT:Ljava/security/AccessControlContext;
         2: .line 74
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.dynalink.beans.CheckRestrictedPackage this
         0: .line 72
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.dynalink.beans.CheckRestrictedPackage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/dynalink/beans/CheckRestrictedPackage;

  static boolean isRestrictedClass(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 82
            aload 0 /* clazz */
            invokevirtual java.lang.Class.getModifiers:()I
            invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
            ifne 2
         1: .line 84
            iconst_1
            ireturn
         2: .line 86
      StackMap locals:
      StackMap stack:
            aload 0 /* clazz */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 1 /* name */
        start local 1 // java.lang.String name
         3: .line 87
            aload 1 /* name */
            bipush 46
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 2 /* i */
        start local 2 // int i
         4: .line 88
            iload 2 /* i */
            iconst_m1
            if_icmpne 6
         5: .line 90
            iconst_0
            ireturn
         6: .line 92
      StackMap locals: java.lang.String int
      StackMap stack:
            aload 1 /* name */
            iconst_0
            iload 2 /* i */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 3 /* pkgName */
        start local 3 // java.lang.String pkgName
         7: .line 93
            aload 0 /* clazz */
            invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
            astore 4 /* module */
        start local 4 // java.lang.Module module
         8: .line 94
            aload 4 /* module */
            ifnull 10
            aload 4 /* module */
            aload 3 /* pkgName */
            invokevirtual java.lang.Module.isExported:(Ljava/lang/String;)Z
            ifne 10
         9: .line 95
            iconst_1
            ireturn
        10: .line 98
      StackMap locals: java.lang.String java.lang.Module
      StackMap stack:
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 5 /* sm */
        start local 5 // java.lang.SecurityManager sm
        11: .line 99
            aload 5 /* sm */
            ifnonnull 13
        12: .line 101
            iconst_0
            ireturn
        13: .line 105
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            new jdk.dynalink.beans.CheckRestrictedPackage$1
            dup
            aload 5 /* sm */
            aload 3 /* pkgName */
            invokespecial jdk.dynalink.beans.CheckRestrictedPackage$1.<init>:(Ljava/lang/SecurityManager;Ljava/lang/String;)V
        14: .line 111
            getstatic jdk.dynalink.beans.CheckRestrictedPackage.NO_PERMISSIONS_CONTEXT:Ljava/security/AccessControlContext;
        15: .line 105
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
            pop
        16: .line 112
            goto 19
      StackMap locals:
      StackMap stack: java.lang.SecurityException
        17: pop
        18: .line 113
            iconst_1
            ireturn
        19: .line 115
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 5 // java.lang.SecurityManager sm
        end local 4 // java.lang.Module module
        end local 3 // java.lang.String pkgName
        end local 2 // int i
        end local 1 // java.lang.String name
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   20     0    clazz  Ljava/lang/Class<*>;
            3   20     1     name  Ljava/lang/String;
            4   20     2        i  I
            7   20     3  pkgName  Ljava/lang/String;
            8   20     4   module  Ljava/lang/Module;
           11   20     5       sm  Ljava/lang/SecurityManager;
      Exception table:
        from    to  target  type
          13    16      17  Class java.lang.SecurityException
    Signature: (Ljava/lang/Class<*>;)Z
    MethodParameters:
       Name  Flags
      clazz  final
}
SourceFile: "CheckRestrictedPackage.java"
NestMembers:
  jdk.dynalink.beans.CheckRestrictedPackage$1
InnerClasses:
  jdk.dynalink.beans.CheckRestrictedPackage$1