org.hibernate.validation.metadata.ConstraintHelper.class Maven / Gradle / Ivy
???? 1?
Q ? ?
? ? ? ? ? ?
? ? 6 ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
6
9 ?
9
9!
9"
8#
$ 6%&'&()
*
Q+,
-.
/0
123
-4
K5
D6
D7
D89
K: ?
?;<=
?>?@A
DB
?C
?D
?E
?F
GH ?
GI
KJK
xLMN
f#O
DJPQ
KR ?STUVWXYZ[\]
^_
^`abcd
}#
ef builtinConstraints (Ljava/util/concurrent/ConcurrentHashMap; Signature ?Ljava/util/concurrent/ConcurrentHashMap;Ljava/util/List;>;>;>; constraintValidatorDefinitons ?Ljava/util/concurrent/ConcurrentHashMap;Ljava/util/List;>;>;>; ()V Code LineNumberTable LocalVariableTable this 4Lorg/hibernate/validation/metadata/ConstraintHelper; constraintList Ljava/util/List; LocalVariableTypeTable PLjava/util/List;>;>; getBuiltInConstraints #(Ljava/lang/Class;)Ljava/util/List; safeValdiatorClass Ljava/lang/Class; validatorClass i$ Ljava/util/Iterator; annotationClass builtInList constraints ^Ljava/lang/Class;>; >Ljava/lang/Class<+Ljavax/validation/ConstraintValidator<**>;>; 5Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>; qLjava/util/List;>;>; ?(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Ljava/util/List;>;>; isBuiltinConstraint (Ljava/lang/Class;)Z annotationType 8(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Z isMultiValueConstraint $(Ljava/lang/annotation/Annotation;)Z method Ljava/lang/reflect/Method; a !Ljava/lang/annotation/Annotation; arr$ "[Ljava/lang/annotation/Annotation; len$ I annotations
returnType getMethod )Lorg/hibernate/validation/util/GetMethod; iae "Ljava/lang/IllegalAccessException; ite -Ljava/lang/reflect/InvocationTargetException;
annotation Z getMultiValueConstraints 3(Ljava/lang/annotation/Annotation;)Ljava/util/List; annotationList TA; 3Ljava/util/List; ^(TA;)Ljava/util/List; isConstraintAnnotation
constraint Ljavax/validation/Constraint; assertNoParameterStartsWithValid $(Ljava/lang/annotation/Annotation;)V methods [Ljava/lang/reflect/Method; msg Ljava/lang/String; m
getMethods *Lorg/hibernate/validation/util/GetMethods; assertPayloadParameterExists defaultPayload [Ljava/lang/Class; e Ljava/lang/ClassCastException; [Ljava/lang/Class<*>; assertGroupsParameterExists
defaultGroups assertMessageParameterExists action 6Lorg/hibernate/validation/util/GetAnnotationParameter; Ljava/lang/Exception; 9Lorg/hibernate/validation/util/GetAnnotationParameter<*>; getConstraintValidatorDefinition list constraintsValidators ?Ljava/lang/Class;>; Ljava/lang/Class; RLjava/util/List;>;>; ?(Ljava/lang/Class;)Ljava/util/List;>;>; addConstraintValidatorDefinition $(Ljava/lang/Class;Ljava/util/List;)V definitionClasses Ljava/lang/Class; ?(Ljava/lang/Class;Ljava/util/List;>;>;)V %containsConstraintValidatorDefinition
SourceFile ConstraintHelper.java ? ? &java/util/concurrent/ConcurrentHashMap ? ? ? ? java/util/ArrayList >org/hibernate/validation/constraints/impl/AssertFalseValidatorgh (javax/validation/constraints/AssertFalseij =org/hibernate/validation/constraints/impl/AssertTrueValidator 'javax/validation/constraints/AssertTrue Forg/hibernate/validation/constraints/impl/DecimalMaxValidatorForNumber Forg/hibernate/validation/constraints/impl/DecimalMaxValidatorForString 'javax/validation/constraints/DecimalMax Forg/hibernate/validation/constraints/impl/DecimalMinValidatorForNumber Forg/hibernate/validation/constraints/impl/DecimalMinValidatorForString 'javax/validation/constraints/DecimalMin Borg/hibernate/validation/constraints/impl/DigitsValidatorForString Borg/hibernate/validation/constraints/impl/DigitsValidatorForNumber #javax/validation/constraints/Digits Dorg/hibernate/validation/constraints/impl/FutureValidatorForCalendar @org/hibernate/validation/constraints/impl/FutureValidatorForDate #javax/validation/constraints/Future ?org/hibernate/validation/constraints/impl/MaxValidatorForNumber ?org/hibernate/validation/constraints/impl/MaxValidatorForString javax/validation/constraints/Max ?org/hibernate/validation/constraints/impl/MinValidatorForNumber ?org/hibernate/validation/constraints/impl/MinValidatorForString javax/validation/constraints/Min :org/hibernate/validation/constraints/impl/NotNullValidator $javax/validation/constraints/NotNull 7org/hibernate/validation/constraints/impl/NullValidator !javax/validation/constraints/Null Borg/hibernate/validation/constraints/impl/PastValidatorForCalendar >org/hibernate/validation/constraints/impl/PastValidatorForDate !javax/validation/constraints/Past :org/hibernate/validation/constraints/impl/PatternValidator $javax/validation/constraints/Pattern @org/hibernate/validation/constraints/impl/SizeValidatorForString Dorg/hibernate/validation/constraints/impl/SizeValidatorForCollection ?org/hibernate/validation/constraints/impl/SizeValidatorForArray =org/hibernate/validation/constraints/impl/SizeValidatorForMap Iorg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfBoolean Forg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfByte Forg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfChar Horg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfDouble Gorg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfFloat Eorg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfInt Forg/hibernate/validation/constraints/impl/SizeValidatorForArraysOfLong !javax/validation/constraints/Sizekl java/util/Listmn $javax/validation/ValidationException java/lang/StringBuilder Unable to find constraints for opoqrs ?t ?uvwxyz{| java/lang/Class}h~ value? ???????? java/lang/reflect/Method????z??z java/lang/Object?? ? ?? ? ? ? java/lang/IllegalAccessException +java/lang/reflect/InvocationTargetException javax/validation/Constraint?? ? ? ? ? ? ? ? ?? ?????s valid?? AParameters starting with 'valid' are not allowed in a constraint. .javax/validation/ConstraintDefinitionException payload * contains Constraint annotation, but does not contain a payload parameter.?| 1 contains Constraint annotation, but the payload .paramter default value is not the empty array. java/lang/ClassCastException ) contains Constraint annotation, but the #payload parameter is of wrong type. groups not contain a groups parameter. 0 contains Constraint annotation, but the groups "groups parameter is of wrong type. message java/lang/String? ???| java/lang/Exception not contain a message parameter. "java/lang/IllegalArgumentException Class cannot be null?j 2org/hibernate/validation/metadata/ConstraintHelper add (Ljava/lang/Object;)Z put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; get &(Ljava/lang/Object;)Ljava/lang/Object; size ()I append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V (I)V iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; containsKey getClass ()Ljava/lang/Class; 'org/hibernate/validation/util/GetMethod N(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/validation/util/GetMethod; java/lang/System getSecurityManager ()Ljava/lang/SecurityManager; java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; run ()Ljava/lang/reflect/Method;
getReturnType isArray getComponentType isAnnotation invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java/lang/annotation/Annotation
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; (org/hibernate/validation/util/GetMethods =(Ljava/lang/Class;)Lorg/hibernate/validation/util/GetMethods; ()[Ljava/lang/reflect/Method; getName
startsWith (Ljava/lang/String;)Z getDefaultValue 4org/hibernate/validation/util/GetAnnotationParameter |(Ljava/lang/annotation/Annotation;Ljava/lang/String;Ljava/lang/Class;)Lorg/hibernate/validation/util/GetAnnotationParameter; putIfAbsent ! ? Q ? ? ? ? ? ? ? ?
? ? ? R *? *? Y? ? *? Y? ? ? Y? L+? W*?
+? W? Y? L+? W*?
+? W? Y? L+? W+? W*? +? W? Y? L+? W+? W*? +? W? Y? L+? W+? W*? +? W? Y? L+? W+? W*? +? W? Y? L+? W+? W*? +? W? Y? L+? W+? W*? +? W? Y? L+ ? W*? !+? W? Y? L+"? W*? #+? W? Y? L+$? W+%? W*? &+? W? Y? L+'? W*? (+? W? Y? L+)? W+*? W++? W+,? W+-? W+.? W+/? W+0? W+1? W+2? W+3? W*? 4+? W? ? ? ? "? ? ? ? "? ? ? ? ? <