org.apache.cayenne.dbsync.naming.DeduplicationVisitor.class Maven / Gradle / Ivy
???? 4s
? L ?
? ? ? L ? L ? ?
L ? ? ? ? ? ?
L ?
L ? ? ? ? ? ? ?
? ?
? ?
?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ?
L ? ?
' ?
' ? ?
* ? ?
* ?
? ?
* ?
' ? ? ? ?
2 ?
2 ? ?
5 ?
7 ? ?
<
5
@
5
5
5
5
F
F
J parent 4Lorg/apache/cayenne/configuration/ConfigurationNode; baseName Ljava/lang/String; dupesPattern [(Lorg/apache/cayenne/configuration/ConfigurationNode;Ljava/lang/String;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this 7Lorg/apache/cayenne/dbsync/naming/DeduplicationVisitor; visitDataChannelDescriptor L(Lorg/apache/cayenne/configuration/DataChannelDescriptor;)Ljava/lang/String; channelDescriptor 8Lorg/apache/cayenne/configuration/DataChannelDescriptor; visitDataNodeDescriptor I(Lorg/apache/cayenne/configuration/DataNodeDescriptor;)Ljava/lang/String; nodeDescriptor 5Lorg/apache/cayenne/configuration/DataNodeDescriptor; visitDataMap 4(Lorg/apache/cayenne/map/DataMap;)Ljava/lang/String; dataMap Lorg/apache/cayenne/map/DataMap; visitObjEntity 6(Lorg/apache/cayenne/map/ObjEntity;)Ljava/lang/String; entity "Lorg/apache/cayenne/map/ObjEntity;
visitDbEntity 5(Lorg/apache/cayenne/map/DbEntity;)Ljava/lang/String; !Lorg/apache/cayenne/map/DbEntity; visitEmbeddable 7(Lorg/apache/cayenne/map/Embeddable;)Ljava/lang/String;
embeddable #Lorg/apache/cayenne/map/Embeddable; visitEmbeddableAttribute @(Lorg/apache/cayenne/map/EmbeddableAttribute;)Ljava/lang/String; attribute ,Lorg/apache/cayenne/map/EmbeddableAttribute; visitObjAttribute 9(Lorg/apache/cayenne/map/ObjAttribute;)Ljava/lang/String; %Lorg/apache/cayenne/map/ObjAttribute; visitDbAttribute 8(Lorg/apache/cayenne/map/DbAttribute;)Ljava/lang/String; $Lorg/apache/cayenne/map/DbAttribute; visitObjRelationship <(Lorg/apache/cayenne/map/ObjRelationship;)Ljava/lang/String; relationship (Lorg/apache/cayenne/map/ObjRelationship; visitDbRelationship ;(Lorg/apache/cayenne/map/DbRelationship;)Ljava/lang/String; 'Lorg/apache/cayenne/map/DbRelationship; visitProcedure 6(Lorg/apache/cayenne/map/Procedure;)Ljava/lang/String; procedure "Lorg/apache/cayenne/map/Procedure; visitProcedureParameter ?(Lorg/apache/cayenne/map/ProcedureParameter;)Ljava/lang/String; parameter +Lorg/apache/cayenne/map/ProcedureParameter;
visitQuery <(Lorg/apache/cayenne/map/QueryDescriptor;)Ljava/lang/String; query (Lorg/apache/cayenne/map/QueryDescriptor; resolve 2(Ljava/util/function/Predicate;)Ljava/lang/String; nameChecker Ljava/util/function/Predicate; c I name LocalVariableTypeTable 2Ljava/util/function/Predicate;
StackMapTable Signature F(Ljava/util/function/Predicate;)Ljava/lang/String; resolveDbEntityProperty ()Ljava/lang/String; resolveObjEntityProperty <(Lorg/apache/cayenne/map/QueryDescriptor;)Ljava/lang/Object; ?(Lorg/apache/cayenne/map/ProcedureParameter;)Ljava/lang/Object; 6(Lorg/apache/cayenne/map/Procedure;)Ljava/lang/Object; ;(Lorg/apache/cayenne/map/DbRelationship;)Ljava/lang/Object; <(Lorg/apache/cayenne/map/ObjRelationship;)Ljava/lang/Object; 8(Lorg/apache/cayenne/map/DbAttribute;)Ljava/lang/Object; 9(Lorg/apache/cayenne/map/ObjAttribute;)Ljava/lang/Object; @(Lorg/apache/cayenne/map/EmbeddableAttribute;)Ljava/lang/Object; 7(Lorg/apache/cayenne/map/Embeddable;)Ljava/lang/Object; 5(Lorg/apache/cayenne/map/DbEntity;)Ljava/lang/Object; 6(Lorg/apache/cayenne/map/ObjEntity;)Ljava/lang/Object; 4(Lorg/apache/cayenne/map/DataMap;)Ljava/lang/Object; I(Lorg/apache/cayenne/configuration/DataNodeDescriptor;)Ljava/lang/Object; L(Lorg/apache/cayenne/configuration/DataChannelDescriptor;)Ljava/lang/Object; "lambda$resolveObjEntityProperty$10 (Ljava/lang/String;)Z conflictingCallback lambda$resolveDbEntityProperty$9 lambda$visitQuery$8 lambda$visitProcedureParameter$7
parameter1 lambda$visitProcedure$6 !lambda$visitEmbeddableAttribute$5 lambda$visitEmbeddable$4 map lambda$visitDbEntity$3 lambda$visitObjEntity$2 lambda$visitDataMap$1 domain lambda$visitDataNodeDescriptor$0 dataNodeDescriptor dataChannelDescriptor aLjava/lang/Object;Lorg/apache/cayenne/configuration/ConfigurationNodeVisitor;
SourceFile DeduplicationVisitor.java S N O java/lang/String P Q R Q BootstrapMethods ? ? ?!"#$% ? ? ? ?&'() java/lang/Object*+,-./0 ? ? ? ? ? ? ? { | x y u v q r m n j k f g b c ^ _ Z [ org/apache/cayenne/map/ObjEntity1234 java/lang/StringBuilder get56789: ?;<=> org/apache/cayenne/map/DbEntity1?3@ org/apache/cayenne/map/DataMapAB org/apache/cayenne/map/ProcedureCDEFGHIJK )org/apache/cayenne/map/ProcedureParameterL ?MNO !org/apache/cayenne/map/Embeddable1PQ9RSTUVW 6org/apache/cayenne/configuration/DataChannelDescriptorXYZ[\ 3org/apache/cayenne/configuration/DataNodeDescriptor 5org/apache/cayenne/dbsync/naming/DeduplicationVisitor 9org/apache/cayenne/configuration/ConfigurationNodeVisitor java/util/Iterator ()V java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object;
]^ (Ljava/lang/Object;)Z
L_ test W(Lorg/apache/cayenne/dbsync/naming/DeduplicationVisitor;)Ljava/util/function/Predicate;
L`
La
Lb
Lc
Ld
Le
Lf
Lg java/util/function/Predicate java/lang/Integer valueOf (I)Ljava/lang/Integer; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
Lh
Li getAttribute 9(Ljava/lang/String;)Lorg/apache/cayenne/map/ObjAttribute; getRelationship <(Ljava/lang/String;)Lorg/apache/cayenne/map/ObjRelationship; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; )org/apache/cayenne/dbsync/naming/NameUtil
capitalize &(Ljava/lang/String;)Ljava/lang/String; toString getCallbackMethods ()Ljava/util/Set;
java/util/Set contains 8(Ljava/lang/String;)Lorg/apache/cayenne/map/DbAttribute; ;(Ljava/lang/String;)Lorg/apache/cayenne/map/DbRelationship; getQueryDescriptor <(Ljava/lang/String;)Lorg/apache/cayenne/map/QueryDescriptor; getCallParameters ()Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getName equals getProcedure 6(Ljava/lang/String;)Lorg/apache/cayenne/map/Procedure; @(Ljava/lang/String;)Lorg/apache/cayenne/map/EmbeddableAttribute; getNameWithDefaultPackage
getEmbeddable 7(Ljava/lang/String;)Lorg/apache/cayenne/map/Embeddable; getDbEntity 5(Ljava/lang/String;)Lorg/apache/cayenne/map/DbEntity; getObjEntity 6(Ljava/lang/String;)Lorg/apache/cayenne/map/ObjEntity;
getDataMap 4(Ljava/lang/String;)Lorg/apache/cayenne/map/DataMap; getNodeDescriptors ()Ljava/util/Collection; java/util/Collectionjko ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactoryq Lookup InnerClasses ?(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;r %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles L M N O P Q R Q + S T U x *? *+? *,? ? ? *-? ? ? ? V 2 3 4 5 6 W * X Y N O P Q R Q Z [ U 9 *? ? V ; W X Y \ ] ^ _ U ? **? ? ? V @ W X Y ` a b c U ? **? ? ? V N W X Y d e f g U ? **?
? ? V _ W X Y h i j k U ? **? ? ? V d W X Y h l m n U ? **? ? ? V i W X Y o p q r U ? **?
? ? V q W X Y s t u v U 9 *? ? V v W X Y s w x y U 9 *? ? V { W X Y s z { | U 9 *? ? V ? W X Y } ~ ? U 9 *? ? V ? W X Y } ? ? ? U ? **? ? ? V ? W X Y ? ? ? ? U ? **? ? ? V ? W X Y ? ? ? ? U ? **? ? ? V ? W X Y ? ? ? ? U ? 3=*? N+-? ? #*? ? Y*? SY?? S? N???-? V ? ? ? ? 1 ? W * 3 X Y 3 ? ? 1 ? ? , ? Q ? 3 ? ? ?
? ) ? ? ? ? U 5 **? ? ? V ? W X Y ? ? U 5 **? ? ? V ? W X Y A ? ? U 0 *+? ? V , W X Y A ? ? U 0 *+? ? V , W X Y A ? ? U 0 *+? ? V , W X Y A ? U 0 *+? ? V , W X Y A { ? U 0 *+? ? V , W X Y A x ? U 0 *+? ? V , W X Y A u ? U 0 *+? ? V , W X Y A q ? U 0 *+? ? V , W X Y A m ? U 0 *+? !? V , W X Y A j ? U 0 *+? "? V , W X Y A f ? U 0 *+? #? V , W X Y A b ? U 0 *+? $? V , W X Y A ^ ? U 0 *+? %? V , W X Y A Z ? U 0 *+? &? V , W X Y ? ? U ? <*? ? 'M,+? (? ,+? )? ?? *Y? +,? -+? .? -? /N,? 0-? 1 ? V ? ? ? ? 1 ? W * <