Commit 91af9e2c authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.0.x'

parents b26dedb5 d80ed273
...@@ -87,7 +87,7 @@ class TypeUtils { ...@@ -87,7 +87,7 @@ class TypeUtils {
private TypeMirror getDeclaredType(Types types, Class<?> typeClass, private TypeMirror getDeclaredType(Types types, Class<?> typeClass,
int numberOfTypeArgs) { int numberOfTypeArgs) {
TypeMirror[] typeArgs = new TypeMirror[numberOfTypeArgs]; TypeMirror[] typeArgs = new TypeMirror[numberOfTypeArgs];
Arrays.setAll(typeArgs, i -> types.getWildcardType(null, null)); Arrays.setAll(typeArgs, (i) -> types.getWildcardType(null, null));
TypeElement typeElement = this.env.getElementUtils() TypeElement typeElement = this.env.getElementUtils()
.getTypeElement(typeClass.getName()); .getTypeElement(typeClass.getName());
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment