Home
last modified time | relevance | path

Searched refs:StringProvider (Results 1 – 17 of 17) sorted by relevance

/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DJava8LanguageFeatureBindingTest.java105 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 Java8LanguageFeatureBindingTest
131 StringProvider(UUID uuid) { in StringProvider() method in Java8LanguageFeatureBindingTest.StringProvider
/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java104 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
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DStringProvider.java28 public class StringProvider implements Provider { class
34 public StringProvider(String string) { in StringProvider() method in StringProvider
DGeneratedJavaParser.java10358 this(new StringProvider(dsl)); in GeneratedJavaParser()
10362 ReInit(new StringProvider(s)); in ReInit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DStringProvider.java20 public class StringProvider implements Provider { class
26 public StringProvider(String string) { in StringProvider() method in StringProvider
DASTParser.java9017 this(new StringProvider(dsl)); in ASTParser()
9021 ReInit(new StringProvider(s)); in ReInit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue1946Test.java6 import com.github.javaparser.StringProvider;
30 … ParseResult<CompilationUnit> pr = jp.parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)); in issueWithInternalEnumConstantReference()
DSolveMethodDeclaredInEnumTest.java27 import com.github.javaparser.StringProvider;
55 …CompilationUnit cu = javaParser.parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)).getRe… in methodDeclaredInEnum_enumFromJar()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DArrayExprTest.java6 import com.github.javaparser.StringProvider;
42 …vaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)).getResu… in arrayLengthValueDeclaration()
DJavaParserFacadeResolutionTest.java145 … return javaParser.parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)).getResult().get(); in parseWithTypeSolver()
DContextTest.java588 …<PS> parseResult = new JavaParser(parserConfiguration).parse(parseStart, new StringProvider(code)); in parse()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DProviders.java58 return new StringProvider(assertNotNull(source)); in provider()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DProviders.java78 return new StringProvider(assertNotNull(source)); in provider()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DUnicodeEscapeProcessingProviderTest.java129 new StringProvider(source)); in provider()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DAbstractNameLogicTest.java39 …t<N> parseResult = new JavaParser(parserConfiguration).parse(parseStart, new StringProvider(code)); in parse()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserEnumDeclarationTest.java22 import com.github.javaparser.StringProvider;
882 new StringProvider("public class Employee {" in testHasDirectlyAnnotationNegative()
898 new StringProvider("@interface MyAnno {} public class Employee {" in testHasDirectlyAnnotationPositive()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java22 import com.github.javaparser.StringProvider;
679 .parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)).getResult().get(); in testDeclaredFields()
705 .parse(ParseStart.COMPILATION_UNIT, new StringProvider(code)).getResult().get(); in testGetAllFieldsVisibleToInheritors()