File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 88import org .hibernate .processor .model .Metamodel ;
99import org .hibernate .processor .util .Constants ;
1010
11+ import static org .hibernate .processor .util .Constants .EVENT ;
1112import static org .hibernate .processor .util .Constants .INJECT ;
1213import static org .hibernate .processor .util .Constants .JD_LIFECYCLE_EVENT ;
1314
@@ -38,6 +39,7 @@ public boolean hasStringAttribute() {
3839 @ Override
3940 public String getAttributeDeclarationString () {
4041 annotationMetaEntity .importType (INJECT );
42+ annotationMetaEntity .importType (EVENT );
4143 annotationMetaEntity .importType (JD_LIFECYCLE_EVENT );
4244 return "\n @Inject\n private Event<? super LifecycleEvent<?>> event;" ;
4345 }
You can’t perform that action at this time.
0 commit comments