| 4 | // Visit http://OnJava8.com for more book information. |
| 5 | |
| 6 | public class NotSelfBounded<T> { |
| 7 | T element; |
| 8 | NotSelfBounded<T> set(T arg) { |
| 9 | element = arg; |
| 10 | return this; |
| 11 | } |
| 12 | T get() { return element; } |
| 13 | } |
| 14 | |
| 15 | class A2 extends NotSelfBounded<A2> {} |
| 16 | class B2 extends NotSelfBounded<A2> {} |
nothing calls this directly
no outgoing calls
no test coverage detected