public class io.dropwizard.jersey.validation.ConstraintMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jersey.validation.ConstraintMessage
super_class: java.lang.Object
{
private static final com.google.common.cache.Cache<org.apache.commons.lang3.tuple.Pair<javax.validation.Path, ? extends javax.validation.metadata.ConstraintDescriptor<?>>, java.lang.String> PREFIX_CACHE;
descriptor: Lcom/google/common/cache/Cache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/cache/Cache<Lorg/apache/commons/lang3/tuple/Pair<Ljavax/validation/Path;+Ljavax/validation/metadata/ConstraintDescriptor<*>;>;Ljava/lang/String;>;
private static volatile int[] $SWITCH_TABLE$javax$validation$ElementKind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic com.google.common.cache.CacheBuilder.newBuilder:()Lcom/google/common/cache/CacheBuilder;
1: lconst_1
getstatic java.util.concurrent.TimeUnit.HOURS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.google.common.cache.CacheBuilder.expireAfterWrite:(JLjava/util/concurrent/TimeUnit;)Lcom/google/common/cache/CacheBuilder;
2: invokevirtual com.google.common.cache.CacheBuilder.build:()Lcom/google/common/cache/Cache;
3: putstatic io.dropwizard.jersey.validation.ConstraintMessage.PREFIX_CACHE:Lcom/google/common/cache/Cache;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/validation/ConstraintMessage;
public static java.lang.String getMessage(javax.validation.ConstraintViolation<?>, org.glassfish.jersey.server.model.Invocable);
descriptor: (Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
aload 0
invokeinterface javax.validation.ConstraintViolation.getConstraintDescriptor:()Ljavax/validation/metadata/ConstraintDescriptor;
invokestatic org.apache.commons.lang3.tuple.Pair.of:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/tuple/Pair;
1: astore 2
start local 2 2: getstatic io.dropwizard.jersey.validation.ConstraintMessage.PREFIX_CACHE:Lcom/google/common/cache/Cache;
aload 2
invokeinterface com.google.common.cache.Cache.getIfPresent:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
ifnonnull 7
4: aload 0
aload 1
invokestatic io.dropwizard.jersey.validation.ConstraintMessage.calculatePrefix:(Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/lang/String;
astore 4
start local 4 5: getstatic io.dropwizard.jersey.validation.ConstraintMessage.PREFIX_CACHE:Lcom/google/common/cache/Cache;
aload 2
aload 4
invokeinterface com.google.common.cache.Cache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
6: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface javax.validation.ConstraintViolation.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 7: StackMap locals: org.apache.commons.lang3.tuple.Pair java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface javax.validation.ConstraintViolation.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 v Ljavax/validation/ConstraintViolation<*>;
0 8 1 invocable Lorg/glassfish/jersey/server/model/Invocable;
2 8 2 of Lorg/apache/commons/lang3/tuple/Pair<Ljavax/validation/Path;+Ljavax/validation/metadata/ConstraintDescriptor<*>;>;
3 8 3 cachePrefix Ljava/lang/String;
5 7 4 prefix Ljava/lang/String;
Signature: (Ljavax/validation/ConstraintViolation<*>;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/lang/String;
MethodParameters:
Name Flags
v
invocable
private static java.lang.String calculatePrefix(javax.validation.ConstraintViolation<?>, org.glassfish.jersey.server.model.Invocable);
descriptor: (Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.dropwizard.jersey.validation.ConstraintMessage.getMethodReturnValueName:(Ljavax/validation/ConstraintViolation;)Ljava/util/Optional;
astore 2
start local 2 1: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifeq 7
2: aload 0
invokestatic io.dropwizard.jersey.validation.ConstraintMessage.isValidationMethod:(Ljavax/validation/ConstraintViolation;)Z
ifeq 4
3: aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
ldc "."
invokestatic org.apache.commons.lang3.StringUtils.substringBeforeLast:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
goto 5
StackMap locals: java.util.Optional
StackMap stack:
4: aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
5: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 6: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 0
invokestatic io.dropwizard.jersey.validation.ConstraintMessage.isValidationMethod:(Ljavax/validation/ConstraintViolation;)Z
ifeq 9
8: ldc ""
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.dropwizard.jersey.validation.ConstraintMessage.isRequestEntity:(Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/util/Optional;
astore 3
start local 3 10: aload 3
invokevirtual java.util.Optional.isPresent:()Z
ifeq 15
11: aload 3
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.google.common.base.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 12
ldc "The request body"
goto 13
StackMap locals: java.util.Optional
StackMap stack:
12: aload 3
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
13: astore 4
start local 4 14: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.dropwizard.jersey.validation.ConstraintMessage.getMemberName:(Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/util/Optional;
astore 4
start local 4 16: aload 4
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/dropwizard/jersey/validation/ConstraintMessage.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
aload 0
invokedynamic get(Ljavax/validation/ConstraintViolation;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
io/dropwizard/jersey/validation/ConstraintMessage.lambda$1(Ljavax/validation/ConstraintViolation;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 v Ljavax/validation/ConstraintViolation<*>;
0 17 1 invocable Lorg/glassfish/jersey/server/model/Invocable;
1 17 2 returnValueName Ljava/util/Optional<Ljava/lang/String;>;
6 7 3 name Ljava/lang/String;
10 17 3 entity Ljava/util/Optional<Ljava/lang/String;>;
14 15 4 prefix Ljava/lang/String;
16 17 4 memberName Ljava/util/Optional<Ljava/lang/String;>;
Signature: (Ljavax/validation/ConstraintViolation<*>;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/lang/String;
MethodParameters:
Name Flags
v
invocable
public static java.util.Optional<java.lang.String> isRequestEntity(javax.validation.ConstraintViolation<?>, org.glassfish.jersey.server.model.Invocable);
descriptor: (Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/util/Optional;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
iconst_1
aconst_null
invokestatic com.google.common.collect.Iterables.get:(Ljava/lang/Iterable;ILjava/lang/Object;)Ljava/lang/Object;
checkcast javax.validation.Path$Node
astore 2
start local 2 1: aload 2
ifnonnull 3
2: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
3: StackMap locals: javax.validation.Path$Node
StackMap stack:
aload 1
invokevirtual org.glassfish.jersey.server.model.Invocable.getParameters:()Ljava/util/List;
astore 3
start local 3 4: aload 2
invokeinterface javax.validation.Path$Node.getKind:()Ljavax/validation/ElementKind;
getstatic javax.validation.ElementKind.PARAMETER:Ljavax/validation/ElementKind;
if_acmpne 8
5: aload 3
aload 2
ldc Ljavax/validation/Path$ParameterNode;
invokeinterface javax.validation.Path$Node.as:(Ljava/lang/Class;)Ljavax/validation/Path$Node;
checkcast javax.validation.Path$ParameterNode
invokeinterface javax.validation.Path$ParameterNode.getParameterIndex:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Parameter
astore 4
start local 4 6: aload 4
invokevirtual org.glassfish.jersey.server.model.Parameter.getSource:()Lorg/glassfish/jersey/server/model/Parameter$Source;
getstatic org.glassfish.jersey.server.model.Parameter$Source.UNKNOWN:Lorg/glassfish/jersey/server/model/Parameter$Source;
invokevirtual org.glassfish.jersey.server.model.Parameter$Source.equals:(Ljava/lang/Object;)Z
ifeq 8
7: bipush 46
invokestatic com.google.common.base.Joiner.on:(C)Lcom/google/common/base/Joiner;
aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
iconst_2
invokestatic com.google.common.collect.Iterables.skip:(Ljava/lang/Iterable;I)Ljava/lang/Iterable;
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 4 8: StackMap locals: java.util.List
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 violation Ljavax/validation/ConstraintViolation<*>;
0 9 1 invocable Lorg/glassfish/jersey/server/model/Invocable;
1 9 2 parent Ljavax/validation/Path$Node;
4 9 3 parameters Ljava/util/List<Lorg/glassfish/jersey/server/model/Parameter;>;
6 8 4 param Lorg/glassfish/jersey/server/model/Parameter;
Signature: (Ljavax/validation/ConstraintViolation<*>;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/util/Optional<Ljava/lang/String;>;
MethodParameters:
Name Flags
violation
invocable
private static java.util.Optional<java.lang.String> getMemberName(javax.validation.ConstraintViolation<?>, org.glassfish.jersey.server.model.Invocable);
descriptor: (Ljavax/validation/ConstraintViolation;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/util/Optional;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
invokestatic com.google.common.collect.Iterables.size:(Ljava/lang/Iterable;)I
istore 2
start local 2 1: iload 2
iconst_2
if_icmpge 3
2: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
3: StackMap locals: int
StackMap stack:
aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
iload 2
iconst_2
isub
invokestatic com.google.common.collect.Iterables.get:(Ljava/lang/Iterable;I)Ljava/lang/Object;
checkcast javax.validation.Path$Node
astore 3
start local 3 4: aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
invokestatic com.google.common.collect.Iterables.getLast:(Ljava/lang/Iterable;)Ljava/lang/Object;
checkcast javax.validation.Path$Node
astore 4
start local 4 5: invokestatic io.dropwizard.jersey.validation.ConstraintMessage.$SWITCH_TABLE$javax$validation$ElementKind:()[I
aload 3
invokeinterface javax.validation.Path$Node.getKind:()Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iaload
tableswitch { // 3 - 5
3: 11
4: 12
5: 6
default: 12
}
6: StackMap locals: javax.validation.Path$Node javax.validation.Path$Node
StackMap stack:
aload 1
invokevirtual org.glassfish.jersey.server.model.Invocable.getParameters:()Ljava/util/List;
astore 5
start local 5 7: aload 5
aload 3
ldc Ljavax/validation/Path$ParameterNode;
invokeinterface javax.validation.Path$Node.as:(Ljava/lang/Class;)Ljavax/validation/Path$Node;
checkcast javax.validation.Path$ParameterNode
invokeinterface javax.validation.Path$ParameterNode.getParameterIndex:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Parameter
astore 6
start local 6 8: aload 6
invokevirtual org.glassfish.jersey.server.model.Parameter.getSource:()Lorg/glassfish/jersey/server/model/Parameter$Source;
getstatic org.glassfish.jersey.server.model.Parameter$Source.BEAN_PARAM:Lorg/glassfish/jersey/server/model/Parameter$Source;
invokevirtual org.glassfish.jersey.server.model.Parameter$Source.equals:(Ljava/lang/Object;)Z
ifeq 12
9: aload 6
invokevirtual org.glassfish.jersey.server.model.Parameter.getRawType:()Ljava/lang/Class;
aload 4
invokeinterface javax.validation.Path$Node.getName:()Ljava/lang/String;
iconst_1
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 7
start local 7 10: aload 7
invokevirtual java.lang.reflect.Field.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic io.dropwizard.jersey.validation.JerseyParameterNameProvider.getParameterNameFromAnnotations:([Ljava/lang/annotation/Annotation;)Ljava/util/Optional;
areturn
end local 7 end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface javax.validation.Path$Node.getName:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
12: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 violation Ljavax/validation/ConstraintViolation<*>;
0 13 1 invocable Lorg/glassfish/jersey/server/model/Invocable;
1 13 2 size I
4 13 3 parent Ljavax/validation/Path$Node;
5 13 4 member Ljavax/validation/Path$Node;
7 11 5 parameters Ljava/util/List<Lorg/glassfish/jersey/server/model/Parameter;>;
8 11 6 param Lorg/glassfish/jersey/server/model/Parameter;
10 11 7 field Ljava/lang/reflect/Field;
Signature: (Ljavax/validation/ConstraintViolation<*>;Lorg/glassfish/jersey/server/model/Invocable;)Ljava/util/Optional<Ljava/lang/String;>;
MethodParameters:
Name Flags
violation
invocable
private static java.util.Optional<java.lang.String> getMethodReturnValueName(javax.validation.ConstraintViolation<?>);
descriptor: (Ljavax/validation/ConstraintViolation;)Ljava/util/Optional;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: iconst_m1
istore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "server response"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
invokeinterface javax.validation.Path.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: javax.validation.ConstraintViolation int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.Path$Node
astore 3
start local 3 4: aload 3
invokeinterface javax.validation.Path$Node.getKind:()Ljavax/validation/ElementKind;
getstatic javax.validation.ElementKind.RETURN_VALUE:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.equals:(Ljava/lang/Object;)Z
ifeq 7
5: iconst_0
istore 1
6: goto 11
StackMap locals: javax.validation.ConstraintViolation int java.lang.StringBuilder javax.validation.Path$Node java.util.Iterator
StackMap stack:
7: iload 1
iflt 11
8: aload 2
iload 1
iinc 1 1
ifne 9
ldc " "
goto 10
StackMap locals:
StackMap stack: java.lang.StringBuilder
9: ldc "."
StackMap locals: javax.validation.ConstraintViolation int java.lang.StringBuilder javax.validation.Path$Node java.util.Iterator
StackMap stack: java.lang.StringBuilder java.lang.String
10: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 3 11: StackMap locals: javax.validation.ConstraintViolation int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: iload 1
iflt 13
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 14
StackMap locals: javax.validation.ConstraintViolation int java.lang.StringBuilder
StackMap stack:
13: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
14: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 violation Ljavax/validation/ConstraintViolation<*>;
1 15 1 returnValueNames I
2 15 2 result Ljava/lang/StringBuilder;
4 11 3 node Ljavax/validation/Path$Node;
Signature: (Ljavax/validation/ConstraintViolation<*>;)Ljava/util/Optional<Ljava/lang/String;>;
MethodParameters:
Name Flags
violation
private static boolean isValidationMethod(javax.validation.ConstraintViolation<?>);
descriptor: (Ljavax/validation/ConstraintViolation;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface javax.validation.ConstraintViolation.getConstraintDescriptor:()Ljavax/validation/metadata/ConstraintDescriptor;
invokeinterface javax.validation.metadata.ConstraintDescriptor.getAnnotation:()Ljava/lang/annotation/Annotation;
instanceof io.dropwizard.validation.ValidationMethod
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Ljavax/validation/ConstraintViolation<*>;
Signature: (Ljavax/validation/ConstraintViolation<*>;)Z
MethodParameters:
Name Flags
v
public static <T extends javax.validation.ConstraintViolation<?>> int determineStatus(java.util.Set<T>, org.glassfish.jersey.server.model.Invocable);
descriptor: (Ljava/util/Set;Lorg/glassfish/jersey/server/model/Invocable;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.Set.size:()I
ifle 12
1: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.ConstraintViolation
astore 2
start local 2 2: aload 2
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
invokeinterface javax.validation.Path.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: java.util.Set org.glassfish.jersey.server.model.Invocable javax.validation.ConstraintViolation top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.Path$Node
astore 3
start local 3 4: invokestatic io.dropwizard.jersey.validation.ConstraintMessage.$SWITCH_TABLE$javax$validation$ElementKind:()[I
aload 3
invokeinterface javax.validation.Path$Node.getKind:()Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iaload
tableswitch { // 5 - 7
5: 6
6: 11
7: 5
default: 11
}
5: StackMap locals: java.util.Set org.glassfish.jersey.server.model.Invocable javax.validation.ConstraintViolation javax.validation.Path$Node java.util.Iterator
StackMap stack:
sipush 500
ireturn
6: StackMap locals:
StackMap stack:
aload 3
ldc Ljavax/validation/Path$ParameterNode;
invokeinterface javax.validation.Path$Node.as:(Ljava/lang/Class;)Ljavax/validation/Path$Node;
checkcast javax.validation.Path$ParameterNode
invokeinterface javax.validation.Path$ParameterNode.getParameterIndex:()I
istore 5
start local 5 7: aload 1
invokevirtual org.glassfish.jersey.server.model.Invocable.getParameters:()Ljava/util/List;
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Parameter
astore 6
start local 6 8: aload 6
invokevirtual org.glassfish.jersey.server.model.Parameter.getSource:()Lorg/glassfish/jersey/server/model/Parameter$Source;
getstatic org.glassfish.jersey.server.model.Parameter$Source.UNKNOWN:Lorg/glassfish/jersey/server/model/Parameter$Source;
invokevirtual org.glassfish.jersey.server.model.Parameter$Source.equals:(Ljava/lang/Object;)Z
ifeq 9
sipush 422
goto 10
StackMap locals: int org.glassfish.jersey.server.model.Parameter
StackMap stack:
9: sipush 400
StackMap locals:
StackMap stack: int
10: ireturn
end local 6 end local 5 end local 3 11: StackMap locals: java.util.Set org.glassfish.jersey.server.model.Invocable javax.validation.ConstraintViolation top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 12: StackMap locals: java.util.Set org.glassfish.jersey.server.model.Invocable
StackMap stack:
sipush 422
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 violations Ljava/util/Set<TT;>;
0 13 1 invocable Lorg/glassfish/jersey/server/model/Invocable;
2 12 2 violation Ljavax/validation/ConstraintViolation<*>;
4 11 3 node Ljavax/validation/Path$Node;
7 11 5 index I
8 11 6 parameter Lorg/glassfish/jersey/server/model/Parameter;
Signature: <T::Ljavax/validation/ConstraintViolation<*>;>(Ljava/util/Set<TT;>;Lorg/glassfish/jersey/server/model/Invocable;)I
MethodParameters:
Name Flags
violations
invocable
static int[] $SWITCH_TABLE$javax$validation$ElementKind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.dropwizard.jersey.validation.ConstraintMessage.$SWITCH_TABLE$javax$validation$ElementKind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.validation.ElementKind.values:()[Ljavax/validation/ElementKind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.validation.ElementKind.BEAN:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.validation.ElementKind.CONSTRUCTOR:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.validation.ElementKind.CROSS_PARAMETER:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.validation.ElementKind.METHOD:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javax.validation.ElementKind.PARAMETER:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic javax.validation.ElementKind.PROPERTY:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
iconst_2
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic javax.validation.ElementKind.RETURN_VALUE:Ljavax/validation/ElementKind;
invokevirtual javax.validation.ElementKind.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic io.dropwizard.jersey.validation.ConstraintMessage.$SWITCH_TABLE$javax$validation$ElementKind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
private static java.lang.String lambda$1(javax.validation.ConstraintViolation);
descriptor: (Ljavax/validation/ConstraintViolation;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ConstraintMessage.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Node = javax.validation.Path$Node of javax.validation.Path
public abstract ParameterNode = javax.validation.Path$ParameterNode of javax.validation.Path
public final Source = org.glassfish.jersey.server.model.Parameter$Source of org.glassfish.jersey.server.model.Parameter