io.atlasmap.java.inspect.ClassInspectionService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4T
y$%&'()*+,-
./
0 123456789:;< = >? @
$ A
BC D E F G H
yI
?J
K
LM
NO
wP
QR ST
QU VWXY
1$Z
1[\
1]W^_`
8abc
;d
;Mefg
@a
Qhij klm kno kpq
r
Qs
Qtu
O$
?vwx
y
z
Q{|}
Q~
?
?
Q?
?
Q??
??
?
??
Q?
??
?v
Q?
??
Q?
??
Q?
??
Q?
??
Q?
??
Q?
??
Q?
??
Q?
??
Q?
Q????
??
?
Q?
??
B?W???W?
???
?
?
???
?$?
??
??
??
-?
??
Q?
???x S?
?U
?R S?
Q??
?$
Q?
????
??
???
?v
??
?
?
t
?? S?
U
?? ??
y?
h
?
R
?
?|?
~|?|?
?
? ??
?w?
?
Q? S?
??
??
?
w?
??
?v??
??
s
???
???W?
??
?
??
??
?$
?
????
?
?
??
?
?
?
??
??
???
?????
??
{
?
?
Q
?? S
v
Q
?
??
?
?
?W
!
"
#?$?%&'()
*
-+
?,-
./
0
.1
2
.3
4
.5
6
.7
.8
.9
.:
;
.<
=
.>
?
.@
A
.B
C?rD
-E
?FG0HI2JKLMNO6P6Q
R
S
QT
U
V
W
QX
Y
Q?
Q?
Z
Q[
Q?
?
\
Q]
Q?
Q?
^_ MAX_REENTRY_LIMIT I
ConstantValue MAX_ARRAY_DIM_LIMIT LOG Lorg/slf4j/Logger; listClasses Ljava/util/List; Signature $Ljava/util/List;
mapClasses atlasConversionService (Lio/atlasmap/spi/AtlasConversionService; fieldBlacklist classNameBlacklist disablePackagePrivateOnlyFields Ljava/lang/Boolean; disableProtectedOnlyFields disablePrivateOnlyFields disablePublicOnlyFields disablePublicGetterSetterFields ()V Code LineNumberTable LocalVariableTable this 1Lio/atlasmap/java/inspect/ClassInspectionService;
getMapClasses ()Ljava/util/List; &()Ljava/util/List; getListClasses getClassNameBlacklist getFieldBlacklist getDisableProtectedOnlyFields ()Ljava/lang/Boolean; setDisableProtectedOnlyFields (Ljava/lang/Boolean;)V "getDisablePackagePrivateOnlyFields "setDisablePackagePrivateOnlyFields getDisablePrivateOnlyFields setDisablePrivateOnlyFields getDisablePublicOnlyFields setDisablePublicOnlyFields "getDisablePublicGetterSetterFields "setDisablePublicGetterSetterFields inspectClass d(Ljava/lang/String;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; className Ljava/lang/String; collectionType Lio/atlasmap/v2/CollectionType; collectionClassName classLoader Ljava/lang/ClassLoader; {(Ljava/lang/ClassLoader;Ljava/lang/String;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; cnfe "Ljava/lang/ClassNotFoundException; d Lio/atlasmap/java/v2/JavaClass; clazz Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class<*>;
StackMapTable-`&ab?O v(Ljava/lang/String;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; jcl )Lio/atlasmap/java/inspect/JarClassLoader; classpath
Exceptions c(Ljava/lang/Class;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; f(Ljava/lang/Class<*>;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; z(Ljava/lang/ClassLoader;Ljava/lang/Class;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; javaClass rootPath
cachedClasses Ljava/util/Set; #Ljava/util/Set; }(Ljava/lang/ClassLoader;Ljava/lang/Class<*>;Lio/atlasmap/v2/CollectionType;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaClass; k(Ljava/lang/ClassLoader;Ljava/lang/Class;Lio/atlasmap/java/v2/JavaClass;Ljava/util/Set;Ljava/lang/String;)V in Ljava/lang/Enum; out #Lio/atlasmap/java/v2/JavaEnumField; o Ljava/lang/Object;
pathPrefix clz tmpClazz
superClazz
enumConstants [Ljava/lang/Object; Ljava/lang/Enum<*>;c??? ?(Ljava/lang/ClassLoader;Ljava/lang/Class<*>;Lio/atlasmap/java/v2/JavaClass;Ljava/util/Set;Ljava/lang/String;)V inspectGetMethod ?(Ljava/lang/ClassLoader;Ljava/lang/reflect/Method;Lio/atlasmap/java/v2/JavaField;Ljava/util/Set;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaField; complexClazz tmpField m Ljava/lang/reflect/Method; s Lio/atlasmap/java/v2/JavaField; field
returnType& ?(Ljava/lang/ClassLoader;Ljava/lang/reflect/Method;Lio/atlasmap/java/v2/JavaField;Ljava/util/Set;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaField; inspectSetMethod params [Ljava/lang/Class; paramType [Ljava/lang/Class<*>;? inspectField r(Ljava/lang/ClassLoader;Ljava/lang/reflect/Field;Ljava/util/Set;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaField; cce Ljava/lang/Exception; a !Ljava/lang/annotation/Annotation; f Ljava/lang/reflect/Field; annotations "[Ljava/lang/annotation/Annotation; pTypesdYe?fg ?(Ljava/lang/ClassLoader;Ljava/lang/reflect/Field;Ljava/util/Set;Ljava/lang/String;)Lio/atlasmap/java/v2/JavaField; populateGetterSetter L(Ljava/lang/Class;Ljava/lang/reflect/Field;Lio/atlasmap/java/v2/JavaField;)V
getterName e !Ljava/lang/NoSuchMethodException;
setterName reflectionField
atlasField? O(Ljava/lang/Class<*>;Ljava/lang/reflect/Field;Lio/atlasmap/java/v2/JavaField;)V inspectClassFields fields [Ljava/lang/reflect/Field;? inspectClassMethods exists i found Z methods [Ljava/lang/reflect/Method;?h
isFieldMap (Ljava/lang/String;)Z fieldType detectArrayDimensions &(Ljava/lang/Class;)Ljava/lang/Integer; arrayDim Ljava/lang/Integer;D )(Ljava/lang/Class<*>;)Ljava/lang/Integer; detectModifiers (I)Ljava/util/List; modifiers 0Ljava/util/List; 3(I)Ljava/util/List; detectListClass C(Ljava/lang/ClassLoader;Ljava/lang/reflect/Field;)Ljava/lang/Class; types F(Ljava/lang/ClassLoader;Ljava/lang/reflect/Field;)Ljava/lang/Class<*>; detectArrayClass $(Ljava/lang/Class;)Ljava/lang/Class; *(Ljava/lang/Class<*>;)Ljava/lang/Class<*>; detectParameterizedTypes ,(Ljava/lang/reflect/Field;Z)Ljava/util/List; tv Ljava/lang/reflect/TypeVariable; type Ljava/lang/reflect/Type; wc Ljava/lang/reflect/WildcardType; upperBounds [Ljava/lang/reflect/Type; lowerBounds t onlyClasses #Ljava/lang/reflect/TypeVariable<*>;iIO @(Ljava/lang/reflect/Field;Z)Ljava/util/List; convertJavaFieldToJavaClass @(Lio/atlasmap/java/v2/JavaField;)Lio/atlasmap/java/v2/JavaClass; javaField getConversionService *()Lio/atlasmap/spi/AtlasConversionService; setConversionService +(Lio/atlasmap/spi/AtlasConversionService;)V
SourceFile ClassInspectionService.javacd java/util/ArrayList java/lang/String java.util.List java.util.ArrayList java.util.LinkedList java.util.Vector java.util.Stack java.util.AbstractList java.util.AbstractSequentialListjklcmTU
java.util.Map java.util.HashMap java.util.TreeMap java.util.Hashtable java.util.IdentityHashMap java.util.LinkedHashMap java.util.SortedMap java.util.WeakHashMap java.util.Properties &java.util.concurrent.ConcurrentHashMap "java.util.concurrent.ConcurrentMapXUYZ serialVersionUID[U\Unop]^_^`^a^b^qrst|?`uv|? java/lang/ClassNotFoundExceptionwxbyz{|}~RS??? java/lang/StringBuilder Inspecting class: ??
, classPath: ???z ,io/atlasmap/java/inspect/InspectionException )ClassName and Classpath must be specifiedcz 'io/atlasmap/java/inspect/JarClassLoader target/reference-jarsc? Class was not found: "java/lang/IllegalArgumentException Class must be specified?? io/atlasmap/core/AtlasPath /a?? <>?? []?? {}???z?z java/util/HashSet??c??|???????????????? ]?? [?????z????z???s???s???s???s???s???s???s???s?? )io/atlasmap/java/v2/AtlasJavaModelFactory atlas:java?className=%s java/lang/Object??????z??????? Skipping class which is a Jdk core class?z?r Skipping SuperClass ?????? !io/atlasmap/java/v2/JavaEnumField java/lang/Enum???z??o???????kg?}?}?? io/atlasmap/java/v2/ModifierList???k?d??????h????????}?r??????z????????????????}?????z??d?r java/util/Collection?? java/lang/ClassCastException !Error detecting inner listClass: e?? for field: ?????? io/atlasmap/v2/StringList???kf?r ???? get?r java/lang/Class java/lang/NoSuchMethodException !No 'get' method for field named: in class: ? boolean java.lang.Boolean is No 'is' method for field named: set !No 'set' method for field named: q??ok
}?q Synthetic field class detected: ?
vqkpqxqtqzq??? ,VarArg, Bridge, Synthetic or Default method detectedz??????? io/atlasmap/java/v2/JavaField "Field already defined for method: class: Ignoring non-field method: jk? r /io/atlasmap/java/inspect/ClassInspectionService!"#$%#&?#'(#)*#+#,#-#./#01#23#45#6 java/lang/Integerc789 #java/lang/reflect/ParameterizedType:; java/lang/reflect/TypeVariable<=>?9i?? java/lang/reflect/WildcardType@;A;BCDCE?F?GHI?Jz?qKqLsMNOPQRS java/lang/ClassLoader io/atlasmap/v2/CollectionType io/atlasmap/java/v2/JavaClass
java/util/Set java/lang/reflect/Field java/lang/Exception java/lang/annotation/Annotation java/util/List java/lang/reflect/Method java/lang/reflect/Type java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; (Ljava/util/Collection;)V java/lang/Boolean valueOf (Z)Ljava/lang/Boolean; getClass ()Ljava/lang/Class; getClassLoader ()Ljava/lang/ClassLoader; loadClass %(Ljava/lang/String;)Ljava/lang/Class; createJavaClass !()Lio/atlasmap/java/v2/JavaClass; setClassName (Ljava/lang/String;)V io/atlasmap/v2/FieldStatus NOT_FOUND Lio/atlasmap/v2/FieldStatus; setStatus (Lio/atlasmap/v2/FieldStatus;)V org/slf4j/Logger isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; debug ([Ljava/lang/String;)V setCollectionType "(Lio/atlasmap/v2/CollectionType;)V LIST ARRAY MAP isEmpty setCollectionClassName setPath getName add (Ljava/lang/Object;)Z getClassName &io/atlasmap/spi/AtlasConversionService fieldTypeFromClass .(Ljava/lang/String;)Lio/atlasmap/v2/FieldType; setFieldType (Lio/atlasmap/v2/FieldType;)V isArray setArrayDimensions (Ljava/lang/Integer;)V getPath endsWith getCanonicalName setCanonicalClassName
getPackage ()Ljava/lang/Package; java/lang/Package setPackageName isAnnotation
setAnnotation isAnonymousClass
setAnnonymous isEnum setEnumeration isInterface setInterface isLocalClass
setLocalClass
isMemberClass setMemberClass isPrimitive setPrimitive isSynthetic setSynthetic getUri io/atlasmap/core/AtlasUtil escapeForUri &(Ljava/lang/String;)Ljava/lang/String; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; setUri !io/atlasmap/java/core/JdkPackages contains '(Ljava/lang/String;)Ljava/lang/Boolean; booleanValue isTraceEnabled trace
getSuperclass getEnumConstants ()[Ljava/lang/Object; name setName ordinal ()I (I)Ljava/lang/Integer;
setOrdinal getJavaEnumFields &()Lio/atlasmap/java/v2/JavaEnumFields; "io/atlasmap/java/v2/JavaEnumFields getJavaEnumField SUPPORTED ERROR getModifiers $()Lio/atlasmap/java/v2/ModifierList; setModifiers %(Lio/atlasmap/java/v2/ModifierList;)V getModifier clear addAll (Ljava/util/Collection;)Z io/atlasmap/java/core/StringUtil getFieldNameFromGetter length getParameterCount UNSUPPORTED
getReturnType java/lang/Void TYPE equals setGetMethod -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType; &(Ljava/lang/Class;)Ljava/lang/Boolean; isBoxedPrimitive getFieldType ()Lio/atlasmap/v2/FieldType; io/atlasmap/v2/FieldType COMPLEX Lio/atlasmap/v2/FieldType; getStatus ()Lio/atlasmap/v2/FieldStatus; CACHED getFieldNameFromSetter getParameterTypes ()[Ljava/lang/Class; setSetMethod createJavaField !()Lio/atlasmap/java/v2/JavaField; getType isAssignableFrom (Ljava/lang/Class;)Z
getMessage *(Ljava/lang/String;Ljava/lang/Throwable;)V getAnnotations $()[Ljava/lang/annotation/Annotation; ()Lio/atlasmap/v2/StringList; setAnnotations (Lio/atlasmap/v2/StringList;)V getString annotationType getParameterizedTypes setParameterizedTypes capitalizeFirstLetter getDeclaringClass getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; getGetMethod getDeclaredFields ()[Ljava/lang/reflect/Field;
isEnumeration
BLACK_LIST getSetMethod io/atlasmap/java/v2/Modifier PRIVATE Lio/atlasmap/java/v2/Modifier;
getJavaFields "()Lio/atlasmap/java/v2/JavaFields; io/atlasmap/java/v2/JavaFields getJavaField PROTECTED PUBLIC PACKAGE_PRIVATE getDeclaredMethods ()[Ljava/lang/reflect/Method; isVarArgs isBridge isDefault warn
startsWith size (I)Ljava/lang/Object; intValue getComponentType java/lang/reflect/Modifier
isAbstract (I)Z ABSTRACT isFinal FINAL INTERFACE isNative NATIVE isPrivate isProtected isPublic isStatic STATIC isStrict STRICT isSynchronized SYNCHRONIZED isTransient TRANSIENT
isVolatile VOLATILE (I)V getGenericType ()Ljava/lang/reflect/Type; getActualTypeArguments ()[Ljava/lang/reflect/Type; getAnnotatedBounds $()[Ljava/lang/reflect/AnnotatedType; java/lang/reflect/AnnotatedType getTypeName getUpperBounds getLowerBounds getArrayDimensions ()Ljava/lang/Integer; getArraySize setArraySize getCollectionClassName getCollectionType !()Lio/atlasmap/v2/CollectionType; getDocId setDocId
isRequired setRequired getValue ()Ljava/lang/Object; setValue (Ljava/lang/Object;)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! y
LM N O PM N Q RS TU V W XU V W YZ [U V W \U V W ]^ _^ `^ a^ b^ % cd e 6 ?*? *? Y? YSYSYSYSYSY SY
S? ? ?
*? Y? YSYSYSYSYSYSYSYSYSY SY
SYS? ? ? *? *? Y? YS? ? ? *? Y? ? *? ? *? ? !*? ? "*? ? #*? ? $? f 2 3 ; 2 <