10311032103310341035103610371038
static <T> InternalFactory<T> invalidFactory() { return (InternalFactory<T>) INVALID_FACTORY; } public String toString() { return new ToStringBuilder(Injector.class).add("bindings", bindings) .toString(); }
333435363738394041
public T get(InternalContext ignored) { return value; } public String toString() { return new ToStringBuilder(ConstantFactory.class) .add("value", value) .toString(); }
186187188189190191192193194195
return annotationStrategy.equals(other.annotationStrategy) && typeLiteral.equals(other.typeLiteral); } public String toString() { return new ToStringBuilder(Key.class) .add("type", typeLiteral) .add("annotation", annotationStrategy) .toString(); }
6869707172737475767778
boolean isConstant() { return internalFactory instanceof ConstantFactory<?>; } public String toString() { return new ToStringBuilder(BindingImpl.class) .add("key", key) .add("source", source) .add("provider", internalFactory) .toString(); }
298299300301302303304305306307
public T get(InternalContext context) { return targetFactory.get(context); } public String toString() { return new ToStringBuilder(FactoryProxy.class) .add("key", key) .add("provider", targetFactory) .toString(); }
333334335336337338339340341342
public T get(InternalContext context) { return implicitFactory.get(context); } public String toString() { return new ToStringBuilder(FactoryProxy.class) .add("key", key) .add("provider", implicitFactory) .toString(); }
101910201021102210231024102510261027
static <T> InternalFactory<T> invalidFactory() { return (InternalFactory<T>) INVALID_FACTORY; } public String toString() { return new ToStringBuilder(Injector.class) .add("bindings", bindings) .toString(); }
99100101102103104105106107108109
} @Override public String toString() { return new ToStringBuilder(this.getClass()) .add("scopeName", scopeName) .add("type", type) .add("key", key) .add("creator", creator) .toString();