View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.annotation.suppresswarnings;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   public class InputSuppressWarningsValuePair
7   {
8       public static final String UNCHECKED = "unchecked";
9   
10      public static void test() {
11          @SuppressWarnings(value = UNCHECKED)
12          final List<String> dummyOne = (List<String>) new ArrayList();
13      }
14  }