public class io.dropwizard.validation.ConstraintViolations
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.validation.ConstraintViolations
super_class: java.lang.Object
{
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/validation/ConstraintViolations;
public static <T> java.lang.String format(javax.validation.ConstraintViolation<T>);
descriptor: (Ljavax/validation/ConstraintViolation;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, 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
ifeq 2
1: aload 0
invokeinterface javax.validation.ConstraintViolation.getMessage:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "%s %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokeinterface javax.validation.ConstraintViolation.getPropertyPath:()Ljavax/validation/Path;
aastore
dup
iconst_1
aload 0
invokeinterface javax.validation.ConstraintViolation.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v Ljavax/validation/ConstraintViolation<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljavax/validation/ConstraintViolation<TT;>;)Ljava/lang/String;
MethodParameters:
Name Flags
v
public static <T> com.google.common.collect.ImmutableList<java.lang.String> format(java.util.Set<javax.validation.ConstraintViolation<T>>);
descriptor: (Ljava/util/Set;)Lcom/google/common/collect/ImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, 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
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.ConstraintViolation
astore 2
start local 2 3: aload 1
aload 2
invokestatic io.dropwizard.validation.ConstraintViolations.format:(Ljavax/validation/ConstraintViolation;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: invokestatic com.google.common.collect.Ordering.natural:()Lcom/google/common/collect/Ordering;
aload 1
invokevirtual com.google.common.collect.Ordering.sortedCopy:(Ljava/lang/Iterable;)Ljava/util/List;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 violations Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;
1 6 1 errors Ljava/util/Set<Ljava/lang/String;>;
3 4 2 v Ljavax/validation/ConstraintViolation<*>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;)Lcom/google/common/collect/ImmutableList<Ljava/lang/String;>;
MethodParameters:
Name Flags
violations
public static com.google.common.collect.ImmutableList<java.lang.String> formatUntyped(java.util.Set<javax.validation.ConstraintViolation<?>>);
descriptor: (Ljava/util/Set;)Lcom/google/common/collect/ImmutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, 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
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.ConstraintViolation
astore 2
start local 2 3: aload 1
aload 2
invokestatic io.dropwizard.validation.ConstraintViolations.format:(Ljavax/validation/ConstraintViolation;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: invokestatic com.google.common.collect.Ordering.natural:()Lcom/google/common/collect/Ordering;
aload 1
invokevirtual com.google.common.collect.Ordering.sortedCopy:(Ljava/lang/Iterable;)Ljava/util/List;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 violations Ljava/util/Set<Ljavax/validation/ConstraintViolation<*>;>;
1 6 1 errors Ljava/util/Set<Ljava/lang/String;>;
3 4 2 v Ljavax/validation/ConstraintViolation<*>;
Signature: (Ljava/util/Set<Ljavax/validation/ConstraintViolation<*>;>;)Lcom/google/common/collect/ImmutableList<Ljava/lang/String;>;
MethodParameters:
Name Flags
violations
public static <T> com.google.common.collect.ImmutableSet<javax.validation.ConstraintViolation<?>> copyOf(java.util.Set<javax.validation.ConstraintViolation<T>>);
descriptor: (Ljava/util/Set;)Lcom/google/common/collect/ImmutableSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic com.google.common.collect.ImmutableSet.builder:()Lcom/google/common/collect/ImmutableSet$Builder;
astore 1
start local 1 1: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.Set com.google.common.collect.ImmutableSet$Builder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.validation.ConstraintViolation
astore 2
start local 2 3: aload 1
aload 2
invokevirtual com.google.common.collect.ImmutableSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual com.google.common.collect.ImmutableSet$Builder.build:()Lcom/google/common/collect/ImmutableSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 violations Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;
1 6 1 builder Lcom/google/common/collect/ImmutableSet$Builder<Ljavax/validation/ConstraintViolation<*>;>;
3 4 2 violation Ljavax/validation/ConstraintViolation<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;)Lcom/google/common/collect/ImmutableSet<Ljavax/validation/ConstraintViolation<*>;>;
MethodParameters:
Name Flags
violations
}
SourceFile: "ConstraintViolations.java"
InnerClasses:
public Builder = com.google.common.collect.ImmutableSet$Builder of com.google.common.collect.ImmutableSet