final class jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker implements jdk.dynalink.linker.TypeBasedGuardingDynamicLinker
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker
  super_class: java.lang.Object
{
  private static final java.lang.Class<?> STATEMENT_CLASS;
    descriptor: Ljava/lang/Class;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  private static final java.lang.Class<?> XMLENCODER_CLASS;
    descriptor: Ljava/lang/Class;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  private static final java.lang.Class<?> XMLDECODER_CLASS;
    descriptor: Ljava/lang/Class;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            ldc "Statement"
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.getBeanClass:(Ljava/lang/String;)Ljava/lang/Class;
            putstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.STATEMENT_CLASS:Ljava/lang/Class;
         1: .line 48
            ldc "XMLEncoder"
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.getBeanClass:(Ljava/lang/String;)Ljava/lang/Class;
            putstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.XMLENCODER_CLASS:Ljava/lang/Class;
         2: .line 49
            ldc "XMLDecoder"
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.getBeanClass:(Ljava/lang/String;)Ljava/lang/Class;
            putstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.XMLDECODER_CLASS:Ljava/lang/Class;
            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.nashorn.internal.runtime.linker.ReflectionCheckLinker this
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/linker/ReflectionCheckLinker;

  private static java.lang.Class<?> getBeanClass(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String name
         0: .line 53
            new java.lang.StringBuilder
            dup
            ldc "java.beans."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
         1: areturn
         2: .line 54
      StackMap locals:
      StackMap stack: java.lang.ClassNotFoundException
            pop
         3: .line 56
            aconst_null
            areturn
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  name  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.ClassNotFoundException
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
      Name  Flags
      name  final

  public boolean canLinkType(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker this
        start local 1 // java.lang.Class type
         0: .line 62
            aload 1 /* type */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.isReflectionClass:(Ljava/lang/Class;)Z
            ireturn
        end local 1 // java.lang.Class type
        end local 0 // jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/linker/ReflectionCheckLinker;
            0    1     1  type  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/Class<*>;)Z
    MethodParameters:
      Name  Flags
      type  final

  private static boolean isReflectionClass(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.Class type
         0: .line 67
            aload 0 /* type */
            ldc Ljava/lang/Class;
            if_acmpeq 1
            ldc Ljava/lang/ClassLoader;
            aload 0 /* type */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 2
         1: .line 68
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         2: .line 72
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.STATEMENT_CLASS:Ljava/lang/Class;
            ifnull 3
            getstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.STATEMENT_CLASS:Ljava/lang/Class;
            aload 0 /* type */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifne 5
         3: .line 73
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.XMLENCODER_CLASS:Ljava/lang/Class;
            ifnull 4
            getstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.XMLENCODER_CLASS:Ljava/lang/Class;
            aload 0 /* type */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifne 5
         4: .line 74
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.XMLDECODER_CLASS:Ljava/lang/Class;
            ifnull 6
            getstatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.XMLDECODER_CLASS:Ljava/lang/Class;
            aload 0 /* type */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 6
         5: .line 75
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         6: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 1 /* name */
        start local 1 // java.lang.String name
         7: .line 80
            aload 1 /* name */
            ldc "java.lang.reflect."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 8
            aload 1 /* name */
            ldc "java.lang.invoke."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 8
            iconst_0
            ireturn
      StackMap locals: java.lang.String
      StackMap stack:
         8: iconst_1
            ireturn
        end local 1 // java.lang.String name
        end local 0 // java.lang.Class type
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  type  Ljava/lang/Class<*>;
            7    9     1  name  Ljava/lang/String;
    Signature: (Ljava/lang/Class<*>;)Z
    MethodParameters:
      Name  Flags
      type  final

  public jdk.dynalink.linker.GuardedInvocation getGuardedInvocation(jdk.dynalink.linker.LinkRequest, jdk.dynalink.linker.LinkerServices);
    descriptor: (Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker this
        start local 1 // jdk.dynalink.linker.LinkRequest origRequest
        start local 2 // jdk.dynalink.linker.LinkerServices linkerServices
         0: .line 86
            aload 1 /* origRequest */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.checkLinkRequest:(Ljdk/dynalink/linker/LinkRequest;)V
         1: .line 88
            aconst_null
            areturn
        end local 2 // jdk.dynalink.linker.LinkerServices linkerServices
        end local 1 // jdk.dynalink.linker.LinkRequest origRequest
        end local 0 // jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0            this  Ljdk/nashorn/internal/runtime/linker/ReflectionCheckLinker;
            0    2     1     origRequest  Ljdk/dynalink/linker/LinkRequest;
            0    2     2  linkerServices  Ljdk/dynalink/linker/LinkerServices;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
                Name  Flags
      origRequest     final
      linkerServices  final

  private static boolean isReflectiveCheckNeeded(java.lang.Class<?>, );
    descriptor: (Ljava/lang/Class;Z)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Class type
        start local 1 // boolean isStatic
         0: .line 93
            ldc Ljava/lang/reflect/Proxy;
            aload 0 /* type */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 4
         1: .line 94
            aload 0 /* type */
            invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
            ifeq 3
         2: .line 96
            iload 1 /* isStatic */
            ireturn
         3: .line 100
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         4: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* type */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.isReflectionClass:(Ljava/lang/Class;)Z
            ireturn
        end local 1 // boolean isStatic
        end local 0 // java.lang.Class type
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      type  Ljava/lang/Class<*>;
            0    5     1  isStatic  Z
    Signature: (Ljava/lang/Class<*>;Z)Z
    MethodParameters:
          Name  Flags
      type      final
      isStatic  final

  static void checkReflectionAccess(java.lang.Class<?>, );
    descriptor: (Ljava/lang/Class;Z)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // java.lang.Class clazz
        start local 1 // boolean isStatic
         0: .line 108
            invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
            astore 2 /* global */
        start local 2 // jdk.nashorn.internal.objects.Global global
         1: .line 109
            aload 2 /* global */
            invokevirtual jdk.nashorn.internal.objects.Global.getClassFilter:()Ljdk/nashorn/api/scripting/ClassFilter;
            astore 3 /* cf */
        start local 3 // jdk.nashorn.api.scripting.ClassFilter cf
         2: .line 110
            aload 3 /* cf */
            ifnull 4
            aload 0 /* clazz */
            iload 1 /* isStatic */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.isReflectiveCheckNeeded:(Ljava/lang/Class;Z)Z
            ifeq 4
         3: .line 111
            ldc "no.reflection.with.classfilter"
            iconst_0
            anewarray java.lang.String
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
         4: .line 114
      StackMap locals: jdk.nashorn.internal.objects.Global jdk.nashorn.api.scripting.ClassFilter
      StackMap stack:
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 4 /* sm */
        start local 4 // java.lang.SecurityManager sm
         5: .line 115
            aload 4 /* sm */
            ifnull 7
            aload 0 /* clazz */
            iload 1 /* isStatic */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.isReflectiveCheckNeeded:(Ljava/lang/Class;Z)Z
            ifeq 7
         6: .line 116
            aload 4 /* sm */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.checkReflectionPermission:(Ljava/lang/SecurityManager;)V
         7: .line 118
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            return
        end local 4 // java.lang.SecurityManager sm
        end local 3 // jdk.nashorn.api.scripting.ClassFilter cf
        end local 2 // jdk.nashorn.internal.objects.Global global
        end local 1 // boolean isStatic
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0     clazz  Ljava/lang/Class<*>;
            0    8     1  isStatic  Z
            1    8     2    global  Ljdk/nashorn/internal/objects/Global;
            2    8     3        cf  Ljdk/nashorn/api/scripting/ClassFilter;
            5    8     4        sm  Ljava/lang/SecurityManager;
    Signature: (Ljava/lang/Class<*>;Z)V
    MethodParameters:
          Name  Flags
      clazz     final
      isStatic  final

  private static void checkLinkRequest(jdk.dynalink.linker.LinkRequest);
    descriptor: (Ljdk/dynalink/linker/LinkRequest;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // jdk.dynalink.linker.LinkRequest request
         0: .line 121
            invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
            astore 1 /* global */
        start local 1 // jdk.nashorn.internal.objects.Global global
         1: .line 122
            aload 1 /* global */
            invokevirtual jdk.nashorn.internal.objects.Global.getClassFilter:()Ljdk/nashorn/api/scripting/ClassFilter;
            astore 2 /* cf */
        start local 2 // jdk.nashorn.api.scripting.ClassFilter cf
         2: .line 123
            aload 2 /* cf */
            ifnull 4
         3: .line 124
            ldc "no.reflection.with.classfilter"
            iconst_0
            anewarray java.lang.String
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
         4: .line 127
      StackMap locals: jdk.nashorn.internal.objects.Global jdk.nashorn.api.scripting.ClassFilter
      StackMap stack:
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 3 /* sm */
        start local 3 // java.lang.SecurityManager sm
         5: .line 128
            aload 3 /* sm */
            ifnull 13
         6: .line 129
            aload 0 /* request */
            invokeinterface jdk.dynalink.linker.LinkRequest.getReceiver:()Ljava/lang/Object;
            astore 4 /* self */
        start local 4 // java.lang.Object self
         7: .line 131
            aload 4 /* self */
            instanceof java.lang.Class
            ifeq 12
            aload 4 /* self */
            checkcast java.lang.Class
            invokevirtual java.lang.Class.getModifiers:()I
            invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
            ifeq 12
         8: .line 132
            aload 0 /* request */
            invokeinterface jdk.dynalink.linker.LinkRequest.getCallSiteDescriptor:()Ljdk/dynalink/CallSiteDescriptor;
            astore 5 /* desc */
        start local 5 // jdk.dynalink.CallSiteDescriptor desc
         9: .line 133
            ldc "static"
            aload 5 /* desc */
            invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getOperand:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
            aload 5 /* desc */
            getstatic jdk.dynalink.StandardOperation.GET:Ljdk/dynalink/StandardOperation;
            getstatic jdk.dynalink.StandardNamespace.PROPERTY:Ljdk/dynalink/StandardNamespace;
            invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.contains:(Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/StandardOperation;Ljdk/dynalink/StandardNamespace;)Z
            ifeq 12
        10: .line 134
            aload 4 /* self */
            checkcast java.lang.Class
            invokestatic jdk.nashorn.internal.runtime.Context.isAccessibleClass:(Ljava/lang/Class;)Z
            ifeq 12
            aload 4 /* self */
            checkcast java.lang.Class
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.isReflectionClass:(Ljava/lang/Class;)Z
            ifne 12
        11: .line 136
            return
        end local 5 // jdk.dynalink.CallSiteDescriptor desc
        12: .line 140
      StackMap locals: java.lang.SecurityManager java.lang.Object
      StackMap stack:
            aload 3 /* sm */
            invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.checkReflectionPermission:(Ljava/lang/SecurityManager;)V
        end local 4 // java.lang.Object self
        13: .line 142
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.SecurityManager sm
        end local 2 // jdk.nashorn.api.scripting.ClassFilter cf
        end local 1 // jdk.nashorn.internal.objects.Global global
        end local 0 // jdk.dynalink.linker.LinkRequest request
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0  request  Ljdk/dynalink/linker/LinkRequest;
            1   14     1   global  Ljdk/nashorn/internal/objects/Global;
            2   14     2       cf  Ljdk/nashorn/api/scripting/ClassFilter;
            5   14     3       sm  Ljava/lang/SecurityManager;
            7   13     4     self  Ljava/lang/Object;
            9   12     5     desc  Ljdk/dynalink/CallSiteDescriptor;
    MethodParameters:
         Name  Flags
      request  final

  private static void checkReflectionPermission(java.lang.SecurityManager);
    descriptor: (Ljava/lang/SecurityManager;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.SecurityManager sm
         0: .line 145
            aload 0 /* sm */
            new java.lang.RuntimePermission
            dup
            ldc "nashorn.JavaReflection"
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         1: .line 146
            return
        end local 0 // java.lang.SecurityManager sm
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0    sm  Ljava/lang/SecurityManager;
    MethodParameters:
      Name  Flags
      sm    final
}
SourceFile: "ReflectionCheckLinker.java"