| 4 | // Visit http://OnJava8.com for more book information. |
| 5 | |
| 6 | public class BasicHolder<T> { |
| 7 | T element; |
| 8 | void set(T arg) { element = arg; } |
| 9 | T get() { return element; } |
| 10 | void f() { |
| 11 | System.out.println( |
| 12 | element.getClass().getSimpleName()); |
| 13 | } |
| 14 | } |
nothing calls this directly
no outgoing calls
no test coverage detected