/external/jazzer-api/src/test/java/com/code_intelligence/jazzer/mutation/support/ |
D | HolderTest.java | 56 AnnotatedType stringType = listType.getAnnotatedActualTypeArguments()[0]; in testTypeHolder_annotatedType() local 57 assertThat(stringType.getType()).isEqualTo(String.class); in testTypeHolder_annotatedType() 58 assertThat(stringType.getAnnotations()).hasLength(1); in testTypeHolder_annotatedType() 59 assertThat(stringType.getAnnotations()[0]).isInstanceOf(Bar.class); in testTypeHolder_annotatedType() 88 AnnotatedType stringType = listType.getAnnotatedActualTypeArguments()[0]; in testParameterHolder_annotatedType() local 89 assertThat(stringType.getType()).isEqualTo(String.class); in testParameterHolder_annotatedType() 90 assertThat(stringType.getAnnotations()).hasLength(1); in testParameterHolder_annotatedType() 91 assertThat(stringType.getAnnotations()[0]).isInstanceOf(Bar.class); in testParameterHolder_annotatedType()
|
/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/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | ExprResolutionTest.java | 38 private ResolvedType stringType; field in ExprResolutionTest 43 stringType = new ReferenceTypeImpl(ts.solveType(String.class.getCanonicalName()), ts); in setup() 339 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsDoubleAndString() 355 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsIntAndString() 371 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsCharAndString() 387 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsStringAndDouble() 403 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsStringAndInt() 419 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsStringAndChar()
|
D | MethodsResolutionLogicTest.java | 54 …ResolvedReferenceType stringType = (ResolvedReferenceType) ReflectionFactory.typeUsageFor(String.c… in compatibilityShouldConsiderAlsoTypeVariablesNegative() local 57 …ype.replaceTypeVariables(rawClassType.getTypeDeclaration().getTypeParameters().get(0), stringType); in compatibilityShouldConsiderAlsoTypeVariablesNegative()
|
/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/auto/common/src/test/java/com/google/auto/common/ |
D | MoreTypesTest.java | 69 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in equivalence() local 87 types.getDeclaredType(setElement, types.getDeclaredType(setElement, stringType)); in equivalence() 92 DeclaredType containerOfString = types.getDeclaredType(container, stringType); in equivalence() 101 .addEquivalenceGroup(stringType) in equivalence() 118 .addEquivalenceGroup(types.getDeclaredType(mapElement, objectType, stringType)) in equivalence() 119 .addEquivalenceGroup(types.getDeclaredType(mapElement, stringType, objectType)) in equivalence() 120 .addEquivalenceGroup(types.getDeclaredType(mapElement, stringType, stringType)) in equivalence() 129 .addEquivalenceGroup(types.getWildcardType(stringType, null)) in equivalence() 131 .addEquivalenceGroup(types.getWildcardType(null, stringType)) in equivalence() 136 stringType, in equivalence() [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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/ |
D | ClassUtilTest.java | 218 final JavaType stringType = TypeFactory.defaultInstance().constructType(String.class); in testDescs() local 219 assertEquals(stringExp, ClassUtil.getTypeDescription(stringType)); in testDescs() 228 final JavaType stringType = TypeFactory.defaultInstance().constructType(String.class); in testSubtypes() local 229 List<JavaType> supers = ClassUtil.findSuperTypes(stringType, Object.class, false); in testSubtypes() 232 supers = ClassUtil.findSuperTypes(stringType, Object.class, true); in testSubtypes() 233 assertEquals(Collections.singletonList(stringType), supers); in testSubtypes()
|
/external/golang-protobuf/reflect/protoreflect/ |
D | value_pure.go | 23 stringType const 43 return Value{typ: stringType, str: v}
|
D | value_union.go | 216 case stringType: 245 case stringType: 313 case stringType: 373 case boolType, int32Type, int64Type, uint32Type, uint64Type, stringType:
|
D | value_unsafe.go | 41 stringType = typeOf(*new(string)) var 77 return Value{typ: stringType, ptr: p.Data, num: uint64(len(v))}
|
D | value_equal.go | 58 case stringType:
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/reflect/ |
D | TypeLiteralTest.java | 40 final Typed<String> stringType = new TypeLiteral<String>() {}; in testTyped() local 41 assertTrue(TypeUtils.equals(String.class, stringType.getType())); in testTyped()
|
/external/kotlinpoet/kotlinpoet/src/commonTest/kotlin/com/squareup/kotlinpoet/ |
D | FunSpecTest.kt | 494 val stringType = STRING in functionWithContextReceiver() constant 496 .contextReceivers(stringType) in functionWithContextReceiver() 510 val stringType = STRING in functionWithMultipleContextReceivers() constant 514 .contextReceivers(stringType, intType, booleanType) in functionWithMultipleContextReceivers() 625 val stringType = String::class.asClassName() in functionParamMultipleLambdaParam() constant 626 …val lambdaType = LambdaTypeName.get(parameters = arrayOf(booleanType, stringType), returnType = un… in functionParamMultipleLambdaParam() 644 val stringType = String::class.asClassName() in functionParamMultipleLambdaParamNullableLambda() constant 646 .get(parameters = arrayOf(booleanType, stringType), returnType = unitType) in functionParamMultipleLambdaParamNullableLambda() 665 val stringType = String::class.asClassName().copy(nullable = true) in functionParamMultipleNullableLambdaParam() constant 667 .get(parameters = arrayOf(booleanType, stringType), returnType = unitType) in functionParamMultipleNullableLambdaParam()
|
/external/auto/value/src/test/java/com/google/auto/value/processor/ |
D | BuilderRequiredPropertiesTest.java | 45 private TypeMirror stringType; field in BuilderRequiredPropertiesTest 50 stringType = compilationRule.getElements().getTypeElement("java.lang.String").asType(); in initTypes() 324 Stream.of(fakeProperty("string", stringType, /* hasDefault= */ false)), in fakeProperties() 334 .add(fakeProperty("stringWithDefault", stringType, /* hasDefault= */ true)) in fakePropertiesWithDefaults()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/toprettystring/processor/ |
D | ToPrettyStringValidator.java | 80 TypeMirror stringType = elements.getTypeElement("java.lang.String").asType(); in validateMethod() local 81 if (!MoreTypes.equivalence().equivalent(method.getReturnType(), stringType)) { in validateMethod()
|
/external/ksp/api/src/main/kotlin/com/google/devtools/ksp/processing/ |
D | KSBuiltIns.kt | 37 val stringType: KSType constant
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | MethodCallExprContextResolutionTest.java | 123 ResolvedReferenceTypeDeclaration stringType = typeSolver.solveType("java.lang.String"); in assertCanSolveGenericMethodCallCanInferFromArguments() local 126 argumentsTypes.add(new ReferenceTypeImpl(stringType, typeSolver)); in assertCanSolveGenericMethodCallCanInferFromArguments()
|
D | ClassOrInterfaceDeclarationContextResolutionTest.java | 399 …ResolvedType stringType = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeS… in solveMethodWithMoreSpecializedParameter() local 401 …<ResolvedMethodDeclaration> ref = context.solveMethod("foo4", ImmutableList.of(stringType), false); in solveMethodWithMoreSpecializedParameter() 479 …ResolvedType stringType = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeS… in solveMethodAsUsageWithMoreSpecializedParameter() local 481 … Optional<MethodUsage> ref = context.solveMethodAsUsage("foo4", ImmutableList.of(stringType)); in solveMethodAsUsageWithMoreSpecializedParameter()
|
/external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/ |
D | BuiltInTypesProcessor.kt | 51 resolver.builtIns.stringType, in <lambda>()
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | KeyFactoryTest.java | 106 XType stringType = processingEnv.requireType(String.class.getCanonicalName()); in forProvidesMethod_qualified() local 114 assertThat(key.type().xprocessing().getTypeName()).isEqualTo(stringType.getTypeName()); in forProvidesMethod_qualified()
|
/external/boringssl/src/util/fipstools/acvp/acvptool/acvp/ |
D | acvp.go | 479 stringType = reflect.TypeOf("") var 502 {Name: "Next", Type: stringType, Tag: `json:"next"`},
|
/external/cronet/tot/third_party/boringssl/src/util/fipstools/acvp/acvptool/acvp/ |
D | acvp.go | 479 stringType = reflect.TypeOf("") var 502 {Name: "Next", Type: stringType, Tag: `json:"next"`},
|
/external/cronet/stable/third_party/boringssl/src/util/fipstools/acvp/acvptool/acvp/ |
D | acvp.go | 479 stringType = reflect.TypeOf("") var 502 {Name: "Next", Type: stringType, Tag: `json:"next"`},
|