mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
add missing object type
This commit is contained in:
parent
4d724291c8
commit
0eaf12e805
@ -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":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user