Skip to content

Commit

Permalink
endpoints - Fixed issue on annotation processing error when using a p…
Browse files Browse the repository at this point in the history
…arameterized class in annotations value
  • Loading branch information
fcamblor committed Feb 10, 2018
1 parent b717a76 commit 2ea9752
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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))
Expand Down

0 comments on commit 2ea9752

Please sign in to comment.