/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/ |
D | ResolvedTypeParameterValueProvider.java | 49 Optional<ResolvedType> typeParam = typeParamValue(typeParameter); in useThisTypeParametersOnTheGivenType() local 50 if (typeParam.isPresent()) { in useThisTypeParametersOnTheGivenType() 51 type = typeParam.get(); in useThisTypeParametersOnTheGivenType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/ |
D | MethodDeclarationCommonLogic.java | 73 … Optional<ResolvedType> typeParam = typeParamByName(typeParameter.getName(), typeSolver, context); in replaceTypeParams() local 74 if (typeParam.isPresent()) { in replaceTypeParams() 75 type = typeParam.get(); in replaceTypeParams()
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricModel.java | 242 for (TypeParameterElement typeParam : type.getTypeParameters()) { in registerType() 243 for (TypeMirror bound : typeParam.getBounds()) { in registerType() 357 for (TypeParameterElement typeParam : actualType.getTypeParameters()) { in prepare() 363 paramDef.append(typeParam); in prepare() 364 paramUse.append(typeParam); in prepare() 365 for (TypeMirror bound : helpers.getExplicitBounds(typeParam)) { in prepare()
|
D | Helpers.java | 120 List<TypeMirror> getExplicitBounds(TypeParameterElement typeParam) { in getExplicitBounds() argument 121 return newArrayList(Iterables.filter(typeParam.getBounds(), notObject)); in getExplicitBounds()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/ |
D | com_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParameterValueProvider.txt | 5 Line 29) typeParam.isPresent() ==> java.util.Optional.isPresent() 6 Line 30) typeParam.get() ==> java.util.Optional.get()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_declarations_common_MethodDeclarationCommonLogic.txt | 21 Line 74) typeParam.isPresent() ==> java.util.Optional.isPresent() 22 Line 75) typeParam.get() ==> java.util.Optional.get()
|
D | com_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt | 148 …Line 245) result.transformTypeParameters(typeParam -> replaceTypeParam(typeParam, tp, typeSolver))… 149 …Line 245) result.transformTypeParameters(typeParam -> replaceTypeParam(typeParam, tp, typeSolver))… 150 …Line 245) replaceTypeParam(typeParam, tp, typeSolver) ==> com.github.javaparser.symbolsolver.resol…
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | GenericsResolutionTest.java | 131 ResolvedType typeParam = type.asReferenceType().typeParametersValues().get(0); in resolveFieldOfGenericReferringToVariableType() local 132 assertEquals(true, typeParam.isTypeVariable()); in resolveFieldOfGenericReferringToVariableType() 133 assertEquals("A", typeParam.describe()); in resolveFieldOfGenericReferringToVariableType()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 708 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local 709 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList() 711 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList() 712 << typeParam->getIdentifier() in actOnObjCTypeParamList() 715 typeParam->setInvalidDecl(); in actOnObjCTypeParamList() 717 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList() 720 PushOnScopeChains(typeParam, S, /*AddToContext=*/false); in actOnObjCTypeParamList() 729 for (auto typeParam : *typeParamList) { in popObjCTypeParamList() 730 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList() 731 S->RemoveDecl(typeParam); in popObjCTypeParamList() [all …]
|
D | SemaType.cpp | 879 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local 882 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs() 905 if (!typeParam) { in applyObjCTypeArgs() 911 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs() 928 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs() 929 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs() 930 << typeParam->getDeclName(); in applyObjCTypeArgs() 943 if (!typeParam) { in applyObjCTypeArgs() 949 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs() 956 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs() [all …]
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeToken.java | 214 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, TypeToken<X> typeArg) { in where() argument 217 new TypeResolver.TypeVariableKey(typeParam.typeVariable), in where() 238 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, Class<X> typeArg) { in where() argument 239 return where(typeParam, of(typeArg)); in where()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 310 for (auto typeParam : *TypeParamList) in setTypeParamList() 311 typeParam->setDeclContext(this); in setTypeParamList() 1376 for (auto typeParam : *this) in gatherDefaultTypeArgs() 1377 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs() 1968 for (auto typeParam : *TypeParamList) in setTypeParamList() 1969 typeParam->setDeclContext(this); in setTypeParamList()
|
D | Type.cpp | 1076 if (auto *typeParam = dyn_cast<ObjCTypeParamDecl>(typedefTy->getDecl())) { in substObjCTypeArgs() local 1080 QualType argType = typeArgs[typeParam->getIndex()]; in substObjCTypeArgs() 1089 return ctx.getQualifiedType(typeParam->getUnderlyingType(), in substObjCTypeArgs() 1095 const auto *objPtr = typeParam->getUnderlyingType() in substObjCTypeArgs() 1101 return ctx.getQualifiedType(typeParam->getUnderlyingType(), in substObjCTypeArgs()
|
D | ASTDumper.cpp | 1001 for (auto typeParam : *typeParams) { in dumpObjCTypeParamList() 1002 dumpDecl(typeParam); in dumpObjCTypeParamList()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | MethodResolutionLogic.java | 257 …result = result.transformTypeParameters(typeParam -> replaceTypeParam(typeParam, tp, typeSolver)).… in replaceTypeParam()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 461 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local 464 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs() 465 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs() 539 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local 542 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs() 543 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
|
/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 1430 for (auto typeParam : *typeParamList) { 1431 TRY_TO(TraverseObjCTypeParamDecl(typeParam)); 1444 for (auto typeParam : *typeParamList) { 1445 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 154 for (auto typeParam : *typeParams) { in AddObjCTypeParamList() 155 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
|
D | ASTReaderDecl.cpp | 967 auto typeParam = ReadDeclAs<ObjCTypeParamDecl>(Record, Idx); in ReadObjCTypeParamList() local 968 if (!typeParam) in ReadObjCTypeParamList() 971 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1112 for (auto *typeParam : *typeParamList) { in VisitObjCTypeParamList() 1114 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()
|