1 package com.google.checkstyle.test.chapter5naming.rule528typevariablenames;
2
3 import java.io.Serializable;
4
5 public class InputInterfaceTypeParameterName <t>
6 {
7 public <TT> void foo() { }
8
9 <e_e> void foo(int i) {
10 }
11 }
12
13 class OtherClass <foo extends Serializable & Cloneable> {
14
15 foo getOne() {
16 return null;
17 }
18
19 <Tfo$o2T extends foo> Tfo$o2T getTwo(Tfo$o2T a) {
20 return null;
21 }
22
23 <foo extends Runnable> foo getShadow() {
24 return null;
25 }
26
27 static class Junk <foo> {
28 <_fo extends foo> void getMoreFoo() {
29 }
30 }
31 }
32
33 class MoreOtherClass <T extends Cloneable> {
34
35 <E extends T> void getMore() {
36 new Other() {
37 <T> void getMoreFoo() {
38 }
39 };
40
41
42
43
44
45 }
46 }
47
48 interface Boo<Input> {
49 Input boo();
50 }
51
52 interface FooInterface<T> {
53 T foo();
54 }
55
56 interface FooInterface2 {
57 Input foo();
58 }
59
60 interface FooInterface3<T2> {
61 Input foo();
62 }
63
64 interface FooInterface4<E> {
65 Input foo();
66 }
67
68 interface FooInterface5<X> {
69 Input foo();
70 }
71
72 interface FooInterface6<RequestT> {
73 Input foo();
74 }
75
76 interface FooInterface7<Request> {
77 Input foo();
78 }
79
80 interface FooInterface8<TRequest> {
81 Input foo();
82 }
83
84 class Input {
85
86 }