File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1515import javax .lang .model .element .ElementKind ;
1616import javax .lang .model .element .TypeElement ;
1717import javax .lang .model .element .VariableElement ;
18+ import javax .lang .model .type .TypeMirror ;
1819import javax .tools .Diagnostic ;
1920import javax .tools .FileObject ;
2021import java .io .IOException ;
@@ -174,6 +175,10 @@ else if (argument instanceof AnnotationMirror) {
174175 AnnotationMirror childAnnotation = (AnnotationMirror ) argument ;
175176 printAnnotation ( childAnnotation , pw );
176177 }
178+ else if (argument instanceof TypeMirror ) {
179+ pw .print (argument );
180+ pw .print (".class" );
181+ }
177182 else if (argument instanceof List ) {
178183 final List <? extends AnnotationValue > list =
179184 (List <? extends AnnotationValue >) argument ;
You can’t perform that action at this time.
0 commit comments