1 package com.google.checkstyle.test.chapter5naming.rule528typevariablenames;
2
3 import java.io.Serializable;
4
5 class InputMethodTypeParameterName<T> {
6 public <TT> void foo() {}
7
8 <e_e> void foo(int i) {
9 }
10 }
11
12
13 class Other2<T extends Serializable & Cloneable> {
14
15 T getOne() {
16 return null;
17 }
18
19 <Tfo$o2T extends T> Tfo$o2T getTwo(Tfo$o2T a) {
20
21 return null;
22 }
23
24 <foo_ extends Runnable> T getShadow() {
25
26 return null;
27 }
28
29 static class Junk<E> {
30 <_abc extends E> void getMoreFoo() {
31
32 }
33 }
34 }
35
36
37 class MoreOther3<T extends Cloneable> {
38
39 <E extends T> void getMore() {
40 new Other2() {
41 <T$> void getMoreFoo() {
42 }
43 };
44
45 Other2 o =
46 new Other2() {
47 <EE> void getMoreFoo() {
48 }
49 };
50 }
51 }