org.apache.cayenne.tools.CayenneGeneratorMojo.class Maven / Gradle / Ivy
???? 4
? ? ?
? ? ?
? ?
?
?
?
?
?
T
?
T
?
T
?
?
!
?"
?#
?$
?%&'(
2) * +
?,-.
8/ 4
?5 6 7 8 9 : ; < = > ? @ A B C D E F G
HIJK PLMN SO PQ ?R
ST
Z ?U
ZV
TW
?X
ZYZ
T[
T\ ]
?^
T_
`a
Tb
Tc
Td
Tef
?g
h
Ti
Tj
Tk
Tl
Tm
Tn
To
Tp
Tq
Tr
Ts
Tt
Tu
Tv
Tw
Tx
Ty
Tz
T{
T|
T}
T~
T
T?
T?
T?
T?
T???????? ??
????
???
???? NO_FILES [Ljava/io/File; additionalMaps Ljava/io/File; RuntimeInvisibleAnnotations 0Lorg/apache/maven/plugins/annotations/Parameter; client Ljava/lang/Boolean;
defaultDir defaultValue ${project.build.sourceDirectory} destDir encoding Ljava/lang/String; excludeEntities includeEntities excludeEmbeddables makePairs map required mode
outputPattern overwrite superPkg
superTemplate template embeddableSuperTemplate embeddableTemplate
usePkgPath createPropertyNames force Z false property
queryTemplate querySuperTemplate createPKProperties externalToolConfig injector Lorg/apache/cayenne/di/Injector; logger Lorg/slf4j/Logger; useConfigFromDataMap ()V Code LineNumberTable LocalVariableTable this /Lorg/apache/cayenne/tools/CayenneGeneratorMojo; execute dataMap Lorg/apache/cayenne/map/DataMap; generator .Lorg/apache/cayenne/gen/ClassGenerationAction; filterEntityAction =Lorg/apache/cayenne/tools/CayenneGeneratorEntityFilterAction; filterEmbeddableAction ALorg/apache/cayenne/tools/CayenneGeneratorEmbeddableFilterAction; e Ljava/lang/Exception; loaderAction :Lorg/apache/cayenne/tools/CayenneGeneratorMapLoaderAction;
StackMapTable??
Exceptions convertAdditionalDataMaps ()[Ljava/io/File; hasConfig ()Z createGenerator P(Lorg/apache/cayenne/map/DataMap;)Lorg/apache/cayenne/gen/ClassGenerationAction; cgenConfiguration *Lorg/apache/cayenne/gen/CgenConfiguration; buildConfiguration L(Lorg/apache/cayenne/map/DataMap;)Lorg/apache/cayenne/gen/CgenConfiguration; cgenConfigFromPom? replaceDatamapGenerationMode "lambda$convertAdditionalDataMaps$0 #(Ljava/io/File;Ljava/lang/String;)Z dir name
SourceFile CayenneGeneratorMojo.java +Lorg/apache/maven/plugins/annotations/Mojo; cgen defaultPhase 5Lorg/apache/maven/plugins/annotations/LifecyclePhase; GENERATE_SOURCES ? ? -org/apache/cayenne/tools/ToolsInjectorBuilder ;org/apache/cayenne/dbsync/reverse/configuration/ToolsModule -org/apache/cayenne/tools/CayenneGeneratorMojo??? ?????? ? ? $org/apache/cayenne/tools/MavenLogger ?? 8org/apache/cayenne/tools/CayenneGeneratorMapLoaderAction ?? ? ??? ? ????? ? ? ;org/apache/cayenne/tools/CayenneGeneratorEntityFilterAction ? ? ? ?????? ?org/apache/cayenne/tools/CayenneGeneratorEmbeddableFilterAction ? ???? ????? ? ??????? ? ? ? ?? ????????????? ? ? java/lang/Exception .org/apache/maven/plugin/MojoExecutionException Error generating classes: ?? ? ? ? ?? ? ,org/apache/maven/plugin/MojoFailureException %'additionalMaps' must be a directory. ?? BootstrapMethods? ?????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3org/apache/cayenne/gen/ClassGenerationActionFactory????? 8org/apache/cayenne/configuration/xml/DataChannelMetaData (org/apache/cayenne/gen/CgenConfiguration?? ? ? Using cgen config from pom.xml?? ? ? java/lang/StringBuilder Using cgen config from ???????? Using default cgen config. ???? ? ??????? ?????? ??? datamap?? ? ?????????? ???????????????????????? ???? ???????????? ??? ?? 2org/apache/cayenne/gen/ClientClassGenerationAction $templates/v4_1/client-singleclass.vm ,org/apache/cayenne/gen/ClassGenerationAction templates/v4_1/singleclass.vm (templates/v4_1/embeddable-singleclass.vm ,templates/v4_1/client-datamap-singleclass.vm %templates/v4_1/datamap-singleclass.vm? * ? .map.xml java/io/File $org/apache/maven/plugin/AbstractMojo org/slf4j/Logger org/apache/cayenne/map/DataMap java/lang/String org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; (Lorg/slf4j/Logger;)V addModule O(Lorg/apache/cayenne/di/Module;)Lorg/apache/cayenne/tools/ToolsInjectorBuilder; create "()Lorg/apache/cayenne/di/Injector; )(Lorg/apache/maven/plugin/AbstractMojo;)V #(Lorg/apache/cayenne/di/Injector;)V setMainDataMapFile (Ljava/io/File;)V setAdditionalDataMapFiles ([Ljava/io/File;)V getMainDataMap "()Lorg/apache/cayenne/map/DataMap; 3org/apache/cayenne/dbsync/filter/NamePatternMatcher build m(Lorg/slf4j/Logger;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cayenne/dbsync/filter/NamePatternMatcher;
setNameFilter 0(Lorg/apache/cayenne/dbsync/filter/NameFilter;)V getCgenConfiguration ,()Lorg/apache/cayenne/gen/CgenConfiguration; isClient setClient (Z)V setLogger setForce lastModified ()J setTimestamp (J)V prepareArtifacts getFilteredEntities 8(Lorg/apache/cayenne/map/DataMap;)Ljava/util/Collection; addEntities (Ljava/util/Collection;)V getFilteredEmbeddables addEmbeddables getQueryDescriptors ()Ljava/util/Collection;
addQueries *(Ljava/lang/String;Ljava/lang/Exception;)V isDirectory (Ljava/lang/String;)V
accept ()Ljava/io/FilenameFilter; listFiles )(Ljava/io/FilenameFilter;)[Ljava/io/File; org/apache/cayenne/di/Injector getInstance %(Ljava/lang/Class;)Ljava/lang/Object; createAction Z(Lorg/apache/cayenne/gen/CgenConfiguration;)Lorg/apache/cayenne/gen/ClassGenerationAction; get Y(Lorg/apache/cayenne/configuration/ConfigurationNode;Ljava/lang/Class;)Ljava/lang/Object; info append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getDataMap getName ()Ljava/lang/String; toString
setDataMap #(Lorg/apache/cayenne/map/DataMap;)V getPath
setRelPath java/lang/Boolean booleanValue getEncoding setEncoding isMakePairs setMakePairs equals (Ljava/lang/Object;)Z getArtifactsGenerationMode setArtifactsGenerationMode getOutputPattern setOutputPattern isOverwrite setOverwrite getSuperPkg setSuperPkg getSuperTemplate setSuperTemplate getTemplate setTemplate getEmbeddableSuperTemplate setEmbeddableSuperTemplate getEmbeddableTemplate setEmbeddableTemplate isUsePkgPath
setUsePkgPath isCreatePropertyNames setCreatePropertyNames getQueryTemplate setQueryTemplate getQuerySuperTemplate setQuerySuperTemplate isCreatePKProperties setCreatePKProperties getExternalToolConfig setExternalToolConfig .org/apache/cayenne/gen/ArtifactsGenerationMode ALL 0Lorg/apache/cayenne/gen/ArtifactsGenerationMode; getLabel toLowerCase endsWith (Ljava/lang/String;)Z
? ? "java/lang/invoke/LambdaMetafactory metafactory 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; %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?s ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Z ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?s ? ?s ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? / *? ? ? 2 ? ? ? ? ? ? ?*? Y? ? Y? ? ? ? ?
? Y*? L?
Y*?
? M,*? ? ,*? ? ,? N*-? :? Y? :+*? *? ? ? ? Y? :+*? ? ? ? ? ? !+? "*? #? ? ? $? *? ? %? &*? '? *? (? ? )? "-? *? +-? ,? --? .? /? 0? N? 2Y3-? 4?? : ? ? 1 ? r ? ? ? ? &