File tree 1 file changed +5
-0
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 15
15
import javax .lang .model .element .ElementKind ;
16
16
import javax .lang .model .element .TypeElement ;
17
17
import javax .lang .model .element .VariableElement ;
18
+ import javax .lang .model .type .TypeMirror ;
18
19
import javax .tools .Diagnostic ;
19
20
import javax .tools .FileObject ;
20
21
import java .io .IOException ;
@@ -174,6 +175,10 @@ else if (argument instanceof AnnotationMirror) {
174
175
AnnotationMirror childAnnotation = (AnnotationMirror ) argument ;
175
176
printAnnotation ( childAnnotation , pw );
176
177
}
178
+ else if (argument instanceof TypeMirror ) {
179
+ pw .print (argument );
180
+ pw .print (".class" );
181
+ }
177
182
else if (argument instanceof List ) {
178
183
final List <? extends AnnotationValue > list =
179
184
(List <? extends AnnotationValue >) argument ;
You can’t perform that action at this time.
0 commit comments