blob: 1f0a141a253908cc53ec2ab34266b8df47c233f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Issue #2729
package com.puppycrawl.tools.checkstyle.grammars.java8;
import java.util.Arrays;
public class InputMethodReferences4 {
public void doSomething(final Object... arguments) {
Arrays.stream(arguments)
.map(Object::getClass)
.toArray(Class<?>[]::new);
}
}
|