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