File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
validator-generator/src/main/java/io/avaje/validation/generator
validator/src/main/java/io/avaje/validation/spi Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ void read() {
3030 private void readMetaData (TypeElement moduleType ) {
3131 for (final AnnotationMirror annotationMirror : moduleType .getAnnotationMirrors ()) {
3232 final MetaDataPrism metaData = MetaDataPrism .getInstance (annotationMirror );
33- final FactoryPrism metaDataFactory = FactoryPrism .getInstance (annotationMirror );
33+ final ValidFactoryPrism metaDataFactory = ValidFactoryPrism .getInstance (annotationMirror );
3434 final AnnotationFactoryPrism metaDataAnnotationFactory = AnnotationFactoryPrism .getInstance (annotationMirror );
3535
3636 if (metaData != null ) {
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ private void writeClassStart() {
103103 .map (s -> s .getQualifiedName ().toString ())
104104 .toList ();
105105 if (!factories .isEmpty ()) {
106- writer .append ("@MetaData.Factory ({" );
106+ writer .append ("@MetaData.ValidFactory ({" );
107107 writeMetaDataEntry (annotationFactories );
108108 writer .append ("})" ).eol ();
109109 }
Original file line number Diff line number Diff line change 11@ GeneratePrism (io .avaje .validation .adapter .ConstraintAdapter .class )
22@ GeneratePrism (io .avaje .validation .ImportValidPojo .class )
33@ GeneratePrism (io .avaje .validation .spi .MetaData .class )
4- @ GeneratePrism (io .avaje .validation .spi .MetaData .Factory .class )
4+ @ GeneratePrism (io .avaje .validation .spi .MetaData .ValidFactory .class )
55@ GeneratePrism (io .avaje .validation .spi .MetaData .AnnotationFactory .class )
66@ GeneratePrism (io .avaje .validation .MixIn .class )
77@ GeneratePrism (org .jspecify .annotations .NullMarked .class )
Original file line number Diff line number Diff line change 2020 /**
2121 * For internal use, holds metadata on generated adapters that also have factories.
2222 */
23- @interface Factory {
23+ @interface ValidFactory {
2424
2525 /**
2626 * The generated ValidationAdapters that have a factory.
You can’t perform that action at this time.
0 commit comments