(Class<T> type, String name)
| 142 | private final String name; |
| 143 | |
| 144 | EmptyTarget(Class<T> type, String name) { |
| 145 | this.type = checkNotNull(type, "type"); |
| 146 | this.name = checkNotNull(emptyToNull(name), "name"); |
| 147 | } |
| 148 | |
| 149 | public static <T> EmptyTarget<T> create(Class<T> type) { |
| 150 | return new EmptyTarget<T>(type, "empty:" + type.getSimpleName()); |
nothing calls this directly
no test coverage detected