Home
last modified time | relevance | path

Searched refs:typeParams (Results 1 – 25 of 51) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistTypeParameterDeclarationTest.java52 List<ResolvedTypeParameterDeclaration> typeParams = method.getTypeParameters(); in testGetBounds() local
53 assertEquals(1, typeParams.size()); in testGetBounds()
54 assertEquals("T", typeParams.get(0).getName()); in testGetBounds()
56 … List<ResolvedTypeParameterDeclaration.Bound> bounds = typeParams.get(0).getBounds(); in testGetBounds()
74 List<ResolvedTypeParameterDeclaration> typeParams = method.getTypeParameters(); in testGetComplexBounds() local
76 assertEquals(1, typeParams.size()); in testGetComplexBounds()
77 assertEquals("T", typeParams.get(0).getName()); in testGetComplexBounds()
79 List<ResolvedTypeParameterDeclaration.Bound> bounds = typeParams.get(0).getBounds(); in testGetComplexBounds()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DRealObjectValidator.java40 List<? extends TypeMirror> typeParams = t.getTypeArguments();
43 if (!parentTypeParams.isEmpty() && typeParams.isEmpty()) {
46 String typeString = join(typeParams);
/external/jackson-databind/attic/
DTypeBindings.java282 JavaType[] typeParams = null; in _resolveBindings() local
285 typeParams = _typeFactory.findTypeParameters(_contextType, raw); in _resolveBindings()
301 if (typeParams != null && typeParams.length > i) { in _resolveBindings()
302 _bindings.put(name, typeParams[i]); in _resolveBindings()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeFactory.java496 final JavaType[] typeParams = new JavaType[typeParamCount]; in _bindingsForSubtype() local
505 typeParams[i] = t; in _bindingsForSubtype()
507 return TypeBindings.create(subclass, typeParams); in _bindingsForSubtype()
1199 List<JavaType> typeParams = bindings.getTypeParameters(); in _mapType() local
1201 switch (typeParams.size()) { in _mapType()
1206 kt = typeParams.get(0); in _mapType()
1207 vt = typeParams.get(1); in _mapType()
1219 List<JavaType> typeParams = bindings.getTypeParameters(); in _collectionType() local
1222 if (typeParams.isEmpty()) { in _collectionType()
1224 } else if (typeParams.size() == 1) { in _collectionType()
[all …]
/external/dokka/core/src/test/kotlin/model/
DTypeAliasTest.kt95 val typeParams = detail(NodeKind.TypeAliasUnderlyingType).details(NodeKind.Type) in <lambda>() constant
96 assertEquals("A", typeParams.first().name) in <lambda>()
97 assertEquals("B", typeParams.last().name) in <lambda>()
/external/guava/android/guava/src/com/google/common/reflect/
DInvokable.java268 TypeVariable<?>[] typeParams = declaringClass.getTypeParameters(); in getGenericReturnType() local
269 if (typeParams.length > 0) { in getGenericReturnType()
270 return Types.newParameterizedType(declaringClass, typeParams); in getGenericReturnType()
DTypeToken.java1165 TypeVariable<Class<T>>[] typeParams = cls.getTypeParameters();
1171 if ((typeParams.length > 0) || ((ownerType != null) && ownerType != cls.getEnclosingClass())) {
1175 of(Types.newParameterizedTypeWithOwner(ownerType, cls, typeParams));
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java270 TypeParameter[] typeParams; field in SignatureAttribute.MethodSignature
285 typeParams = tp == null ? new TypeParameter[0] : tp; in MethodSignature()
296 public TypeParameter[] getTypeParameters() { return typeParams; } in getTypeParameters()
325 TypeParameter.toString(sbuf, typeParams); in toString()
343 if (typeParams.length > 0) { in encode()
345 for (int i = 0; i < typeParams.length; i++) in encode()
346 typeParams[i].encode(sbuf); in encode()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java286 TypeVariable<?>[] typeParams = declaringClass.getTypeParameters(); in getGenericReturnType() local
287 if (typeParams.length > 0) { in getGenericReturnType()
288 return Types.newParameterizedType(declaringClass, typeParams); in getGenericReturnType()
DTypeToken.java1161 TypeVariable<Class<T>>[] typeParams = cls.getTypeParameters();
1167 if ((typeParams.length > 0) || ((ownerType != null) && ownerType != cls.getEnclosingClass())) {
1171 of(Types.newParameterizedTypeWithOwner(ownerType, cls, typeParams));
/external/kotlinc/lib/
Dkotlin-imports-dumper-compiler-plugin.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-imports- ...
/external/llvm-project/clang/include/clang/AST/
DASTNodeTraverser.h307 void dumpObjCTypeParamList(const ObjCTypeParamList *typeParams) { in dumpObjCTypeParamList() argument
308 if (!typeParams) in dumpObjCTypeParamList()
311 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()
DDeclObjC.h677 ArrayRef<ObjCTypeParamDecl *> typeParams,
686 ArrayRef<ObjCTypeParamDecl *> typeParams,
/external/clang/lib/AST/
DDeclObjC.cpp1352 ArrayRef<ObjCTypeParamDecl *> typeParams, in ObjCTypeParamList() argument
1354 : NumParams(typeParams.size()) in ObjCTypeParamList()
1358 std::copy(typeParams.begin(), typeParams.end(), begin()); in ObjCTypeParamList()
1365 ArrayRef<ObjCTypeParamDecl *> typeParams, in create() argument
1368 ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()), in create()
1370 return new (mem) ObjCTypeParamList(lAngleLoc, typeParams, rAngleLoc); in create()
DASTDumper.cpp247 void dumpObjCTypeParamList(const ObjCTypeParamList *typeParams);
997 void ASTDumper::dumpObjCTypeParamList(const ObjCTypeParamList *typeParams) { in dumpObjCTypeParamList() argument
998 if (!typeParams) in dumpObjCTypeParamList()
1001 for (auto typeParam : *typeParams) { in dumpObjCTypeParamList()
DType.cpp1417 ObjCTypeParamList *typeParams = classDecl->getTypeParamList(); in computeSuperClassTypeSlow() local
1418 if (!typeParams) { in computeSuperClassTypeSlow()
1438 assert(typeArgs.size() == typeParams->size()); in computeSuperClassTypeSlow()
/external/llvm-project/clang/lib/AST/
DDeclObjC.cpp1462 ArrayRef<ObjCTypeParamDecl *> typeParams, in ObjCTypeParamList() argument
1464 : NumParams(typeParams.size()) { in ObjCTypeParamList()
1467 std::copy(typeParams.begin(), typeParams.end(), begin()); in ObjCTypeParamList()
1473 ArrayRef<ObjCTypeParamDecl *> typeParams, in create() argument
1476 ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()), in create()
1478 return new (mem) ObjCTypeParamList(lAngleLoc, typeParams, rAngleLoc); in create()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp146 void AddObjCTypeParamList(ObjCTypeParamList *typeParams) { in AddObjCTypeParamList() argument
148 if (!typeParams) { in AddObjCTypeParamList()
153 Record.push_back(typeParams->size()); in AddObjCTypeParamList()
154 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()
157 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList()
158 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp160 void AddObjCTypeParamList(ObjCTypeParamList *typeParams) { in AddObjCTypeParamList() argument
162 if (!typeParams) { in AddObjCTypeParamList()
167 Record.push_back(typeParams->size()); in AddObjCTypeParamList()
168 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()
171 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList()
172 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList()
/external/clang/lib/Parse/
DParseObjc.cpp457 SmallVector<Decl *, 4> typeParams; in parseObjCTypeParamListOrProtocolRefs() local
465 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
540 getCurScope(), variance, varianceLoc, typeParams.size(), paramName, in parseObjCTypeParamListOrProtocolRefs()
543 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
584 typeParams, in parseObjCTypeParamListOrProtocolRefs()
/external/llvm-project/clang/lib/Parse/
DParseObjc.cpp432 SmallVector<Decl *, 4> typeParams; in parseObjCTypeParamListOrProtocolRefs() local
440 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
515 getCurScope(), variance, varianceLoc, typeParams.size(), paramName, in parseObjCTypeParamListOrProtocolRefs()
518 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
558 typeParams, in parseObjCTypeParamListOrProtocolRefs()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp699 typeParams( in actOnObjCTypeParamList()
708 for (auto typeParam : typeParams) { in actOnObjCTypeParamList()
725 return ObjCTypeParamList::create(Context, lAngleLoc, typeParams, rAngleLoc); in actOnObjCTypeParamList()
1346 if (auto typeParams = baseClass->getTypeParamList()) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1347 if (typeParams->size() == numProtocolsResolved) { in actOnObjCTypeArgsOrProtocolQualifiers()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp776 typeParams( in actOnObjCTypeParamList()
785 for (auto typeParam : typeParams) { in actOnObjCTypeParamList()
802 return ObjCTypeParamList::create(Context, lAngleLoc, typeParams, rAngleLoc); in actOnObjCTypeParamList()
1441 if (auto typeParams = baseClass->getTypeParamList()) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1442 if (typeParams->size() == numProtocolsResolved) { in actOnObjCTypeArgsOrProtocolQualifiers()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DCloneVisitor.java1170 List<TypeParameter> typeParams = visit(_n.getTypeParameters(), arg); in visit() local
1175 typeParams, _n.getIdentifier()); in visit()
/external/clang/include/clang/AST/
DDeclObjC.h630 ArrayRef<ObjCTypeParamDecl *> typeParams,
637 ArrayRef<ObjCTypeParamDecl *> typeParams,

123