add missing object type

This commit is contained in:
Renaud Pawlak 2020-06-15 13:57:09 +02:00
parent 4d724291c8
commit 0eaf12e805

View File

@ -80,6 +80,8 @@ public class UtilSupport implements Util {
@Override @Override
public TypeMirror getType(Class<?> clazz) { public TypeMirror getType(Class<?> clazz) {
switch (clazz.getName()) { switch (clazz.getName()) {
case "java.lang.Object":
return context.symtab.objectType;
case "java.lang.annotation.Annotation": case "java.lang.annotation.Annotation":
return context.symtab.annotationType; return context.symtab.annotationType;
case "java.lang.AssertionError": case "java.lang.AssertionError":