MCPcopy Index your code
hub / github.com/OpenFeign/feign / EmptyTarget

Method EmptyTarget

core/src/main/java/feign/Target.java:144–147  ·  view source on GitHub ↗
(Class<T> type, String name)

Source from the content-addressed store, hash-verified

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());

Callers

nothing calls this directly

Calls 2

checkNotNullMethod · 0.80
emptyToNullMethod · 0.80

Tested by

no test coverage detected