io.atlasmap.java.core.JavaFieldWriterUtil.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
`a
`b
?c
3d ?ef
d ?g ?hij klmnopqrstuvwxyz{|}~????????
'?
.?
.?
?? ??
.?
.?
??
.??
??
3?
????
8d?
8?
.?
8?
'?
??
'? ?? ??
?? ??????
8?????
???
??
??
????????
??
??
??
??
???
??????
??
?????????
?????
???
?? ??
??
??
?? ? ???? ???????
?? ????
8???
.? ?? ? ??????
??
??
???
??? ?????????
?
?
?
?
?
???
j?
.
?
?
?
?
?
?d
.
.!
"?
#$%&'
() LOG Lorg/slf4j/Logger; conversionService (Lio/atlasmap/spi/AtlasConversionService; classLoader Ljava/lang/ClassLoader; defaultCollectionImplClasses Ljava/util/Map; Signature 9Ljava/util/Map;Ljava/lang/Class<*>;>; +(Lio/atlasmap/spi/AtlasConversionService;)V Code LineNumberTable LocalVariableTable this +Lio/atlasmap/java/core/JavaFieldWriterUtil; B(Ljava/lang/ClassLoader;Lio/atlasmap/spi/AtlasConversionService;)V instantiateObject %(Ljava/lang/Class;)Ljava/lang/Object; enclosing Ljava/lang/Object; constructor Ljava/lang/reflect/Constructor; e Ljava/lang/Exception; clz Ljava/lang/Class; clazz LocalVariableTypeTable "Ljava/lang/reflect/Constructor<*>; Ljava/lang/Class<*>;
StackMapTable?*'?
Exceptions ((Ljava/lang/Class<*>;)Ljava/lang/Object; loadClass %(Ljava/lang/String;)Ljava/lang/Class; name Ljava/lang/String; ((Ljava/lang/String;)Ljava/lang/Class<*>; getDefaultCollectionImplClass 2(Lio/atlasmap/v2/CollectionType;)Ljava/lang/Class; type Lio/atlasmap/v2/CollectionType; 5(Lio/atlasmap/v2/CollectionType;)Ljava/lang/Class<*>; getChildObject, SegmentContext InnerClasses Q(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object; childObject parentObject segment +Lio/atlasmap/core/AtlasPath$SegmentContext; fieldName getterMethod Ljava/lang/reflect/Method;-? createComplexChildObject b(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class;)Ljava/lang/Object; setterMethod targetObject field Ljava/lang/reflect/Field; parentClassName e2 segmentContext, e(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class<*>;)Ljava/lang/Object; setChildObject R(Ljava/lang/Object;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)V targetClass childClassName
childClass. resolveChildClass P(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<*>; getCollectionItem list Ljava/util/List; array [Ljava/lang/Object; collectionObject index Ljava/lang/Integer; Ljava/util/List<*>;/y adjustCollectionSize i I newArray size answer createComplexCollectionItem b(Ljava/lang/Object;Ljava/lang/Class;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object; newItem
collection Ljava/util/Collection; itemTypeq e(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; itemClazz resolveCollectionItemClass typeArg genericType Ljava/lang/reflect/Type; t Ljava/lang/Throwable;0? setCollectionItem parentClass item getDefaultCollectionImplClasses ()Ljava/util/Map; ;()Ljava/util/Map;Ljava/lang/Class<*>;>; resolveGetterMethod ?(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method; getter getters classTree $Ljava/util/List; &Ljava/util/List;>;1 B(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Method; resolveSetterMethod j(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class;)Ljava/lang/reflect/Method; sourceObject
targetType setterMethodName m m(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; string resolveMappableClasses #(Ljava/lang/Class;)Ljava/util/List;
superClazz <(Ljava/lang/Class<*>;)Ljava/util/List;>; ()V
SourceFile JavaFieldWriterUtil.java23456 ? ? ?] ? ? java/util/HashMap ? ? ? ? "java/beans/beancontext/BeanContext 1java/beans/beancontext/BeanContextServicesSupport78 *java/beans/beancontext/BeanContextServices "java/util/concurrent/BlockingDeque (java/util/concurrent/LinkedBlockingDeque "java/util/concurrent/BlockingQueue (java/util/concurrent/LinkedBlockingQueue java/util/Collection java/util/LinkedList "java/util/concurrent/ConcurrentMap &java/util/concurrent/ConcurrentHashMap +java/util/concurrent/ConcurrentNavigableMap *java/util/concurrent/ConcurrentSkipListMap java/util/Deque java/util/ArrayDeque java/util/List
java/util/Map java/util/NavigableSet java/util/TreeSet java/util/NavigableMap java/util/TreeMap java/util/Queue
java/util/Set java/util/HashSet java/util/SortedSet java/util/SortedMap "java/util/concurrent/TransferQueue (java/util/concurrent/LinkedTransferQueue io/atlasmap/api/AtlasException Cannot instantiate null class ?9:;<=>?@AB java/lang/ClassC=DEFGHIJ java/lang/Object*?KL=MN java/lang/Exception java/lang/StringBuilder Could not instantiate class: OPQRSR ?TU ? ? ?VWX ?Y ? ? ?Z[; Retrieving child ' '.
parentObject: O\]9 Cannot find child ' ', parent is null.BC 4Unable 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: %s java/lang/NoSuchMethodExceptionpq -Collection item is requested without an indexrst ?uv/wEAx(EAy TConverting 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?R java/lang/Throwable GFailed 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: {} setUV Looking for setter ' ' on this class: ?? Found setter ' Did not find setter ']T?m Looking 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$SegmentContext java/lang/reflect/Method java/lang/reflect/Field java/lang/Integer java/lang/reflect/Type java/util/Iterator java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/String;)V isArray ()Z getComponentType ()Ljava/lang/Class; java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; get &(Ljava/lang/Object;)Ljava/lang/Object; getEnclosingClass getModifiers ()I java/lang/reflect/Modifier isStatic (I)Z getDeclaredConstructor 3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; '([Ljava/lang/Object;)Ljava/lang/Object; getClass
setAccessible (Z)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getName ()Ljava/lang/String; toString *(Ljava/lang/String;Ljava/lang/Throwable;)V java/lang/ClassLoader (Ljava/lang/Throwable;)V io/atlasmap/v2/CollectionType LIST MAP org/slf4j/Logger isDebugEnabled -(Ljava/lang/Object;)Ljava/lang/StringBuilder; debug format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ((Ljava/lang/String;[Ljava/lang/Object;)V '(Ljava/lang/Object;Ljava/lang/Object;)V
getExpression 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V getParameterTypes ()[Ljava/lang/Class; getType &io/atlasmap/spi/AtlasConversionService convertType [(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; isPrimitive &(Ljava/lang/Class;)Ljava/lang/Boolean; java/lang/Boolean booleanValue getCollectionIndex ()Ljava/lang/Integer; getCollectionType !()Lio/atlasmap/v2/CollectionType; ARRAY getLength (Ljava/lang/Object;)I intValue '(Ljava/lang/Object;I)Ljava/lang/Object; (I)Ljava/lang/Object; warn '(Ljava/lang/String;Ljava/lang/Object;)V toArray ()[Ljava/lang/Object; ((Ljava/lang/Object;ILjava/lang/Object;)V add (Ljava/lang/Object;)Z (I)Ljava/lang/StringBuilder; '(ILjava/lang/Object;)Ljava/lang/Object; getGenericReturnType ()Ljava/lang/reflect/Type; getGenericType getActualTypeArguments ()[Ljava/lang/reflect/Type; getTypeName !io/atlasmap/java/core/ClassHelper getterMethodNames $(Ljava/lang/String;)Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; detectGetterMethod detectSetterMethod P(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/reflect/Method; isBoxedPrimitive boxOrUnboxPrimitive $(Ljava/lang/Class;)Ljava/lang/Class; getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field; io/atlasmap/java/core/StringUtil isEmpty (Ljava/lang/String;)Z length charAt (I)C valueOf (C)Ljava/lang/String; toUpperCase substring (I)Ljava/lang/String;
getSuperclass
getPackage ()Ljava/lang/Package; java/lang/Package !io/atlasmap/java/core/JdkPackages contains '(Ljava/lang/String;)Ljava/lang/Boolean; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; io/atlasmap/core/AtlasPath ! ? 3 ? ? ? ? ? ? ? ? ? ? ? ? ? D *? ? +? ? ?
E F ? ? ? ? ? ? ? ? ?
*? *? *? Y? ? *,? *+? *?
? W*?
? W*? ? W*? ? W*? ? W*? ? W*? ? W*? ? W*? ? W*? ? W*? ? W*? ? W*? ? W*? !"? W*? #? W*? $? W*? %&? W? ? ^ H @ B I J K , L : M H N V O d P r Q ? 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:? ;,?