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> java.util.Collection<java.lang.String> format(java.util.Set<javax.validation.ConstraintViolation<T>>);
descriptor: (Ljava/util/Set;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<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.SortedSet 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.SortedSet.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: aload 1
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/SortedSet<Ljava/lang/String;>;
3 4 2 v Ljavax/validation/ConstraintViolation<*>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
violations
public static java.util.Collection<java.lang.String> formatUntyped(java.util.Set<javax.validation.ConstraintViolation<?>>);
descriptor: (Ljava/util/Set;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<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.SortedSet 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.SortedSet.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: aload 1
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/SortedSet<Ljava/lang/String;>;
3 4 2 v Ljavax/validation/ConstraintViolation<*>;
Signature: (Ljava/util/Set<Ljavax/validation/ConstraintViolation<*>;>;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
violations
public static <T> java.util.Set<javax.validation.ConstraintViolation<?>> copyOf(java.util.Set<javax.validation.ConstraintViolation<T>>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 violations Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<Ljavax/validation/ConstraintViolation<TT;>;>;)Ljava/util/Set<Ljavax/validation/ConstraintViolation<*>;>;
MethodParameters:
Name Flags
violations
}
SourceFile: "ConstraintViolations.java"