public class io.dropwizard.jersey.validation.JerseyParameterNameProvider extends org.hibernate.validator.parameternameprovider.ReflectionParameterNameProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jersey.validation.JerseyParameterNameProvider
super_class: org.hibernate.validator.parameternameprovider.ReflectionParameterNameProvider
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.hibernate.validator.parameternameprovider.ReflectionParameterNameProvider.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/validation/JerseyParameterNameProvider;
public java.util.List<java.lang.String> getParameterNames(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getParameters:()[Ljava/lang/reflect/Parameter;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.reflect.Method.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
astore 3
start local 3 2: new java.util.ArrayList
dup
aload 3
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 9
5: StackMap locals: io.dropwizard.jersey.validation.JerseyParameterNameProvider java.lang.reflect.Method java.lang.reflect.Parameter[] java.lang.annotation.Annotation[][] java.util.List int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 6: aload 6
invokestatic io.dropwizard.jersey.validation.JerseyParameterNameProvider.getParameterNameFromAnnotations:([Ljava/lang/annotation/Annotation;)Ljava/util/Optional;
aload 2
iload 5
aaload
invokevirtual java.lang.reflect.Parameter.getName:()Ljava/lang/String;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 7: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 3
arraylength
if_icmplt 5
end local 5 10: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/dropwizard/jersey/validation/JerseyParameterNameProvider;
0 11 1 method Ljava/lang/reflect/Method;
1 11 2 parameters [Ljava/lang/reflect/Parameter;
2 11 3 parameterAnnotations [[Ljava/lang/annotation/Annotation;
3 11 4 names Ljava/util/List<Ljava/lang/String;>;
4 10 5 i I
6 8 6 annotations [Ljava/lang/annotation/Annotation;
7 8 7 name Ljava/lang/String;
Signature: (Ljava/lang/reflect/Method;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
method
public static java.util.Optional<java.lang.String> getParameterNameFromAnnotations(java.lang.annotation.Annotation[]);
descriptor: ([Ljava/lang/annotation/Annotation;)Ljava/util/Optional;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 17
StackMap locals: java.lang.annotation.Annotation[] top int int java.lang.annotation.Annotation[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
instanceof javax.ws.rs.QueryParam
ifeq 4
3: new java.lang.StringBuilder
dup
ldc "query param "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast javax.ws.rs.QueryParam
invokeinterface javax.ws.rs.QueryParam.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
4: StackMap locals: java.lang.annotation.Annotation[] java.lang.annotation.Annotation int int java.lang.annotation.Annotation[]
StackMap stack:
aload 1
instanceof javax.ws.rs.PathParam
ifeq 6
5: new java.lang.StringBuilder
dup
ldc "path param "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast javax.ws.rs.PathParam
invokeinterface javax.ws.rs.PathParam.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.HeaderParam
ifeq 8
7: new java.lang.StringBuilder
dup
ldc "header "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast javax.ws.rs.HeaderParam
invokeinterface javax.ws.rs.HeaderParam.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
8: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.CookieParam
ifeq 10
9: new java.lang.StringBuilder
dup
ldc "cookie "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast javax.ws.rs.CookieParam
invokeinterface javax.ws.rs.CookieParam.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
10: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.FormParam
ifeq 12
11: new java.lang.StringBuilder
dup
ldc "form field "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast javax.ws.rs.FormParam
invokeinterface javax.ws.rs.FormParam.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
12: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.core.Context
ifeq 14
13: ldc "context"
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
14: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.MatrixParam
ifeq 16
15: new java.lang.StringBuilder
dup
ldc "matrix param "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast javax.ws.rs.MatrixParam
invokeinterface javax.ws.rs.MatrixParam.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 16: StackMap locals: java.lang.annotation.Annotation[] top int int java.lang.annotation.Annotation[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
iload 3
if_icmplt 1
18: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 memberAnnotations [Ljava/lang/annotation/Annotation;
2 16 1 a Ljava/lang/annotation/Annotation;
Signature: ([Ljava/lang/annotation/Annotation;)Ljava/util/Optional<Ljava/lang/String;>;
MethodParameters:
Name Flags
memberAnnotations
}
SourceFile: "JerseyParameterNameProvider.java"