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