1 package edu.umd.cs.findbugs.examples; 2 3 import javax.annotation.meta.When; 4 5 import edu.umd.cs.findbugs.DottedClassName; 6 import edu.umd.cs.findbugs.SlashedClassName; 7 8 @ParametersAreSlashedByDefault 9 public class TestDefaults { 10 public void foo(String c) {} 11 12 public void foo2(@DottedClassName String c) { 13 foo(c); 14 } 15 16 public void foo3(@SlashedClassName(when=When.UNKNOWN) String c) { 17 foo(c); 18 } 19 } 20