io.atlasmap.java.inspect.ClassInspectionService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4h
y-./0123456
78
9 :;<=>?@ABCDE F GH I
- J
KL M N O P Q
yR
?S
T
UV
WX
wY
Z[ \]
Z^ _`ab
1-c
1de
1f`ghi
8jkl
;m
;Vnop
@j
Zqrs tuv twx tyz
{
Z|
Z}~
O-
???
?
?
Z???
Z?
??
?
Z?
?
Z??
??
?
??
Z?
??
?
Z?
??
Z?
??
Z?
??
Z?
??
Z?
??
Z?
??
Z?
??
Z?
??
Z?
Z????
??
?
Z?
??
K?`???`?
???
?
?
???
?-?
??
??
??
2?
??
Z?
???? \?
?^
?[ \?
Z??
?-
Z?
????
??
???
?
??
?
?
}
?? \?
^
?? ??
y?
q
??
??
|
?
[
?
???
?????
?
? ??
???
?
Z? \?
??
??
?
?
w?
??
??
???
???`?
??
?
??
??
?-
?
????
?
?
??
?
?
?
?
?
?
?
?
?
Z
?? \
Z
! "
#
$
?%
??
?&
?'
?()*`+
,
-
.?/?01234
5
26
?78
9: ;
9< =
9> ?
9@ A
9B
9C
9D
9E F
9G H
9I J
9K L
9M N?{
?O
PQ
?RS
2T
?UV5WX7YZ[\]^;_;`
a
b
Zc
d
e
f
Zg
h
Z?
Z?
i
Zj
Z?
?
k
Zl
Z?
Z?
mn 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<*>;
StackMapTable8o/pqX 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<*>;r??? ?(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
returnType1 ?(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; pTypessbt?uv ?(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;?w
isFieldMap (Ljava/lang/String;)Z fieldType detectArrayDimensions &(Ljava/lang/Class;)Ljava/lang/Integer; arrayDim Ljava/lang/Integer;S )(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<*>; detectListClassFromMethodReturn -(Ljava/lang/reflect/Method;)Ljava/lang/Class; 0(Ljava/lang/reflect/Method;)Ljava/lang/Class<*>; "detectListClassFromMethodParameter 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<*>;xX^ @(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.javahi 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.AbstractSequentialListyz{h|YZ
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.ConcurrentMap]Z^_ serialVersionUID`ZaZ}~bcdcecfcgc??????o???? java/lang/ClassNotFoundException??q???????WX??? java/lang/StringBuilder Inspecting class: ??
, classPath: ???? ,io/atlasmap/java/inspect/InspectionException )ClassName and Classpath must be specifiedh? 'io/atlasmap/java/inspect/JarClassLoader target/reference-jarsh? Class was not found: "java/lang/IllegalArgumentException Class must be specified?? io/atlasmap/core/AtlasPath /p?? <>?? []?? {}?????? java/util/HashSet??r????&'?????????????
?? ]?? [??????????????x???x???x???x???x???x???x???x?? )io/atlasmap/java/v2/AtlasJavaModelFactory atlas:java?className=%s java/lang/Object?????????????? Skipping class which is a Jdk core class???? Skipping SuperClass ?????? !io/atlasmap/java/v2/JavaEnumField java/lang/Enum??????~???????pv?????? io/atlasmap/java/v2/ModifierList???p?i?? ??w???????????????? java/util/Collection??
?????????????#$????????
?s? java/lang/ClassCastException !Error detecting inner listClass: t? for field: ?
io/atlasmap/v2/StringList
pu?
?? get?? 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: v??tp??v Synthetic field class detected: ?{v !p"uv#}v$yvv%&'?(?)? ,VarArg, Bridge, Synthetic or Default method detected*?+?????,?- io/atlasmap/java/v2/JavaField "Field already defined for method: class: Ignoring non-field method: op.?/? /io/atlasmap/java/inspect/ClassInspectionService0123425?2672892:2;2<2=>2?@2AB2CD2EFGHIJKL java/lang/IntegerhMNG #java/lang/reflect/ParameterizedTypeOL java/lang/reflect/TypeVariablePQRGxS? java/lang/reflect/WildcardTypeTLULVWXWY?Z?[\]?^??v_v`xabcdefg 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 isAssignableFrom (Ljava/lang/Class;)Z 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
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 getGenericReturnType ()Ljava/lang/reflect/Type; !io/atlasmap/java/core/ClassHelper detectClassFromTypeArgument +(Ljava/lang/reflect/Type;)Ljava/lang/Class; getGenericParameterTypes ()[Ljava/lang/reflect/Type; (I)V getGenericType getActualTypeArguments 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
QR S T UR S V WX YZ [ \ ]Z [ \ ^_ `Z [ \ aZ [ \ bc dc ec fc gc ' hi j 6 ?*? *? Y? YSYSYSYSYSY SY
S? ? ?
*? Y? YSYSYSYSYSYSYSYSYSY SY
SYS? ? ? *? *? Y? YS? ? ? *? Y? ? *? ? *? ? !*? ? "*? ? #*? ? $? k 2 4 <