Home
last modified time | relevance | path

Searched refs:newFactory (Results 1 – 14 of 14) sorted by relevance

/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProviderTest.java68 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testAssistedFactory()
90 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testFactoryBindingDependencies()
110 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Camaro.class)); in testAssistedFactoryWithAnnotations()
174 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryWithMultipleMethods()
216 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()
253 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Porshe.class)); in testMethodsAndFieldsGetInjected()
292 FactoryProvider.newFactory(ColoredCarFactory.class, Firebird.class)); in testProviderInjection()
324 FactoryProvider.newFactory(ColoredCarFactory.class, DeLorean.class)); in testTypeTokenInjection()
357 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Z.class)); in testTypeTokenProviderInjection()
395 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Prius.class)); in testAssistInjectionInNonPublicConstructor()
[all …]
DFactoryProvider2Test.java65 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testAssistedFactory()
88 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Camaro.class)); in testAssistedFactoryWithAnnotations()
152 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryUsesInjectedConstructor()
189 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()
217 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Porsche.class)); in testMethodsAndFieldsGetInjected()
256 FactoryProvider.newFactory(ColoredCarFactory.class, Firebird.class)); in testProviderInjection()
286 FactoryProvider.newFactory(ColoredCarFactory.class, Flamingbird.class)); in testAssistedProviderInjection()
325 FactoryProvider.newFactory(ColoredCarFactory.class, DeLorean.class)); in testTypeTokenInjection()
358 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Z.class)); in testTypeTokenProviderInjection()
395 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Prius.class)); in testAssistInjectionInNonPublicConstructor()
[all …]
/external/apache-http/src/org/apache/commons/logging/
DLogFactory.java462 factory = newFactory(factoryClass, baseClassLoader, contextClassLoader); in getFactory()
534 … factory = newFactory(factoryClassName, baseClassLoader, contextClassLoader ); in getFactory()
577 factory = newFactory(factoryClass, baseClassLoader, contextClassLoader); in getFactory()
615 factory = newFactory(FACTORY_DEFAULT, thisClassLoader, contextClassLoader); in getFactory()
998 protected static LogFactory newFactory(final String factoryClass,
1045 protected static LogFactory newFactory(final String factoryClass,
1047 return newFactory(factoryClass, classLoader, null);
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/
DLogFactory.java395 …protected static LogFactory newFactory(final String factoryClass, final ClassLoader classLoader, f… in newFactory() method in LogFactory
403 … protected static LogFactory newFactory(final String factoryClass, final ClassLoader classLoader) { in newFactory() method in LogFactory
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateComparison.java82 Factory newFactory = Factory.make(newDirectory, filter); in main() local
83 CLDRFile english = newFactory.make("en", true); in main()
84 CLDRFile newRoot = newFactory.make("root", true); in main()
89 Set<String> newList = newFactory.getAvailableLanguages(); in main()
128 newFile = newFactory.make(locale, true, true); in main()
DShowLocaleCoverage.java378 org.unicode.cldr.util.Factory newFactory = dir == null ? factory in addGrowth() local
383 Set<String> latestAvailable = newFactory.getAvailableLanguages(); in addGrowth()
384 for (String locale : newFactory.getAvailableLanguages()) { in addGrowth()
410 final CLDRFile file = newFactory.make(locale, true); in addGrowth()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java178 public static <F> Provider<F> newFactory(Class<F> factoryType, Class<?> implementationType) { in newFactory() method in FactoryProvider
179 return newFactory(TypeLiteral.get(factoryType), TypeLiteral.get(implementationType)); in newFactory()
182 public static <F> Provider<F> newFactory( in newFactory() method in FactoryProvider
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DGsonModule.java65 return TypeAdapters.newFactory(Instant.class, typeAdapter); in provideTypeAdapterFactoryForInstant()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DHDFDataFactory.java38 this(NewHdfParser.newFactory(stringInternStrategy), ignoreAttributes); in HDFDataFactory()
DDefaultHdfParser.java140 public static ParserFactory newFactory() { in newFactory() method in DefaultHdfParser
DNewHdfParser.java186 public static ParserFactory newFactory(StringInternStrategy stringInternStrategy) { in newFactory() method in NewHdfParser
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DStaxValueLoaderTest.java59 XMLInputFactory factory = XMLInputFactory.newFactory(); in parse()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStaxDocumentLoader.java20 factory = XMLInputFactory.newFactory(); in StaxDocumentLoader()
/external/apache-http/api/
Dcurrent.txt665 …method @Deprecated protected static org.apache.commons.logging.LogFactory newFactory(String, Class…
666 …method @Deprecated protected static org.apache.commons.logging.LogFactory newFactory(String, Class…