public class org.jboss.resteasy.util.GetRestful
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jboss.resteasy.util.GetRestful
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.GetRestful this
         0: .line 14
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jboss.resteasy.util.GetRestful this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/GetRestful;

  public static java.lang.Class getRootResourceClass(java.lang.Class);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 24
            aload 0 /* clazz */
            ldc Ljavax/ws/rs/Path;
            invokestatic org.jboss.resteasy.util.AnnotationResolver.getClassWithAnnotation:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
            areturn
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  clazz  Ljava/lang/Class;
    MethodParameters:
       Name  Flags
      clazz  

  public static boolean isSubResourceClass(java.lang.Class);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 36
            aload 0 /* clazz */
            astore 1 /* actualClass */
        start local 1 // java.lang.Class actualClass
         1: goto 11
         2: .line 38
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 1 /* actualClass */
            invokestatic org.jboss.resteasy.util.GetRestful.hasJAXRSAnnotations:(Ljava/lang/Class;)Z
            ifeq 4
         3: .line 39
            iconst_1
            ireturn
         4: .line 41
      StackMap locals:
      StackMap stack:
            aload 1 /* actualClass */
            invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 9
      StackMap locals: java.lang.Class java.lang.Class top int int java.lang.Class[]
      StackMap stack:
         5: aload 5
            iload 3
            aaload
            astore 2 /* intf */
        start local 2 // java.lang.Class intf
         6: .line 43
            aload 2 /* intf */
            invokestatic org.jboss.resteasy.util.GetRestful.hasJAXRSAnnotations:(Ljava/lang/Class;)Z
            ifeq 8
         7: .line 44
            iconst_1
            ireturn
        end local 2 // java.lang.Class intf
         8: .line 41
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         9: iload 3
            iload 4
            if_icmplt 5
        10: .line 36
            aload 1 /* actualClass */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            astore 1 /* actualClass */
      StackMap locals: java.lang.Class java.lang.Class
      StackMap stack:
        11: aload 1 /* actualClass */
            invokestatic org.jboss.resteasy.util.GetRestful.isTopObject:(Ljava/lang/Class;)Z
            ifne 2
        end local 1 // java.lang.Class actualClass
        12: .line 48
            iconst_0
            ireturn
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   13     0        clazz  Ljava/lang/Class;
            1   12     1  actualClass  Ljava/lang/Class<*>;
            6    8     2         intf  Ljava/lang/Class;
    MethodParameters:
       Name  Flags
      clazz  

  public static java.lang.Class getSubResourceClass(java.lang.Class);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 60
            aload 0 /* clazz */
            astore 1 /* actualClass */
        start local 1 // java.lang.Class actualClass
         1: goto 5
         2: .line 62
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 1 /* actualClass */
            invokestatic org.jboss.resteasy.util.GetRestful.hasJAXRSAnnotations:(Ljava/lang/Class;)Z
            ifeq 4
         3: .line 63
            aload 1 /* actualClass */
            areturn
         4: .line 60
      StackMap locals:
      StackMap stack:
            aload 1 /* actualClass */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            astore 1 /* actualClass */
      StackMap locals:
      StackMap stack:
         5: aload 1 /* actualClass */
            invokestatic org.jboss.resteasy.util.GetRestful.isTopObject:(Ljava/lang/Class;)Z
            ifne 2
        end local 1 // java.lang.Class actualClass
         6: .line 67
            aload 0 /* clazz */
            invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
            dup
            astore 4
            arraylength
            istore 3
            iconst_0
            istore 2
            goto 11
      StackMap locals: java.lang.Class top int int java.lang.Class[]
      StackMap stack:
         7: aload 4
            iload 2
            aaload
            astore 1 /* intf */
        start local 1 // java.lang.Class intf
         8: .line 69
            aload 1 /* intf */
            invokestatic org.jboss.resteasy.util.GetRestful.hasJAXRSAnnotations:(Ljava/lang/Class;)Z
            ifeq 10
         9: .line 70
            aload 1 /* intf */
            areturn
        end local 1 // java.lang.Class intf
        10: .line 67
      StackMap locals:
      StackMap stack:
            iinc 2 1
      StackMap locals:
      StackMap stack:
        11: iload 2
            iload 3
            if_icmplt 7
        12: .line 72
            aconst_null
            areturn
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   13     0        clazz  Ljava/lang/Class;
            1    6     1  actualClass  Ljava/lang/Class<*>;
            8   10     1         intf  Ljava/lang/Class;
    MethodParameters:
       Name  Flags
      clazz  

  public static java.lang.Class<?>[] getSubResourceClasses(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)[Ljava/lang/Class;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 83
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* classes */
        start local 1 // java.util.List classes
         1: .line 85
            aload 0 /* clazz */
            astore 2 /* actualClass */
        start local 2 // java.lang.Class actualClass
         2: goto 6
         3: .line 86
      StackMap locals: java.util.List java.lang.Class
      StackMap stack:
            aload 2 /* actualClass */
            invokestatic org.jboss.resteasy.util.GetRestful.hasJAXRSAnnotations:(Ljava/lang/Class;)Z
            ifeq 5
         4: .line 87
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            aload 2 /* actualClass */
            aastore
            areturn
         5: .line 85
      StackMap locals:
      StackMap stack:
            aload 2 /* actualClass */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            astore 2 /* actualClass */
      StackMap locals:
      StackMap stack:
         6: aload 2 /* actualClass */
            invokestatic org.jboss.resteasy.util.GetRestful.isTopObject:(Ljava/lang/Class;)Z
            ifne 3
        end local 2 // java.lang.Class actualClass
         7: .line 91
            aload 0 /* clazz */
            invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 12
      StackMap locals: java.lang.Class java.util.List top int int java.lang.Class[]
      StackMap stack:
         8: aload 5
            iload 3
            aaload
            astore 2 /* intf */
        start local 2 // java.lang.Class intf
         9: .line 92
            aload 2 /* intf */
            invokestatic org.jboss.resteasy.util.GetRestful.hasJAXRSAnnotations:(Ljava/lang/Class;)Z
            ifeq 11
        10: .line 93
            aload 1 /* classes */
            aload 2 /* intf */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.lang.Class intf
        11: .line 91
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
        12: iload 3
            iload 4
            if_icmplt 8
        13: .line 95
            aload 1 /* classes */
            aload 1 /* classes */
            invokeinterface java.util.List.size:()I
            anewarray java.lang.Class
            invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.lang.Class[]
            areturn
        end local 1 // java.util.List classes
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0        clazz  Ljava/lang/Class<*>;
            1   14     1      classes  Ljava/util/List<Ljava/lang/Class<*>;>;
            2    7     2  actualClass  Ljava/lang/Class<*>;
            9   11     2         intf  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/Class<*>;)[Ljava/lang/Class<*>;
    MethodParameters:
       Name  Flags
      clazz  

  private static boolean isTopObject(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Class actualClass
         0: .line 100
            aload 0 /* actualClass */
            ifnull 1
            aload 0 /* actualClass */
            ldc Ljava/lang/Object;
            if_acmpeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.lang.Class actualClass
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0  actualClass  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/Class<*>;)Z
    MethodParameters:
             Name  Flags
      actualClass  

  private static boolean hasJAXRSAnnotations(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=9, args_size=1
        start local 0 // java.lang.Class c
         0: .line 105
            aload 0 /* c */
            ldc Ljavax/ws/rs/Path;
            invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
            ifeq 2
         1: .line 107
            iconst_1
            ireturn
         2: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* c */
            invokevirtual java.lang.Class.isInterface:()Z
            ifeq 3
            aload 0 /* c */
            invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
            goto 4
      StackMap locals:
      StackMap stack:
         3: aload 0 /* c */
            invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
      StackMap locals:
      StackMap stack: java.lang.reflect.Method[]
         4: dup
            astore 4
            arraylength
            istore 3
            iconst_0
            istore 2
            goto 15
      StackMap locals: java.lang.Class top int int java.lang.reflect.Method[]
      StackMap stack:
         5: aload 4
            iload 2
            aaload
            astore 1 /* method */
        start local 1 // java.lang.reflect.Method method
         6: .line 111
            aload 1 /* method */
            ldc Ljavax/ws/rs/Path;
            invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
            ifeq 8
         7: .line 113
            iconst_1
            ireturn
         8: .line 115
      StackMap locals: java.lang.Class java.lang.reflect.Method int int java.lang.reflect.Method[]
      StackMap stack:
            aload 1 /* method */
            invokevirtual java.lang.reflect.Method.getAnnotations:()[Ljava/lang/annotation/Annotation;
            dup
            astore 8
            arraylength
            istore 7
            iconst_0
            istore 6
            goto 13
      StackMap locals: java.lang.Class java.lang.reflect.Method int int java.lang.reflect.Method[] top int int java.lang.annotation.Annotation[]
      StackMap stack:
         9: aload 8
            iload 6
            aaload
            astore 5 /* ann */
        start local 5 // java.lang.annotation.Annotation ann
        10: .line 117
            aload 5 /* ann */
            invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
            ldc Ljavax/ws/rs/HttpMethod;
            invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
            ifeq 12
        11: .line 119
            iconst_1
            ireturn
        end local 5 // java.lang.annotation.Annotation ann
        12: .line 115
      StackMap locals:
      StackMap stack:
            iinc 6 1
      StackMap locals:
      StackMap stack:
        13: iload 6
            iload 7
            if_icmplt 9
        end local 1 // java.lang.reflect.Method method
        14: .line 109
            iinc 2 1
      StackMap locals: java.lang.Class top int int java.lang.reflect.Method[]
      StackMap stack:
        15: iload 2
            iload 3
            if_icmplt 5
        16: .line 123
            iconst_0
            ireturn
        end local 0 // java.lang.Class c
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   17     0       c  Ljava/lang/Class<*>;
            6   14     1  method  Ljava/lang/reflect/Method;
           10   12     5     ann  Ljava/lang/annotation/Annotation;
    Signature: (Ljava/lang/Class<*>;)Z
    MethodParameters:
      Name  Flags
      c     

  public static boolean isRootResource(java.lang.Class);
    descriptor: (Ljava/lang/Class;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 128
            aload 0 /* clazz */
            invokestatic org.jboss.resteasy.util.GetRestful.getRootResourceClass:(Ljava/lang/Class;)Ljava/lang/Class;
            ifnull 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0  clazz  Ljava/lang/Class;
    MethodParameters:
       Name  Flags
      clazz  
}
SourceFile: "GetRestful.java"