1package com.google.googlejavaformat.java.test; 2 3/** 4 * Tests for ThisExpressions, ThrowStatements, TryStatements, TypeDeclarationStatements, 5 * TypeDeclarations, TypeLiterals, TypeMethodReferences, TypeParameters, and Types. 6 */ 7class T<T1, T2, T3> { 8 // TODO(jdd): Add tests for higher language levels. 9 10 T f(int x) throws Exception { 11 class TT {} 12 if (x == 0 || T.class == null) { 13 return this; 14 } 15 try (AutoCloseable y = null) { 16 throw new RuntimeException(); 17 } 18 } 19} 20