Searched refs:typeKey (Results 1 – 7 of 7) sorted by relevance
297 private final Key<T> typeKey; field in OptionalBinder.RealOptionalBinder321 private RealOptionalBinder(Binder binder, Key<T> typeKey) { in RealOptionalBinder() argument323 this.typeKey = checkNotNull(typeKey); in RealOptionalBinder()324 TypeLiteral<T> literal = typeKey.getTypeLiteral(); in RealOptionalBinder()325 this.optionalKey = typeKey.ofType(optionalOf(literal)); in RealOptionalBinder()326 this.optionalJavaxProviderKey = typeKey.ofType(optionalOfJavaxProvider(literal)); in RealOptionalBinder()327 this.optionalProviderKey = typeKey.ofType(optionalOfProvider(literal)); in RealOptionalBinder()329 String name = RealElement.nameOf(typeKey); in RealOptionalBinder()330 this.defaultKey = Key.get(typeKey.getTypeLiteral(), new DefaultImpl(name)); in RealOptionalBinder()331 this.actualKey = Key.get(typeKey.getTypeLiteral(), new ActualImpl(name)); in RealOptionalBinder()[all …]
221 final Key<? extends T> typeKey; in providing() local228 typeKey = Key.get(cxtorLiteral, UniqueAnnotations.create()); in providing()229 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()230 typeProvider = binder.getProvider((Key<T>) typeKey); in providing()234 typeKey = null; in providing()261 return ImmutableSet.<Dependency<?>>of(Dependency.get(typeKey)); in providing()
138 String typeKey = baseKey + "_type"; in handleHistoryArguments() local140 if (!arguments.containsKey(typeKey) || !arguments.containsKey(valueKey)) { in handleHistoryArguments()144 String typeName = arguments.get(typeKey), value = arguments.get(valueKey); in handleHistoryArguments()
132 …String typeKey = (typeKeyExt == null)? KIND_NAMES[kind]: KIND_NAMES[kind] + typeKeyE… in createBreakInstance() local133 String brkfname = rb.getStringWithFallback("boundaries/" + typeKey); in createBreakInstance()
133 …String typeKey = (typeKeyExt == null)? KIND_NAMES[kind]: KIND_NAMES[kind] + typeKeyE… in createBreakInstance() local134 String brkfname = rb.getStringWithFallback("boundaries/" + typeKey); in createBreakInstance()
641 const char *typeKey; in getRuleFromResource() local644 typeKey = "locales"; in getRuleFromResource()647 typeKey = "locales_ordinals"; in getRuleFromResource()654 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode)); in getRuleFromResource()
522 for (TypeKey typeKey: types) {523 writer.writeUshort(typeSection.getItemIndex(typeKey));