Searched refs:StringProvider (Results 1 – 9 of 9) sorted by relevance
105 bind(String.class).toProvider(StringProvider.class); in testProvider_usingJdk8Features()120 bind(String.class).toProvider(StringProvider.class); in testProvider_usingJdk8Features()127 private static final class StringProvider implements Provider<String> { class in Java8LanguageFeatureBindingTest131 StringProvider(UUID uuid) { in StringProvider() method in Java8LanguageFeatureBindingTest.StringProvider
104 final Provider<String> stringProvider = new StringProvider(); in testToProviderBinding()137 bind(String.class).toProvider(StringProvider.class); in testToProviderKeyBinding()150 assertEquals(Key.get(StringProvider.class), binding.getProviderKey()); in testToProviderKeyBinding()310 .toProvider(StringProvider.class) in testScopes()314 .toProvider(StringProvider.class) in testScopes()318 .toProvider(StringProvider.class) in testScopes()320 bind(String.class).annotatedWith(Names.named("d")).toProvider(StringProvider.class); in testScopes()496 private static class StringProvider implements Provider<String> { class in SpiBindingsTest
20 public class StringProvider implements Provider { class26 public StringProvider(String string) { in StringProvider() method in StringProvider
9017 this(new StringProvider(dsl)); in ASTParser()9021 ReInit(new StringProvider(s)); in ReInit()
28 public class StringProvider implements Provider { class34 public StringProvider(String string) { in StringProvider() method in StringProvider
10064 this(new StringProvider(dsl)); in GeneratedJavaParser()10068 ReInit(new StringProvider(s)); in ReInit()
58 return new StringProvider(assertNotNull(source)); in provider()
78 return new StringProvider(assertNotNull(source)); in provider()
143 … return javaParser.parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)).getResult().get(); in parseWithTypeSolver()