org.hibernate.validation.util.ReflectionHelper.class Maven / Gradle / Ivy
???? 1u
?
? ?
? ?
?
?
I ? ?
? ?
? ?
? ?
? ? ? ?
? ? ? ? ? ? ? ? ? ?
I ?
I ?
? ? ?
?
?
?
? ? ?
? ?
% ? ?
?
?
? ? ?
? ?
0
g 3
g
g
3 ;
g 8
>
X = ?
I
P
I
N P R! T" V# X$ Z% \&'(
] ? >) >*
+
g,
-.
e ?/ ()V Code LineNumberTable LocalVariableTable this 0Lorg/hibernate/validation/util/ReflectionHelper; getAnnotationParameter X(Ljava/lang/annotation/Annotation;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; msg Ljava/lang/String; m Ljava/lang/reflect/Method; o Ljava/lang/Object; e !Ljava/lang/NoSuchMethodException; "Ljava/lang/IllegalAccessException; -Ljava/lang/reflect/InvocationTargetException;
annotation !Ljava/lang/annotation/Annotation;
parameterName type Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class; Signature d(Ljava/lang/annotation/Annotation;Ljava/lang/String;Ljava/lang/Class;)TT; getPropertyName .(Ljava/lang/reflect/Member;)Ljava/lang/String;
methodName member Ljava/lang/reflect/Member; name getType -(Ljava/lang/reflect/Member;)Ljava/lang/Class; Ljava/lang/Class<*>; 0(Ljava/lang/reflect/Member;)Ljava/lang/Class<*>; getAnnotations typeOf 4(Ljava/lang/reflect/Member;)Ljava/lang/reflect/Type; getValue @(Ljava/lang/reflect/Member;Ljava/lang/Object;)Ljava/lang/Object; method field Ljava/lang/reflect/Field; object value setAccessibility (Ljava/lang/reflect/Member;)V getIndexedType 2(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type; paramType %Ljava/lang/reflect/ParameterizedType; Ljava/lang/reflect/Type; indexedType
isIterable (Ljava/lang/reflect/Type;)Z upperBounds [Ljava/lang/reflect/Type; isMap isList getIndexedValue 9(Ljava/lang/Object;Ljava/lang/Integer;)Ljava/lang/Object; iter Ljava/util/Iterator; arrayList Ljava/util/List; index Ljava/lang/Integer; i I Ljava/util/Iterator<*>; Ljava/util/List<*>; getMappedValue 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; key map Ljava/util/Map; Ljava/util/Map<**>; getMethod ?(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method; string [C clazz B(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Method; boxedTyp +(Ljava/lang/reflect/Type;)Ljava/lang/Class;
primitiveType .(Ljava/lang/reflect/Type;)Ljava/lang/Class<*>; computeClassHierarchy $(Ljava/lang/Class;Ljava/util/List;)V currentInterface arr$ [Ljava/lang/Class; len$ i$ current classes &Ljava/util/List;>; =(Ljava/lang/Class<*>;Ljava/util/List;>;)V extendsOrImplements %(Ljava/lang/Class;Ljava/lang/Class;)Z superClassOrInterface +(Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
SourceFile ReflectionHelper.java h i01 java/lang/Class ?2 java/lang/Object345678 java/lang/StringBuilder Wrong parameter type. Expected: 9: Actual: ;6 $javax/validation/ValidationException h< java/lang/NoSuchMethodException /The specified annotation defines no parameter ' '. h= java/lang/IllegalAccessException Unable to get ' ' from +java/lang/reflect/InvocationTargetException java/lang/reflect/Field> java/lang/reflect/Method is?@ABCDE get ?1F1GHIH "java/lang/IllegalArgumentException Member 9J is neither a field nor a method Unable to access ?KLMNOP "java/lang/reflect/AccessibleObjectQR ? ? #java/lang/reflect/ParameterizedTypeST ? ?UV ?W ? java/lang/Iterable ? ?XH java/lang/reflect/WildcardTypeYT
java/util/Map java/util/List ? ?Z[\]^_`abcdMefgh java/lang/String hija has to be a primitive typek java/lang/Boolean java/lang/Character java/lang/Double java/lang/Float java/lang/Long java/lang/Integer java/lang/Short java/lang/Byte java/lang/RuntimeException Unhandled primitive type.l8m8no ? ?p1 java/util/ArrayList .org/hibernate/validation/util/ReflectionHelper getClass ()Ljava/lang/Class; @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getName ()Ljava/lang/String; equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V *(Ljava/lang/String;Ljava/lang/Throwable;)V java/lang/reflect/Member
startsWith (Ljava/lang/String;)Z substring (I)Ljava/lang/String; java/beans/Introspector decapitalize &(Ljava/lang/String;)Ljava/lang/String;
getReturnType getGenericType ()Ljava/lang/reflect/Type; getGenericReturnType -(Ljava/lang/Object;)Ljava/lang/StringBuilder; &(Ljava/lang/Object;)Ljava/lang/Object; getModifiers ()I java/lang/reflect/Modifier isPublic (I)Z
setAccessible (Z)V getActualTypeArguments ()[Ljava/lang/reflect/Type; com/googlecode/jtype/TypeUtils isArray getComponentType
getRawType getUpperBounds iterator ()Ljava/util/Iterator; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; intValue toCharArray ()[C toUpperCase (C)C ([C)V isPrimitive TYPE contains add
getInterfaces ()[Ljava/lang/Class;
getSuperclass (org/hibernate/validation/jtype/TypeUtilsq
r
r ! g h i j 3 *? ? l m n k
2 3 o p j ? ?*? +? ? N-*? ? :? ? ,? ? ? ?? Y?
? ,? ?
? ? ? ? ? :? Y? ?N? Y?
? +? ? ? :? Y-? ?N? Y?
? +? ? *? ? ? ? :? Y-? ?N? Y?
? +? ? *? ? ? ? :? Y-? ? , _ - _ _ , ? - _ ? , ? - _ ? l z U
q r
R s t G u v z q r ` % w x ? q r ? / w y ? q r ? / w z ? { | ? } r ? ~ ? ? ~ ? k > 9
: ; * <