io.atlasmap.java.module.JavaValidationService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4
e ? ? ?
? ? a ?
a ?
e ? ?
a ?
?
a ? ? ? ? ?
? ? ? a ? ? ? ? ? ? ? a ? ?
5 ? ? ? ? ? ? ? ? ? ? ? ?
$ ?
$ ? ? ? ? ? ? ( ? ? ?
$ ? ( ?
a ?
$ ?
? ?
a ?
5 ? ?
? ? ? ?
6 ?
6 ?
6 ? ?
?
6 ?
6
;
?
D ?
?
D
D
a
M
R
R???? ??
R
5 !"#$
a%
a&'
()*
c ?+ LOG Lorg/slf4j/Logger; validatorMap Ljava/util/Map; Signature CLjava/util/Map;
versionMap 6Ljava/util/Map; moduleDetail #Lio/atlasmap/spi/AtlasModuleDetail; ()V Code LineNumberTable LocalVariableTable this /Lio/atlasmap/java/module/JavaValidationService; T(Lio/atlasmap/spi/AtlasConversionService;Lio/atlasmap/spi/AtlasFieldActionService;)V conversionService (Lio/atlasmap/spi/AtlasConversionService; fieldActionService )Lio/atlasmap/spi/AtlasFieldActionService; init javaFilePathNonNullValidator )Lio/atlasmap/validators/NonNullValidator; inputFieldTypeNonNullValidator outputFieldTypeNonNullValidator fieldTypeNonNullValidator destroy getModuleDetail %()Lio/atlasmap/spi/AtlasModuleDetail; getFieldType ()Ljava/lang/Class; 4()Ljava/lang/Class; getModuleFieldName 3(Lio/atlasmap/java/v2/JavaField;)Ljava/lang/String; field Lio/atlasmap/java/v2/JavaField;
StackMapTable, validateSourceAndTargetTypes Q(Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Ljava/util/List;)V mappingId Ljava/lang/String;
inputField Lio/atlasmap/v2/Field; outField validations Ljava/util/List; LocalVariableTypeTable -Ljava/util/List; n(Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Ljava/util/List;)V validateModuleField d(Ljava/lang/String;Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/spi/FieldDirection;Ljava/util/List;)V direction Lio/atlasmap/spi/FieldDirection; ?(Ljava/lang/String;Lio/atlasmap/java/v2/JavaField;Lio/atlasmap/spi/FieldDirection;Ljava/util/List;)V
validateClass D(Ljava/lang/String;Lio/atlasmap/java/v2/JavaField;Ljava/util/List;)V
validation Lio/atlasmap/v2/Validation; major Ljava/lang/Integer; clazzName ? a(Ljava/lang/String;Lio/atlasmap/java/v2/JavaField;Ljava/util/List;)V detectClassVersion '(Ljava/lang/String;)Ljava/lang/Integer; ie Ljava/io/IOException; data Ljava/io/DataInputStream; magic I minor e className in Ljava/io/InputStream;'-. *(Lio/atlasmap/v2/Field;)Ljava/lang/String; [(Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/spi/FieldDirection;Ljava/util/List;)V XLio/atlasmap/core/validate/BaseModuleValidationService;
SourceFile JavaValidationService.java p q "io/atlasmap/java/module/JavaModule !io/atlasmap/spi/AtlasModuleDetail/01 n o | q p w 5io/atlasmap/java/module/JavaMappingFieldPairValidator23 p456 'io/atlasmap/validators/NonNullValidator789 %Field path must not be null nor empty p: &FieldType should not be null nor empty 'Filed type should not be null nor empty h i java.field.type.not.null;<= java.field.path.not.null input.field.type.not.null output.field.type.not.null l i 1.9>? 1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1@ q io/atlasmap/java/v2/JavaFieldABCBDE io/atlasmap/spi/AtlasValidatorFGHIJKL ? ?MIN ? ?OB,PQ ? ?RS java.vm.specification.versionTUV java/lang/Integer io/atlasmap/v2/ValidationWXYZ TClass '%s' for field is compiled against unsupported JDK version: %d current JDK: %d java/lang/Object[\]Z^H_`abc 2Class '%s' for field is not found on the classpathd ?ef java/lang/StringBuilderghij .classkBlmnon-p q java/io/IOException f g "Error closing input stream msg: %sqBrst java/io/DataInputStream puvS &Invalid Java class: %s magic value: %ssZwx pyzQ .Detected class: %s version major: %s minor: %s{Z ,Error detected version for class: %s msg: %s ? ? ? ? -io/atlasmap/java/module/JavaValidationService|}~ java/util/HashMap 5io/atlasmap/core/validate/BaseModuleValidationService java/lang/String java/io/InputStream java/lang/Throwable java/lang/Class
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; getConversionService *()Lio/atlasmap/spi/AtlasConversionService; Z(Lio/atlasmap/java/module/JavaValidationService;Lio/atlasmap/spi/AtlasConversionService;)V setMappingFieldPairValidator 8(Lio/atlasmap/core/validate/MappingFieldPairValidator;)V io/atlasmap/v2/ValidationScope MAPPING Lio/atlasmap/v2/ValidationScope; 5(Lio/atlasmap/v2/ValidationScope;Ljava/lang/String;)V
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; valueOf (I)Ljava/lang/Integer; clear getName ()Ljava/lang/String; getPath get &(Ljava/lang/Object;)Ljava/lang/Object; io/atlasmap/v2/ValidationStatus WARN !Lio/atlasmap/v2/ValidationStatus; validate X(Ljava/lang/Object;Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/ValidationStatus;)V io/atlasmap/spi/FieldDirection SOURCE ()Lio/atlasmap/v2/FieldType; 7(Ljava/lang/Object;Ljava/util/List;Ljava/lang/String;)V getClassName isEmpty ()Z intValue ()I java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; setScope #(Lio/atlasmap/v2/ValidationScope;)V setId (Ljava/lang/String;)V format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
setMessage ERROR setStatus $(Lio/atlasmap/v2/ValidationStatus;)V java/util/List add (Ljava/lang/Object;)Z getClass getClassLoader ()Ljava/lang/ClassLoader; replace (CC)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString java/lang/ClassLoader getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; getSystemResourceAsStream close
getMessage org/slf4j/Logger error *(Ljava/lang/String;Ljava/lang/Throwable;)V (Ljava/io/InputStream;)V readInt readShort ()S (I)V isDebugEnabled debug org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! a e f g
h i j k
l i j m n o p q r M *? *? ? ? *? ? s 1 . 2 3 t u v p w r c *+,? *? ? ? *? ? s 6 . 7 8 t u v x y z { | q r ? *? Y**? ?
? ? Y?
? L? Y?
? M? Y?
? N? Y?
? :? ? W? +? W? ,? W? -? W? 5? ? W? 4? ? W? 3? ? W? 2? ? W? 1? ? W? 0? ? W? /? ? W? !.? ? W? "-? ? W? s N ; <