org.apache.cayenne.project.compatibility.CompatibilityUpgradeService.class Maven / Gradle / Ivy
The newest version!
???? 7 w
8org/apache/cayenne/project/upgrade/DefaultUpgradeService (Ljava/util/List;)V
Dorg/apache/cayenne/project/compatibility/CompatibilityUpgradeService loadProjectVersion :(Lorg/apache/cayenne/resource/Resource;)Ljava/lang/String;
getHandlersForVersion $(Ljava/lang/String;)Ljava/util/List;
upgradeDOM H(Lorg/apache/cayenne/resource/Resource;Ljava/util/List;)Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z " # $ next ()Ljava/lang/Object; & .org/apache/cayenne/project/upgrade/UpgradeUnit ( ) * documentProvider ;Lorg/apache/cayenne/project/compatibility/DocumentProvider;
% , - . getResource (()Lorg/apache/cayenne/resource/Resource; 0 1 2 3 4 $org/apache/cayenne/resource/Resource getURL ()Ljava/net/URL;
% 6 7 8 getDocument ()Lorg/w3c/dom/Document; : ; < = > 9org/apache/cayenne/project/compatibility/DocumentProvider putDocument '(Ljava/net/URL;Lorg/w3c/dom/Document;)V
@ A B C D org/apache/cayenne/util/Util readDocument &(Ljava/net/URL;)Lorg/w3c/dom/Document;
% F G ?(Lorg/apache/cayenne/resource/Resource;Lorg/w3c/dom/Document;)V I :org/apache/cayenne/project/upgrade/handlers/UpgradeHandler H K L M processDataMapDom 3(Lorg/apache/cayenne/project/upgrade/UpgradeUnit;)V H O P Q processModel ;(Lorg/apache/cayenne/configuration/DataChannelDescriptor;)V RuntimeVisibleAnnotations Lorg/apache/cayenne/di/Inject; Code LineNumberTable LocalVariableTable this FLorg/apache/cayenne/project/compatibility/CompatibilityUpgradeService; handlerList Ljava/util/List; LocalVariableTypeTable NLjava/util/List; Signature Q(Ljava/util/List;)V "RuntimeVisibleParameterAnnotations upgradeProject N(Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/resource/Resource; unit 0Lorg/apache/cayenne/project/upgrade/UpgradeUnit; resource &Lorg/apache/cayenne/resource/Resource; upgradeUnits BLjava/util/List;
StackMapTable upgradeDataMap handler