blob: c8cd29316ae03d6ad66e6cb42dc766b38b3f4b72 [file] [log] [blame]
package com.google.googlejavaformat.java.test;
/**
* Tests for ThisExpressions, ThrowStatements, TryStatements, TypeDeclarationStatements,
* TypeDeclarations, TypeLiterals, TypeMethodReferences, TypeParameters, and Types.
*/
class T<T1, T2, T3> {
// TODO(jdd): Add tests for higher language levels.
T f(int x) throws Exception {
class TT {}
if (x == 0 || T.class == null) {
return this;
}
try (AutoCloseable y = null) {
throw new RuntimeException();
}
}
}