All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.atlasmap.java.core.JavaFieldWriterUtil.class Maven / Gradle / Ivy

Go to download

A single aggregated bundle which contains all AtlasMap library artifacts including modules.

There is a newer version: 2.5.2
Show newest version
????4?
`a
`b
?c
3d	?ef
d	?g	?hijklmnopqrstuvwxyz{|}~????????
'?
.?
.?
????
.?
.?
??
.??
??
3?
????
8d?
8?
.?
8?
'?
??
'?	??	??
??	??????
8?????
???
??
??
????????
??
??
??
??
???
??????
??
?????????
?????
???
??	??
??
??
??????????????
??????
8???
.??????????
??
??
???
????????????
?
?
?	
?

?
???
j?
.

?
?
?
?
?
?d
. 
.!
"?
#$%&'
()LOGLorg/slf4j/Logger;conversionService(Lio/atlasmap/spi/AtlasConversionService;classLoaderLjava/lang/ClassLoader;defaultCollectionImplClassesLjava/util/Map;	Signature9Ljava/util/Map;Ljava/lang/Class<*>;>;+(Lio/atlasmap/spi/AtlasConversionService;)VCodeLineNumberTableLocalVariableTablethis+Lio/atlasmap/java/core/JavaFieldWriterUtil;B(Ljava/lang/ClassLoader;Lio/atlasmap/spi/AtlasConversionService;)VinstantiateObject%(Ljava/lang/Class;)Ljava/lang/Object;	enclosingLjava/lang/Object;constructorLjava/lang/reflect/Constructor;eLjava/lang/Exception;clzLjava/lang/Class;clazzLocalVariableTypeTable"Ljava/lang/reflect/Constructor<*>;Ljava/lang/Class<*>;
StackMapTable?*'?
Exceptions((Ljava/lang/Class<*>;)Ljava/lang/Object;	loadClass%(Ljava/lang/String;)Ljava/lang/Class;nameLjava/lang/String;((Ljava/lang/String;)Ljava/lang/Class<*>;getDefaultCollectionImplClass2(Lio/atlasmap/v2/CollectionType;)Ljava/lang/Class;typeLio/atlasmap/v2/CollectionType;5(Lio/atlasmap/v2/CollectionType;)Ljava/lang/Class<*>;getChildObject,SegmentContextInnerClassesQ(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object;childObjectparentObjectsegment+Lio/atlasmap/core/AtlasPath$SegmentContext;	fieldNamegetterMethodLjava/lang/reflect/Method;-?createComplexChildObjectb(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class;)Ljava/lang/Object;setterMethodtargetObjectfieldLjava/lang/reflect/Field;parentClassNamee2segmentContext,e(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class<*>;)Ljava/lang/Object;setChildObjectR(Ljava/lang/Object;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)VtargetClasschildClassName
childClass.resolveChildClassP(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Class;!Ljava/lang/NoSuchMethodException;?S(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Class<*>;getCollectionItemlistLjava/util/List;array[Ljava/lang/Object;collectionObjectindexLjava/lang/Integer;Ljava/util/List<*>;/yadjustCollectionSizeiInewArraysizeanswercreateComplexCollectionItemb(Ljava/lang/Object;Ljava/lang/Class;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object;newItem
collectionLjava/util/Collection;itemTypeqe(Ljava/lang/Object;Ljava/lang/Class<*>;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object;c(Ljava/lang/Object;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object;	itemClazzresolveCollectionItemClasstypeArggenericTypeLjava/lang/reflect/Type;tLjava/lang/Throwable;0?setCollectionItemparentClassitemgetDefaultCollectionImplClasses()Ljava/util/Map;;()Ljava/util/Map;Ljava/lang/Class<*>;>;resolveGetterMethod?(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;gettergetters	classTree$Ljava/util/List;&Ljava/util/List;>;1B(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Method;resolveSetterMethodj(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class;)Ljava/lang/reflect/Method;sourceObject
targetTypesetterMethodNamemm(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;resolveField>(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;A(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Field;capitalizeFirstLetter&(Ljava/lang/String;)Ljava/lang/String;stringresolveMappableClasses#(Ljava/lang/Class;)Ljava/util/List;
superClazz<(Ljava/lang/Class<*>;)Ljava/util/List;>;()V
SourceFileJavaFieldWriterUtil.java23456???]??java/util/HashMap????"java/beans/beancontext/BeanContext1java/beans/beancontext/BeanContextServicesSupport78*java/beans/beancontext/BeanContextServices"java/util/concurrent/BlockingDeque(java/util/concurrent/LinkedBlockingDeque"java/util/concurrent/BlockingQueue(java/util/concurrent/LinkedBlockingQueuejava/util/Collectionjava/util/LinkedList"java/util/concurrent/ConcurrentMap&java/util/concurrent/ConcurrentHashMap+java/util/concurrent/ConcurrentNavigableMap*java/util/concurrent/ConcurrentSkipListMapjava/util/Dequejava/util/ArrayDequejava/util/List
java/util/Mapjava/util/NavigableSetjava/util/TreeSetjava/util/NavigableMapjava/util/TreeMapjava/util/Queue
java/util/Setjava/util/HashSetjava/util/SortedSetjava/util/SortedMap"java/util/concurrent/TransferQueue(java/util/concurrent/LinkedTransferQueueio/atlasmap/api/AtlasExceptionCannot instantiate null class?9:;<=>?@ABjava/lang/ClassC=DEFGHIJjava/lang/Object*?KL=MNjava/lang/Exceptionjava/lang/StringBuilderCould not instantiate class: OPQRSR?TU???VWX?Y???Z[;Retrieving child ''.
	parentObject: O\]9Cannot find child '', parent is null.BC4Unable to detect getter method for: %s on parent: %s^_-`a&Could not find child object for path: Found child object for path '': >Creating object for segment:'{} 
	parentObject: {} 
	class: {}]bKL??RS.	c$Unable to create value for segment: dR parentObject: 2Creating object for segment:'{} 
	parentObject: {}]efgh=Setting object for segment:''.
	childObject: 
	parentObject: ijklmno;BNot setting null value for primitive method paramter for segment:'DUnable to set value for segment: %s parentObject: %s childObject: %sjava/lang/NoSuchMethodExceptionpq-Collection item is requested without an indexrst?uv/wEAx(EAyTConverting non-List Collection into array - order might not be preserved: segment={}z{|}3TODO: java.util.Map is not yet supported, segment: /Cannot determine collection type from segment: >It doesn't make sense to adjust the size of {}, Ignoring... {}ze@No index was specified for adjusting collection size, segment=%s	~?oCollection object other than List doesn't support indexed operation. Ignoring... segment: {} 
	parentObject: {}>No index was specified for setting collection item, segment=%s&Cannot fit item in array, array size: O?, item index: , segment: l;$Cannot fit item in list, list size: 	?wWriting into non-List collection - it will be added as a last element anyway. segment: %s 
	parentObject: %s
	child: %sz9/TODO: Cannot yet handle adding children to maps&Cannot determine collection type for: 4*+??BFailed to create a collection item, parent class={}, field name={}??#java/lang/reflect/ParameterizedType??0?Rjava/lang/ThrowableGFailed to resolve collection item class, parent class={}, field name={}Could not set child class '
' on parent '' for: ???XY??1?;??java/lang/String?C-Looking for getter for '{}' on this class: {}setUVLooking for setter '' on this class: ??Found setter 'Did not find setter ']T?mLooking for boxed setter '??#Unable to resolve expected setter '' for segment: 
, on object: ??????E?????R??java/util/ArrayList?=??????Found  mappable classes for class ')io/atlasmap/java/core/JavaFieldWriterUtil???java/lang/reflect/Constructor?)io/atlasmap/core/AtlasPath$SegmentContextjava/lang/reflect/Methodjava/lang/reflect/Fieldjava/lang/Integerjava/lang/reflect/Typejava/util/Iteratorjava/lang/Thread
currentThread()Ljava/lang/Thread;getContextClassLoader()Ljava/lang/ClassLoader;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;(Ljava/lang/String;)VisArray()ZgetComponentType()Ljava/lang/Class;java/lang/reflect/ArraynewInstance&(Ljava/lang/Class;I)Ljava/lang/Object;get&(Ljava/lang/Object;)Ljava/lang/Object;getEnclosingClassgetModifiers()Ijava/lang/reflect/ModifierisStatic(I)ZgetDeclaredConstructor3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;'([Ljava/lang/Object;)Ljava/lang/Object;getClass
setAccessible(Z)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;getName()Ljava/lang/String;toString*(Ljava/lang/String;Ljava/lang/Throwable;)Vjava/lang/ClassLoader(Ljava/lang/Throwable;)Vio/atlasmap/v2/CollectionTypeLISTMAPorg/slf4j/LoggerisDebugEnabled-(Ljava/lang/Object;)Ljava/lang/StringBuilder;debugformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;invoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;((Ljava/lang/String;[Ljava/lang/Object;)V'(Ljava/lang/Object;Ljava/lang/Object;)V
getExpression9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VgetParameterTypes()[Ljava/lang/Class;getType&io/atlasmap/spi/AtlasConversionServiceconvertType[(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;isPrimitive&(Ljava/lang/Class;)Ljava/lang/Boolean;java/lang/BooleanbooleanValuegetCollectionIndex()Ljava/lang/Integer;getCollectionType!()Lio/atlasmap/v2/CollectionType;ARRAY	getLength(Ljava/lang/Object;)IintValue'(Ljava/lang/Object;I)Ljava/lang/Object;(I)Ljava/lang/Object;warn'(Ljava/lang/String;Ljava/lang/Object;)VtoArray()[Ljava/lang/Object;((Ljava/lang/Object;ILjava/lang/Object;)Vadd(Ljava/lang/Object;)Z(I)Ljava/lang/StringBuilder;'(ILjava/lang/Object;)Ljava/lang/Object;getGenericReturnType()Ljava/lang/reflect/Type;getGenericTypegetActualTypeArguments()[Ljava/lang/reflect/Type;getTypeName!io/atlasmap/java/core/ClassHelpergetterMethodNames$(Ljava/lang/String;)Ljava/util/List;iterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;detectGetterMethoddetectSetterMethodP(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/reflect/Method;isBoxedPrimitiveboxOrUnboxPrimitive$(Ljava/lang/Class;)Ljava/lang/Class;getDeclaredField-(Ljava/lang/String;)Ljava/lang/reflect/Field; io/atlasmap/java/core/StringUtilisEmpty(Ljava/lang/String;)ZlengthcharAt(I)CvalueOf(C)Ljava/lang/String;toUpperCase	substring(I)Ljava/lang/String;
getSuperclass
getPackage()Ljava/lang/Package;java/lang/Package!io/atlasmap/java/core/JdkPackagescontains'(Ljava/lang/String;)Ljava/lang/Boolean;org/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;io/atlasmap/core/AtlasPath!?3?????????????D*??+???
EF?????????
*?*?*?Y??*,?*+?	*?
?W*?
?W*??W*??W*??W*??W*??W*??W*??W*??W*??W*??W*? ?W*?!"?W*?#?W*?$?W*?%&?W??^H@	BIJK,L:MHNVOdPrQ?R?S?T?U?V?W?X?Y?Z?[\? 
??
??
???????+?
?'Y(?)?+M,?*?,?+?,?*?,?-?*?,?-?.MN,?/?E,?0?1?;,?/?.?2?3?4:,?.Y?5S?2N-?6-?3YS?4?,?.?2N-?6-?3?4?N?'Y?8Y?9:?;,??;??7???7?R_`efg j-k;n=oNqVr]sbtsuxv?x?y?z?|?}?>b$??=`??????????????? =`?????????#???J???????'?????m*?	+???M?'Y,?@?	7??	?
?? 
	???????I??'?????|.+?A?*??-?.?+?B?*??-?.???????,??.??.????????,?CN?D?E?'?D?8Y?9F?;-?;G?;+?H?=?I+?0?D?E?#?D?8Y?9J?;-?;K?;?=?I?*+?5-?L:?)?D?E??DM?3Y-SY+S?N?I??O+?3?P:?:?'Y?@??D?E?K?!?D?8Y?9Q?;-?;?=?I?(?D?8Y?9R?;-?;S?;?H?=?I????7?Z???4?8?C?c?e?p?u?????????????????????????R????
????????
??p????V???	?4?.?3T??-$?'????D?E? ?DT?3Y,SY+SY-??(PQ7Sxy7?J???#?(?1?8?>?N?Q?S?a?g?n?v?y?{????p1 ?8?an??*?{;	?Sc?????????
?????????*(h??'?????	?F??'??????D?E??D^,+?_*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dWelgxh?g?j?k?l?m?n?o?p?q?r?s?v?\	o%&l"'??	(&?&??????
??)????& ?$	?"!?/???"?%?'*+??-?k:-?m?B? ??'Y?3Y-?\S?N?)?+?5?*?y?p+?o?4?'Y?8Y?9??;+?o????;?H??;-?H?=?)?+?5?+:???
+?p?q?*,?,??W:+?p?|?+???:*,?W:+?:??_?p???7?'Y?8Y?9??;??????;?H??;-?H?=?)??:?p??W?G?p?????W?+?D??3Y-SY+SYS?N????W?+??
?'Y??)??'Y?8Y?9??;+?H?=?)??~{|}"~&}-?7?C?t?}?????????????????????????%?7?D?b?l?o?v????f
}0???)???,???-.??????/??
???}0???/??G?-!?F??H????!?????a0'??'?1*2?y*+-??:*,-????
???4?????
?	3??	3??'4??N*+?5,?C?L::?
??:?<*+?5,?C?X:?"?'Y??3Y+?5SY,?CS?N?)???:?.? ?.?*??.?+N?B3N?<???1??????#????2??:*?	??N?3N?&:?'Y??3Y+?5SY,?CS?N?>?-?????n?????"?0?5?B?M?T?[?c?n?z??????????????????????????\	0+?
5??67?!89???????
??/??????/??"	?"?:?1?5?B;"?'?<???-?k:-?m?B? ??'Y?3Y-?\S?N?)?+?5?*???p+?o?4?'Y?8Y?9??;+?o????;?H??;-?H?=?)?+?p,?|?X:+??
+?5?<:,??
,?5?<:?'Y?8Y?9??;?;??;?;??;-?H?=?>??+???+?:??^?p???7?'Y?8Y?9??;??????;?H??;-?H?=?)??:?p,??W?D?p???,??W?)?D??3Y-SY+SY,S?N??,??W?+??
?'Y??)??'Y?8Y?9??;+?H?=?)?t~?7?z???"?&?-?7?C?t?~?????????????????????/?6?D?V?b???????????f
?B=??1??S??6??-.??????>??
???4?-!?FL??	?F??	?F??2?W0%??'?@?/*???????ABC???,??N*+??::??:???g???.:-??:???F????:		???:
?D?E?"?D??3Y,SY??E?@?A?B?G?I?J?f
?6?	?6?	G?????M?
?N??O?%?F(?P?? G???N?%?FH?@
?1???"I?I??BB73?KB?7??j?QRS?2*+??N-??:??????.:,???:????$*+7?NO$Q+R-S0V?>-??$??2??2??2??,F? $??2??,FH?*?"I????"I????T
UV??>*???*?*???*????????8Y?9*???????;*???;?=??Z[	]^`?>W??	XY?2???Y??M,+?}W+??N-?(-???????g?N???,-?}W-??N??ڲD?E?8?D?8Y?9??;,?r????;+?uIvgwyv~z?*??????xFkZ?? ???xFHkZ???"???[\]?!	????D???^_?
?+?	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy