class edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator
  super_class: java.lang.Object
{
  private final java.lang.Class<?> detectorClass;
    descriptor: Ljava/lang/Class;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  private java.lang.reflect.Method setAnalysisContext;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)V
    flags: (0x0000) 
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
        start local 1 // java.lang.Class detectorClass
         0: .line 58
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 59
            aload 0 /* this */
            aload 1 /* detectorClass */
            putfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
         2: .line 60
            getstatic edu.umd.cs.findbugs.DetectorFactory.SUPPORT_OLD_DETECTOR_INTERFACE:Z
            ifeq 8
         3: .line 62
            aload 0 /* this */
            aload 1 /* detectorClass */
            ldc "setAnalysisContext"
         4: .line 63
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ledu/umd/cs/findbugs/ba/AnalysisContext;
            aastore
         5: .line 62
            invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            putfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.setAnalysisContext:Ljava/lang/reflect/Method;
         6: .line 64
            goto 8
      StackMap locals: edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator java.lang.Class
      StackMap stack: java.lang.NoSuchMethodException
         7: pop
         8: .line 68
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Class detectorClass
        end local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Ledu/umd/cs/findbugs/DetectorFactory$ReflectionDetectorCreator;
            0    9     1  detectorClass  Ljava/lang/Class<*>;
      Exception table:
        from    to  target  type
           3     6       7  Class java.lang.NoSuchMethodException
    Signature: (Ljava/lang/Class<*>;)V
    MethodParameters:
               Name  Flags
      detectorClass  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
         0: .line 72
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            areturn
        end local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ledu/umd/cs/findbugs/DetectorFactory$ReflectionDetectorCreator;

  public edu.umd.cs.findbugs.Detector createDetector(edu.umd.cs.findbugs.BugReporter);
    descriptor: (Ledu/umd/cs/findbugs/BugReporter;)Ledu/umd/cs/findbugs/Detector;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
        start local 1 // edu.umd.cs.findbugs.BugReporter bugReporter
         0: .line 77
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            getstatic edu.umd.cs.findbugs.DetectorFactory.constructorArgTypes:[Ljava/lang/Class;
            invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
            astore 2 /* constructor */
        start local 2 // java.lang.reflect.Constructor constructor
         1: .line 78
            aload 2 /* constructor */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* bugReporter */
            aastore
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            checkcast edu.umd.cs.findbugs.Detector
            astore 3 /* detector */
        start local 3 // edu.umd.cs.findbugs.Detector detector
         2: .line 79
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.setAnalysisContext:Ljava/lang/reflect/Method;
            ifnull 4
         3: .line 80
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.setAnalysisContext:Ljava/lang/reflect/Method;
            aload 3 /* detector */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            invokestatic edu.umd.cs.findbugs.ba.AnalysisContext.currentAnalysisContext:()Ledu/umd/cs/findbugs/ba/AnalysisContext;
            aastore
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 82
      StackMap locals: java.lang.reflect.Constructor edu.umd.cs.findbugs.Detector
      StackMap stack:
            aload 3 /* detector */
         5: areturn
        end local 3 // edu.umd.cs.findbugs.Detector detector
        end local 2 // java.lang.reflect.Constructor constructor
         6: .line 83
      StackMap locals: edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator edu.umd.cs.findbugs.BugReporter
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         7: .line 84
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Could not instantiate "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " as Detector"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Exception e
        end local 1 // edu.umd.cs.findbugs.BugReporter bugReporter
        end local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    8     0         this  Ledu/umd/cs/findbugs/DetectorFactory$ReflectionDetectorCreator;
            0    8     1  bugReporter  Ledu/umd/cs/findbugs/BugReporter;
            1    6     2  constructor  Ljava/lang/reflect/Constructor<*>;
            2    6     3     detector  Ledu/umd/cs/findbugs/Detector;
            7    8     2            e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     5       6  Class java.lang.Exception
    MethodParameters:
             Name  Flags
      bugReporter  

  public edu.umd.cs.findbugs.Detector2 createDetector2(edu.umd.cs.findbugs.BugReporter);
    descriptor: (Ledu/umd/cs/findbugs/BugReporter;)Ledu/umd/cs/findbugs/Detector2;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
        start local 1 // edu.umd.cs.findbugs.BugReporter bugReporter
         0: .line 89
            ldc Ledu/umd/cs/findbugs/Detector2;
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 6
         1: .line 91
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            getstatic edu.umd.cs.findbugs.DetectorFactory.constructorArgTypes:[Ljava/lang/Class;
            invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
            astore 2 /* constructor */
        start local 2 // java.lang.reflect.Constructor constructor
         2: .line 92
            aload 2 /* constructor */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* bugReporter */
            aastore
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            checkcast edu.umd.cs.findbugs.Detector2
         3: areturn
        end local 2 // java.lang.reflect.Constructor constructor
         4: .line 93
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         5: .line 94
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Could not instantiate "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " as Detector2"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Exception e
         6: .line 98
      StackMap locals:
      StackMap stack:
            ldc Ledu/umd/cs/findbugs/Detector;
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 10
         7: .line 99
            ldc Ledu/umd/cs/findbugs/NonReportingDetector;
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 9
         8: .line 100
            new edu.umd.cs.findbugs.NonReportingDetectorToDetector2Adapter
            dup
            aload 0 /* this */
            aload 1 /* bugReporter */
            invokevirtual edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.createDetector:(Ledu/umd/cs/findbugs/BugReporter;)Ledu/umd/cs/findbugs/Detector;
            invokespecial edu.umd.cs.findbugs.NonReportingDetectorToDetector2Adapter.<init>:(Ledu/umd/cs/findbugs/Detector;)V
            areturn
         9: .line 102
      StackMap locals:
      StackMap stack:
            new edu.umd.cs.findbugs.DetectorToDetector2Adapter
            dup
            aload 0 /* this */
            aload 1 /* bugReporter */
            invokevirtual edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.createDetector:(Ledu/umd/cs/findbugs/BugReporter;)Ledu/umd/cs/findbugs/Detector;
            invokespecial edu.umd.cs.findbugs.DetectorToDetector2Adapter.<init>:(Ledu/umd/cs/findbugs/Detector;)V
            areturn
        10: .line 106
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Class "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " is not a detector class"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // edu.umd.cs.findbugs.BugReporter bugReporter
        end local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0         this  Ledu/umd/cs/findbugs/DetectorFactory$ReflectionDetectorCreator;
            0   11     1  bugReporter  Ledu/umd/cs/findbugs/BugReporter;
            2    4     2  constructor  Ljava/lang/reflect/Constructor<*>;
            5    6     2            e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           1     3       4  Class java.lang.Exception
    MethodParameters:
             Name  Flags
      bugReporter  

  public java.lang.Class<?> getDetectorClass();
    descriptor: ()Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
         0: .line 110
            aload 0 /* this */
            getfield edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.detectorClass:Ljava/lang/Class;
            areturn
        end local 0 // edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ledu/umd/cs/findbugs/DetectorFactory$ReflectionDetectorCreator;
    Signature: ()Ljava/lang/Class<*>;
}
SourceFile: "DetectorFactory.java"
NestHost: edu.umd.cs.findbugs.DetectorFactory
InnerClasses:
  ReflectionDetectorCreator = edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator of edu.umd.cs.findbugs.DetectorFactory