@Test
	public void keepClassModifiers() {
		CharSequence rewrited = PostprocessingMachine.rewrite(LINES.join(
				"package mypack;",
				"private final class My{}"));

		check(rewrited).hasToString(LINES.join(
				"package mypack;",
				"",
				"private final class My{}"));

		rewrited = PostprocessingMachine.rewrite(LINES.join(
				"import java.util.List;",
				"abstract class My{}"));

		check(rewrited).hasToString(LINES.join(
				"import java.util.List;",
				"abstract class My{}"));

		rewrited = PostprocessingMachine.rewrite(LINES.join(
				"package mypack;",
				"import java.util.List;",
				"abstract class My{}"));

		check(rewrited).hasToString(LINES.join(
				"package mypack;",
				"",
				"import java.util.List;",
				"abstract class My{}"));

		rewrited = PostprocessingMachine.rewrite("public final class My{}");

		check(rewrited).hasToString("public final class My{}");
	}
",
						"class name in block comment java.util.Map.get()",
						"*
generator/test/org/immutables/generator/PostprocessingMachineTest.java