public class org.jboss.resteasy.util.IsHttpMethod
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.IsHttpMethod
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/IsHttpMethod;
public static java.util.Set<java.lang.String> getHttpMethods(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual java.lang.reflect.Method.getAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.lang.reflect.Method java.util.HashSet top int int java.lang.annotation.Annotation[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
ldc Ljavax/ws/rs/HttpMethod;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.ws.rs.HttpMethod
astore 6
start local 6 4: aload 6
ifnull 5
aload 1
aload 6
invokeinterface javax.ws.rs.HttpMethod.value:()Ljava/lang/String;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: aload 1
invokevirtual java.util.HashSet.size:()I
ifne 8
aconst_null
areturn
8: StackMap locals: java.lang.reflect.Method java.util.HashSet
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 method Ljava/lang/reflect/Method;
1 9 1 methods Ljava/util/HashSet<Ljava/lang/String;>;
3 5 2 annotation Ljava/lang/annotation/Annotation;
4 5 6 http Ljavax/ws/rs/HttpMethod;
Signature: (Ljava/lang/reflect/Method;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
method
}
SourceFile: "IsHttpMethod.java"