io.atlasmap.java.module.JavaMappingFieldPairValidator.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4 ?
- e , f , g h
i j k l
m
, n
- o
j p q
r s t
u v w
x
y z {
| }
~ ?
? ? ?
r ? ?
?
? ?
? ? ? ? ? ? ? ? ? ? ?
r ? ?
? ?
, ? % ?
k ? % ?
? ? ? ? service /Lio/atlasmap/java/module/JavaValidationService; conversionService (Lio/atlasmap/spi/AtlasConversionService; Z(Lio/atlasmap/java/module/JavaValidationService;Lio/atlasmap/spi/AtlasConversionService;)V Code LineNumberTable LocalVariableTable this 7Lio/atlasmap/java/module/JavaMappingFieldPairValidator;
conversion doValidateFieldTypes k(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/FieldType;)V validations Ljava/util/List; mappingId Ljava/lang/String; sourceField Lio/atlasmap/v2/Field; targetField sourceFieldType Lio/atlasmap/v2/FieldType; LocalVariableTypeTable -Ljava/util/List;
StackMapTable Signature ?(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/FieldType;)V validateClassConversion c(Ljava/lang/String;Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/java/v2/JavaField;Ljava/util/List;)V
validation Lio/atlasmap/v2/Validation; conversionInfo %Lio/atlasmap/spi/AtlasConversionInfo; methods [Ljava/lang/reflect/Method;
inputField Lio/atlasmap/java/v2/JavaField; outField atlasConverter Ljava/util/Optional; 9Ljava/util/Optional;>; ? ?(Ljava/lang/String;Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/java/v2/JavaField;Ljava/util/List;)V lambda$validateClassConversion$2 f(Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/spi/AtlasConversionInfo;)Z atlasConversionInfo lambda$validateClassConversion$1 ((Lio/atlasmap/spi/AtlasConversionInfo;)Z lambda$validateClassConversion$0 A(Ljava/lang/reflect/Method;)Lio/atlasmap/spi/AtlasConversionInfo; method Ljava/lang/reflect/Method;
SourceFile "JavaMappingFieldPairValidator.java 2 ? . / 0 1 io/atlasmap/java/v2/JavaField ? ? ? ? ? D ? ? J K : ; ? ? ? ? ? ? io/atlasmap/v2/Validation 2 ? ? ? ? ? ? ? ? FConversion from '%s' to '%s' is required but no converter is available java/lang/Object ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? io/atlasmap/spi/AtlasConverter ? ? ? ? ? ? ? ? BootstrapMethods ? ? ? ` ? ? ? ? ? ? ? ^ ? ? ? ? ? ? ? ? ? ? ? #io/atlasmap/spi/AtlasConversionInfo ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5io/atlasmap/java/module/JavaMappingFieldPairValidator 3io/atlasmap/core/validate/MappingFieldPairValidator java/util/Optional :(Lio/atlasmap/core/validate/BaseModuleValidationService;)V io/atlasmap/v2/Field getFieldType ()Lio/atlasmap/v2/FieldType; io/atlasmap/v2/FieldType COMPLEX getClassName ()Ljava/lang/String; &io/atlasmap/spi/AtlasConversionService findMatchingConverter :(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional; isPresent ()Z ()V io/atlasmap/v2/ValidationScope MAPPING Lio/atlasmap/v2/ValidationScope; setScope #(Lio/atlasmap/v2/ValidationScope;)V setId (Ljava/lang/String;)V java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
setMessage io/atlasmap/v2/ValidationStatus ERROR !Lio/atlasmap/v2/ValidationStatus; setStatus $(Lio/atlasmap/v2/ValidationStatus;)V java/util/List add (Ljava/lang/Object;)Z get ()Ljava/lang/Object; getClass ()Ljava/lang/Class; java/lang/Class
getMethods ()[Ljava/lang/reflect/Method; java/util/Arrays stream .([Ljava/lang/Object;)Ljava/util/stream/Stream;
? ? &(Ljava/lang/Object;)Ljava/lang/Object;
, ? apply ()Ljava/util/function/Function; java/util/stream/Stream map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream;
, ? test ()Ljava/util/function/Predicate; filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
, ? ^(Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/java/v2/JavaField;)Ljava/util/function/Predicate; findFirst ()Ljava/util/Optional; orElse -io/atlasmap/java/module/JavaValidationService getModuleFieldName 3(Lio/atlasmap/java/v2/JavaField;)Ljava/lang/String; populateConversionConcerns n(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/spi/AtlasConversionInfo;Ljava/lang/String;Ljava/lang/String;)V
sourceType compareTo (Ljava/lang/Enum;)I
targetType java/lang/reflect/Method
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; ? ? ? _ ` ] ^ Z [ "java/lang/invoke/LambdaMetafactory metafactory ? Lookup InnerClasses ?(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; ? %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! , - . / 0 1 2 3 4 Z *+? *+? *,? ? 5 ( )
* + 6 7 8 . / 9 1 : ; 4 l-? ? P? ? H? ? ? ? ? ? ? ? (-? ? ? ? ? ? *,-? ? +? ?-? ? ? *+,-? ? 5 &