View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.whitespace.whitespaceafter;
2   
3   import java.util.Collection;
4   import java.util.Map;
5   
6   public class InputWhitespaceAfterGenerics<A, B extends Collection<?>, C extends D&E, F extends Collection<? extends InputWhitespaceAfterGenerics[]>>
7   {
8   }
9   
10  //No whitespace after commas
11  class BadCommas < A,B,C extends Map < A,String > >
12  {
13      private java.util.Hashtable < Integer, D > p =
14          new java.util.Hashtable < Integer, D > ();
15  }
16  
17  class Wildcard
18  {
19      public static void foo(Collection < ? extends Wildcard[] > collection) {
20          // A statement is important in this method to flush out any
21          // issues with parsing the wildcard in the signature
22          collection.size();
23      }
24  }
25  
26  // we need these interfaces for generics
27  interface D {
28  }
29  interface E {
30  }