View Javadoc
1   package com.puppycrawl.tools.checkstyle.grammars.java8;
2   import java.util.function.Function;
3   import java.util.function.Supplier;
4   
5   
6   public class InputMethodReferences2
7   {
8   
9       public static void main(String[] args)
10      {
11  
12          Supplier<InputMethodReferences2> supplier = InputMethodReferences2::new;
13          Supplier<InputMethodReferences2> suppl = InputMethodReferences2::<Integer> new;
14          Function<Integer, String[]> messageArrayFactory = String[]::new;
15  
16      }
17  
18      private class Bar<T>
19      {
20  
21      }
22  }