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