blob: fc9bc0978c9d640404b5aba5aafce4f3d697611f [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(user): 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();
}
}
}