/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/ |
D | SameAsBoundTest.java | 19 …private ResolvedType stringType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Strin… field in SameAsBoundTest 25 Bound bound1 = new SameAsBound(inferenceVariable, stringType); in recognizeInstantiation() 26 Bound bound2 = new SameAsBound(stringType, inferenceVariable); in recognizeInstantiation() 28 …assertEquals(Optional.of(new Instantiation(inferenceVariable, stringType)), bound1.isAnInstantiati… in recognizeInstantiation() 29 …assertEquals(Optional.of(new Instantiation(inferenceVariable, stringType)), bound2.isAnInstantiati… in recognizeInstantiation()
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | KeyTest.java | 85 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod() local 94 MoreTypes.equivalence().wrap(stringType))); in forProvidesMethod() 105 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_qualified() local 116 assertThat(key.wrappedType()).isEqualTo(MoreTypes.equivalence().wrap(stringType)); in forProvidesMethod_qualified() 160 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_sets() local 161 TypeMirror setOfStringsType = types.getDeclaredType(setElement, stringType); in forProvidesMethod_sets() 222 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProducesMethod() local 231 MoreTypes.equivalence().wrap(stringType))); in forProducesMethod() 248 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProducesMethod_sets() local 249 TypeMirror setOfStringsType = types.getDeclaredType(setElement, stringType); in forProducesMethod_sets()
|
/external/guice/core/test/com/google/inject/internal/ |
D | MapBinderTest.java | 102 private final TypeLiteral<String> stringType = TypeLiteral.get(String.class); field in MapBinderTest 215 stringType, in testMapBinderAggregatesMultipleModules() local 216 stringType, in testMapBinderAggregatesMultipleModules() local 254 stringType, in testMapBinderAggregationForAnnotationInstance() 255 stringType, in testMapBinderAggregationForAnnotationInstance() 290 stringType, in testMapBinderAggregationForAnnotationType() 291 stringType, in testMapBinderAggregationForAnnotationType() 332 stringType, in testMapBinderWithMultipleAnnotationValueSets() 333 stringType, in testMapBinderWithMultipleAnnotationValueSets() 343 stringType, in testMapBinderWithMultipleAnnotationValueSets() [all …]
|
D | MultibinderTest.java | 95 final TypeLiteral<String> stringType = TypeLiteral.get(String.class); field in MultibinderTest 131 stringType, in testMultibinderAggregatesMultipleModules() 165 stringType, in testMultibinderAggregationForAnnotationInstance() 197 stringType, in testMultibinderAggregationForAnnotationType() 236 stringType, in testMultibinderWithMultipleAnnotationValueSets() 245 deSetKey, stringType, setOf(module), BOTH, false, 1, instance("D"), instance("E")); in testMultibinderWithMultipleAnnotationValueSets() 277 stringType, in testMultibinderWithMultipleAnnotationTypeSets() 286 deSetKey, stringType, setOf(module), BOTH, false, 1, instance("D"), instance("E")); in testMultibinderWithMultipleAnnotationTypeSets() 303 Key.get(setOfString), stringType, setOf(module), BOTH, false, 1, instance("A")); in testMultibinderWithMultipleSetTypes() local 319 assertSetVisitor(Key.get(setOfString), stringType, setOf(module), BOTH, false, 0); in testMultibinderWithEmptySet() local [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/ |
D | ConstraintFormulaTest.java | 21 …private ResolvedType stringType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Strin… field in ConstraintFormulaTest 40 …onResult.empty().withConstraint(new TypeCompatibleWithType(typeSolver, stringType, inferenceVariab… in testExpressionCompatibleWithTypeReduce1() 44 …ductionResult.empty().withConstraint(new TypeSubtypeOfType(typeSolver, stringType, inferenceVariab… in testExpressionCompatibleWithTypeReduce1()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodsResolutionLogicTest.java | 53 …ResolvedReferenceType stringType = (ResolvedReferenceType) ReflectionFactory.typeUsageFor(String.c… in compatibilityShouldConsiderAlsoTypeVariablesNegative() local 56 …ype.replaceTypeVariables(rawClassType.getTypeDeclaration().getTypeParameters().get(0), stringType); in compatibilityShouldConsiderAlsoTypeVariablesNegative()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | MethodCallExprContextResolutionTest.java | 116 ResolvedReferenceTypeDeclaration stringType = typeSolver.solveType("java.lang.String"); in assertCanSolveGenericMethodCallCanInferFromArguments() local 119 argumentsTypes.add(new ReferenceTypeImpl(stringType, typeSolver)); in assertCanSolveGenericMethodCallCanInferFromArguments()
|
D | ClassOrInterfaceDeclarationContextResolutionTest.java | 401 …ResolvedType stringType = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeS… in solveMethodWithMoreSpecializedParameter() local 403 …dMethodDeclaration> ref = context.solveMethod("foo4", ImmutableList.of(stringType), false, new Ref… in solveMethodWithMoreSpecializedParameter() 474 …ResolvedType stringType = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeS… in solveMethodAsUsageWithMoreSpecializedParameter() local 476 …Optional<MethodUsage> ref = context.solveMethodAsUsage("foo4", ImmutableList.of(stringType), new R… in solveMethodAsUsageWithMoreSpecializedParameter()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserClassDeclarationTest.java | 815 …ResolvedReferenceType stringType = (ResolvedReferenceType) ReflectionFactory.typeUsageFor(String.c… in testSolveMethodNotExistingBecauseOfTypeParameters() local 817 …ype.replaceTypeVariables(rawClassType.getTypeDeclaration().getTypeParameters().get(0), stringType); in testSolveMethodNotExistingBecauseOfTypeParameters()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | StandardCodes.java | 267 public Set<String> getGoodAvailableCodes(String stringType) { in getGoodAvailableCodes() argument 268 return getGoodAvailableCodes(CodeType.from(stringType)); in getGoodAvailableCodes()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | MethodAnalyzer.java | 1176 RegisterType stringType = RegisterType.getRegisterType(RegisterType.REFERENCE, stringClass); 1177 setDestinationRegisterTypeAndPropagateChanges(analyzedInstruction, stringType);
|
/external/libxml2/ |
D | xmlschemastypes.c | 5320 int stringType; in xmlSchemaValidateFacetInternal() local 5338 stringType = val && ((val->type >= XML_SCHEMAS_STRING && val->type <= XML_SCHEMAS_NORMSTRING) in xmlSchemaValidateFacetInternal() 5341 (stringType && val->value.str) ? val->value.str : value); in xmlSchemaValidateFacetInternal()
|