Permalink
Browse files

endpoints - Fixed issue on annotation processing error when using a p…

…arameterized class in annotations value
  • Loading branch information...
fcamblor committed Feb 10, 2018
1 parent b717a76 commit 2ea975227bc6c3d455aa9ddb45618da6de5b1b87
@@ -170,7 +170,7 @@ public static AnnotationFieldKind valueOf(ProcessingEnvironment processingEnv, T
return PRIMITIVE;
} else if(String.class.getCanonicalName().equals(componentType.toString())) {
return STRING;
} else if(Class.class.getCanonicalName().equals(componentType.toString())) {
} else if(Class.class.getCanonicalName().equals(TypeHelper.rawTypeFrom(componentType.toString()))) {
return CLASS;
} else {
ImmutableList<String> superTypesClassNames = FluentIterable.from(processingEnv.getTypeUtils().directSupertypes(componentType))

0 comments on commit 2ea9752

Please sign in to comment.