io.atlasmap.core.DefaultAtlasConversionService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
.p q r s tu
p
v w
x
yz
{
|}~
?????
?
|?
?
.?
y??
????
p ?
?? ???
?? ????
$p?
$?
$???
y?
???
=???
y?
??
/?????????
6?
6?
6?
??
6??
6?
??
?????????
y? K?
y?
=??
K?
K? O??
O?
O? S??
S?
S? W??
W?
W? [??
[?
[? _??
_?
_? c??
c?
c? g??
g?
g???
j?
?
??
y?
?
?
?
?
?
6?????
j???
y?
??? ? ?
?
=? ??
=????
!"# ?$ ?% ?& ?' ?( ?) ?* ?+ ?, ?- ?. ?/ ?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7
?89:;<=>?@A
=B
x? KC
?? KD
E
FGH
??
?IJKL 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; SINGLETON_LOCK Ljava/lang/Object; converterMethods Ljava/util/Map; ?Ljava/util/Map; customConverterMethods ()V Code LineNumberTable LocalVariableTable this getInstance 2()Lio/atlasmap/core/DefaultAtlasConversionService; result
StackMapTableu?M 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<*>;N 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;~ _(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;OPQ 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<*>;RS????N(Lio/atlasmap/spi/AtlasConverter<*>;Ljava/util/Map;Ljava/util/Map;)V
copyPrimitive &(Ljava/lang/Object;)Ljava/lang/Object; sourceValue 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;T ^(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 ? ? ?cdNUV ? WXY ;io/atlasmap/core/DefaultAtlasConversionService$ConverterKey ?ZQ[\]9 Dio/atlasmap/core/DefaultAtlasConversionService$ConverterMethodHolderL^_` ?abcd io/atlasmap/spi/AtlasConverterPef io/atlasmap/api/AtlasConverter java/util/LinkedHashMap BootstrapMethodsghijklmnopqrstu ? ?vwr java/lang/StringBuilder Loading converter : xyzV{|}~?V io.atlasmap?? java/lang/Object java/util/ArrayList????? ??R??S?r?? java/lang/reflect/Method #io/atlasmap/spi/AtlasConversionInfo?????r??b?b java/lang/String????? ???? Converter between and aleady exists.?| Custom converter between ?b??\ java/lang/Boolean?r?? 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. ?|fg<D BAutoConversion requires sourceValue and targetType to be specified?\LM?????????? java/lang/IllegalAccessException "java/lang/IllegalArgumentException +java/lang/reflect/InvocationTargetException Invoking type convertor failed ?? (Type Conversion is not supported for sT= tT=QrY]??\ ? ? ? ?_b? ?? 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;???klhi "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 ! . ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? E *? *? *? ? ? l <