Merge branch '2.0.x'

pull/14149/head
Stephane Nicoll 6 years ago
commit 91af9e2ca9

@ -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 {

Loading…
Cancel
Save