1 package com.google.checkstyle.test.chapter2filebasic.rule21filename; 2 3 /** Test for illegal tokens. */ 4 public class InputFileName2 { 5 /** Some javadoc. */ 6 public void defaultMethod() { 7 int i = 0; 8 switch (i) { 9 default: 10 i--; 11 i++; 12 break; 13 } 14 } 15 16 /** Some javadoc. */ 17 public native void nativeMethod(); 18 19 /** Some javadoc. */ 20 public void methodWithLiterals() { 21 final String ref = "<a href=\""; 22 final String refCase = "<A hReF=\""; 23 } 24 }