io.atlasmap.core.DefaultAtlasConversionService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
-m n o pq
m
r s
t
uv
w
xyz
{|}|~
?
x?
?
-?
u??
????
m ?
?? ?|?
?? ????
#m?
#?
#???
u?
???
<???
u?
??
.?????????
5?
5?
5?
??
5??
5?
??
?|???????
u? J?
u?
<??
J?
J? N??
N?
N? R??
R?
R? V??
V?
V? Z??
Z?
Z? ^??
^?
^? b??
b?
b? f??
f?
f???
i?
?
??
u?
?
?
?
?
?
5?????
i???
u?
??? ? ?
?
<? ??
<????????
? ?! ?" ?# ?$ ?% ?& ?' ?( ?) ?* ?+ ?, ?- ?. ?/ ?0 ?1 ?2 ?3
?456789:;<=
<>
w? J?
?? J@
A
BCD
??
?EFGH InnerClasses ConverterMethodHolder ConverterKey LOG Lorg/slf4j/Logger; PRIMITIVE_CLASSNAMES Ljava/util/Set; Signature #Ljava/util/Set; PRIMITIVE_FIELDTYPES +Ljava/util/Set; BOXED_PRIMITIVE_CLASSNAMES instance 0Lio/atlasmap/core/DefaultAtlasConversionService; converterMethods Ljava/util/Map; ?Ljava/util/Map; customConverterMethods ()V Code LineNumberTable LocalVariableTable this getInstance 2()Lio/atlasmap/core/DefaultAtlasConversionService;
StackMapTable?I listPrimitiveClassNames ()Ljava/util/Set; %()Ljava/util/Set; findMatchingConverter J(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/util/Optional; source Lio/atlasmap/v2/FieldType; target sourceClass Ljava/lang/Class; targetClass LocalVariableTypeTable Ljava/lang/Class<*>;J o(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/util/Optional;>; :(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional; sourceClassName Ljava/lang/String; targetClassName converterKey =Lio/atlasmap/core/DefaultAtlasConversionService$ConverterKey;z _(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;>; init loadConverters classLoader Ljava/lang/ClassLoader; converterServiceLoader Ljava/util/ServiceLoader; compat methodsLoadMap customMethodsLoadMap ;Ljava/util/ServiceLoader; ;Ljava/util/ServiceLoader;qKLM loadConverterMethod A(Lio/atlasmap/spi/AtlasConverter;Ljava/util/Map;Ljava/util/Map;)V
coordinate containsFormat Z staticMethod methodHolder FLio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolder; method Ljava/lang/reflect/Method;
allMethods Ljava/util/List; atlasConverter Lio/atlasmap/spi/AtlasConverter; inbuiltConverter klass ,Ljava/util/List; #Lio/atlasmap/spi/AtlasConverter<*>;NO???N(Lio/atlasmap/spi/AtlasConverter<*>;Ljava/util/Map;Ljava/util/Map;)V
copyPrimitive &(Ljava/lang/Object;)Ljava/lang/Object; sourceValue Ljava/lang/Object; clazz convertType Z(Ljava/lang/Object;Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/lang/Object; origSourceType
targetType
Exceptions d(Ljava/lang/Object;Ljava/lang/String;Lio/atlasmap/v2/FieldType;Ljava/lang/String;)Ljava/lang/Object; sourceFormat targetFormat [(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; e Ljava/lang/Exception;P ^(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Object; isConvertionAvailableFor &(Ljava/lang/Object;Ljava/lang/Class;)Z )(Ljava/lang/Object;Ljava/lang/Class<*>;)Z getConverter k(Ljava/lang/Object;Ljava/lang/Class;)Lio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolder; boxedSourceClass boxedTargetClass n(Ljava/lang/Object;Ljava/lang/Class<*>;)Lio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolder; isPrimitive '(Ljava/lang/String;)Ljava/lang/Boolean; className &(Ljava/lang/Class;)Ljava/lang/Boolean; )(Ljava/lang/Class<*>;)Ljava/lang/Boolean; /(Lio/atlasmap/v2/FieldType;)Ljava/lang/Boolean; fieldType isBoxedPrimitive boxOrUnboxPrimitive %(Ljava/lang/String;)Ljava/lang/Class; clazzName ((Ljava/lang/String;)Ljava/lang/Class<*>; $(Ljava/lang/Class;)Ljava/lang/Class; *(Ljava/lang/Class<*>;)Ljava/lang/Class<*>; fieldTypeFromClass -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType; 0(Ljava/lang/Class<*>;)Lio/atlasmap/v2/FieldType; .(Ljava/lang/String;)Lio/atlasmap/v2/FieldType; classFromFieldType -(Lio/atlasmap/v2/FieldType;)Ljava/lang/Class; 0(Lio/atlasmap/v2/FieldType;)Ljava/lang/Class<*>; isAssignableFieldType I(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/lang/Boolean; lambda$loadConverters$1 A(Ljava/util/Map;Ljava/util/Map;Lio/atlasmap/api/AtlasConverter;)V Lio/atlasmap/api/AtlasConverter; lambda$loadConverters$0 A(Ljava/util/Map;Ljava/util/Map;Lio/atlasmap/spi/AtlasConverter;)V
SourceFile "DefaultAtlasConversionService.java ? ? ? ? ? ? ? ? .io/atlasmap/core/DefaultAtlasConversionService ? ? ?`aJQR ?STU ;io/atlasmap/core/DefaultAtlasConversionService$ConverterKey ?VMWXY5 Dio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolderIZ[\
?]^_` io/atlasmap/spi/AtlasConverterLab io/atlasmap/api/AtlasConverter java/util/LinkedHashMap BootstrapMethodscdefghijklmnopq ? ?rsn java/lang/StringBuilder Loading converter : tuvRwxyz{|R io.atlasmap}~ java/lang/Object java/util/ArrayList???? ??N??O?n?? java/lang/reflect/Method #io/atlasmap/spi/AtlasConversionInfo?????n??^?^ java/lang/String????? ???? Converter between and aleady exists.?x Custom converter between ?^? ??X java/lang/Boolean?n?? java/lang/Byte???? java/lang/Character???? java/lang/Double???? java/lang/Float???? java/lang/Integer???? java/lang/Long???? java/lang/Short???? (io/atlasmap/api/AtlasConversionException 3FieldTypes must be specified on convertType method. ?xcd9A BAutoConversion requires sourceValue and targetType to be specified?XIJ?????????? java/lang/IllegalAccessException "java/lang/IllegalArgumentException +java/lang/reflect/InvocationTargetException Invoking type convertor failed ?? (Type Conversion is not supported for sT= tT=NnVZ??X ? ? ? ?\_? ??? java.lang.Object java.math.BigInteger boolean java.lang.Boolean byte java.lang.Byte [B [Ljava.lang.Byte char java.lang.Character java.math.BigDecimal double java.lang.Double float java.lang.Float int java.lang.Integer )java.util.concurrent.atomic.AtomicInteger long java.lang.Long &java.util.concurrent.atomic.AtomicLong java.lang.Number short java.lang.Short java.lang.String
java.sql.Date java.time.LocalDate java.time.Month java.time.MonthDay java.time.Year java.time.YearMonth
java.sql.Time java.time.LocalTime java.sql.Timestamp java.time.LocalDateTime java.util.Date java.time.ZonedDateTime java.util.Calendar java.util.GregorianCalendar? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ????? java/math/BigInteger [Ljava/lang/Byte; java/time/LocalDate java/util/Date java/time/ZonedDateTime java/math/BigDecimal java/lang/Number java/time/LocalTime hUnsupported field type '%s': corresponding Java class needs to be added in DefaultAtlasConversionService????????? java/util/HashSet?? io/atlasmap/v2/FieldType &io/atlasmap/spi/AtlasConversionService 0io/atlasmap/core/DefaultAtlasConversionService$1 java/lang/Throwable java/lang/Class java/lang/ClassLoader java/util/ServiceLoader
java/util/Map java/util/List java/util/Iterator java/lang/Exception getCanonicalName ()Ljava/lang/String; java/util/Optional empty ()Ljava/util/Optional; W(Lio/atlasmap/core/DefaultAtlasConversionService;Ljava/lang/String;Ljava/lang/String;)V containsKey (Ljava/lang/Object;)Z get "()Lio/atlasmap/spi/AtlasConverter; of ((Ljava/lang/Object;)Ljava/util/Optional; getClass ()Ljava/lang/Class; getClassLoader ()Ljava/lang/ClassLoader; load C(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
?? (Ljava/lang/Object;)V
? #(Lio/atlasmap/spi/AtlasConverter;)V accept m(Lio/atlasmap/core/DefaultAtlasConversionService;Ljava/util/Map;Ljava/util/Map;)Ljava/util/function/Consumer; forEach (Ljava/util/function/Consumer;)V
? #(Lio/atlasmap/api/AtlasConverter;)V isEmpty ()Z java/util/Collections unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; org/slf4j/Logger isDebugEnabled append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString debug (Ljava/lang/String;)V
getPackage ()Ljava/lang/Package; java/lang/Package getName
startsWith (Ljava/lang/String;)Z getDeclaredMethods ()[Ljava/lang/reflect/Method; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; (Ljava/util/Collection;)V iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; isAnnotationPresent (Ljava/lang/Class;)Z
getParameters ()[Ljava/lang/reflect/Parameter; isSynthetic java/lang/reflect/Parameter getType
getReturnType getModifiers ()I java/lang/reflect/Modifier isStatic (I)Z o(Lio/atlasmap/core/DefaultAtlasConversionService;Lio/atlasmap/spi/AtlasConverter;Ljava/lang/reflect/Method;ZZ)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; warn
getSuperclass TYPE equals booleanValue valueOf (Z)Ljava/lang/Boolean; byteValue ()B (B)Ljava/lang/Byte; charValue ()C (C)Ljava/lang/Character; doubleValue ()D (D)Ljava/lang/Double;
floatValue ()F (F)Ljava/lang/Float; intValue (I)Ljava/lang/Integer; longValue ()J (J)Ljava/lang/Long;
shortValue ()S (S)Ljava/lang/Short;
isInstance
access$000 I(Lio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolder;)Z
access$100 h(Lio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolder;)Lio/atlasmap/spi/AtlasConverter;
access$200
access$300 b(Lio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolder;)Ljava/lang/reflect/Method; invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; *(Ljava/lang/String;Ljava/lang/Throwable;)V
java/util/Set contains NONE hashCode ANY BIG_INTEGER BOOLEAN BYTE
BYTE_ARRAY CHAR DECIMAL DOUBLE FLOAT INTEGER LONG NUMBER SHORT STRING DATE TIME DATE_TIME DATE_TIME_TZ COMPLEX #$SwitchMap$io$atlasmap$v2$FieldType [I ordinal format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; FALSE Ljava/lang/Boolean; TRUE org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;???hief "java/lang/invoke/LambdaMetafactory metafactory? Lookup ?(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 ! - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? E *? *? *? ? ? k ; <