Home
last modified time | relevance | path

Searched refs:classDecl (Results 1 – 14 of 14) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistMethodDeclarationTest.java30 JavassistClassDeclaration classDecl = (JavassistClassDeclaration) typeSolver.solveType("C"); in getParam_forMethodParameterWithRawType() local
31 JavassistMethodDeclaration method = findMethodWithName(classDecl, "methodWithRawParameter"); in getParam_forMethodParameterWithRawType()
40 JavassistClassDeclaration classDecl = (JavassistClassDeclaration) typeSolver.solveType("C"); in getParam_forMethodParameterWithGenericType() local
41 … JavassistMethodDeclaration method = findMethodWithName(classDecl, "methodWithGenericParameter"); in getParam_forMethodParameterWithGenericType()
50 JavassistClassDeclaration classDecl = (JavassistClassDeclaration) typeSolver.solveType("C"); in getParam_forMethodParameterWithTypeParameter() local
51 … JavassistMethodDeclaration method = findMethodWithName(classDecl, "methodWithTypeParameter"); in getParam_forMethodParameterWithTypeParameter()
60 JavassistClassDeclaration classDecl = (JavassistClassDeclaration) typeSolver.solveType("C"); in getParam_forGenericMethodWithTypeParameter() local
61 …JavassistMethodDeclaration method = findMethodWithName(classDecl, "genericMethodWithTypeParameter"… in getParam_forGenericMethodWithTypeParameter()
68 …private JavassistMethodDeclaration findMethodWithName(JavassistClassDeclaration classDecl, String … in findMethodWithName() argument
69 …return classDecl.getDeclaredMethods().stream().filter(methodDecl -> methodDecl.getName().equals(na… in findMethodWithName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/declarations/
DJavaParserTypeParameterResolutionTest.java43 ClassOrInterfaceDeclaration classDecl = Navigator.demandClass(cu, "GenericMethodArguments"); in testGenericArguments() local
44 … MethodDeclaration containingMethod = Navigator.demandMethod(classDecl, containingMethodName); in testGenericArguments()
65 ClassOrInterfaceDeclaration classDecl = Navigator.demandClass(cu, "Foo"); in declaredOnMethodPositiveCase() local
66 MethodDeclaration methodDecl = Navigator.demandMethod(classDecl, "usage"); in declaredOnMethodPositiveCase()
82 ClassOrInterfaceDeclaration classDecl = Navigator.demandClass(cu, "Foo"); in declaredOnMethodNegativeCase() local
83 MethodDeclaration methodDecl = Navigator.demandMethod(classDecl, "usage"); in declaredOnMethodNegativeCase()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java166 …Type classDecl = JavaParserFacade.get(typeSolver).convert(classNode.getExtendedTypes(0), classNode… in solve() local
167 if (classDecl.isReferenceType()) { in solve()
168 typeDecl = classDecl.asReferenceType().getTypeDeclaration(); in solve()
217 …Type classDecl = JavaParserFacade.get(typeSolver).convert(objectCreationExpr.getType(), objectCrea… in solve() local
218 if (!classDecl.isReferenceType()) { in solve()
221 …res = ConstructorResolutionLogic.findMostApplicable(((ClassDeclaration) classDecl.asReferenceType(… in solve()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java149 …ResolvedType classDecl = JavaParserFacade.get(typeSolver).convert(classNode.getExtendedTypes(0), c… in solve() local
150 if (classDecl.isReferenceType()) { in solve()
151 typeDecl = classDecl.asReferenceType().getTypeDeclaration(); in solve()
200 …ResolvedType classDecl = JavaParserFacade.get(typeSolver).convert(objectCreationExpr.getType(), ob… in solve() local
201 if (!classDecl.isReferenceType()) { in solve()
204 …tructorDeclaration> res = ConstructorResolutionLogic.findMostApplicable(classDecl.asReferenceType(… in solve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt46 …Line 167) classDecl.isReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
47 …Line 168) classDecl.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.…
48 …Line 168) classDecl.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
83 …Line 218) classDecl.isReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
85 …Line 221) ConstructorResolutionLogic.findMostApplicable(((ClassDeclaration) classDecl.asReferenceT…
86 …Line 221) ((ClassDeclaration) classDecl.asReferenceType().getTypeDeclaration()).getConstructors() …
87 …Line 221) classDecl.asReferenceType().getTypeDeclaration() ==> com.github.javaparser.symbolsolver.…
88 …Line 221) classDecl.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
/external/llvm-project/clang/lib/CodeGen/
DCGObjCGNU.cpp1702 ObjCInterfaceDecl *classDecl = in GenerateClass() local
1704 std::string className = classDecl->getNameAsString(); in GenerateClass()
1756 metaclassFields.add(GeneratePropertyList(OID, classDecl, /*isClassProperty*/true)); in GenerateClass()
1809 if (classDecl->all_declared_ivar_begin() == nullptr) in GenerateClass()
1813 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1832 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1847 std::string OffsetName = GetIVarOffsetVariableName(classDecl, IVD); in GenerateClass()
1858 classDecl->getVisibility() == HiddenVisibility) ? in GenerateClass()
1918 auto RuntimeProtocols = GetRuntimeProtocolList(classDecl->protocol_begin(), in GenerateClass()
1919 classDecl->protocol_end()); in GenerateClass()
[all …]
DCodeGenFunction.h4568 if (const ObjCInterfaceDecl *classDecl= dyn_cast<ObjCInterfaceDecl>(dc)) {
4569 return classDecl->getTypeParamListAsWritten();
/external/clang/lib/AST/
DType.cpp1380 ObjCInterfaceDecl *classDecl = getInterface(); in computeSuperClassTypeSlow() local
1381 if (!classDecl) { in computeSuperClassTypeSlow()
1387 const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType(); in computeSuperClassTypeSlow()
1417 ObjCTypeParamList *typeParams = classDecl->getTypeParamList(); in computeSuperClassTypeSlow()
1428 = classDecl->getASTContext().getObjCInterfaceType( in computeSuperClassTypeSlow()
1440 superClassType.substObjCTypeArgs(classDecl->getASTContext(), typeArgs, in computeSuperClassTypeSlow()
/external/llvm-project/clang/lib/AST/
DType.cpp1604 ObjCInterfaceDecl *classDecl = getInterface(); in computeSuperClassTypeSlow() local
1605 if (!classDecl) { in computeSuperClassTypeSlow()
1611 const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType(); in computeSuperClassTypeSlow()
1641 ObjCTypeParamList *typeParams = classDecl->getTypeParamList(); in computeSuperClassTypeSlow()
1652 = classDecl->getASTContext().getObjCInterfaceType( in computeSuperClassTypeSlow()
1664 superClassType.substObjCTypeArgs(classDecl->getASTContext(), typeArgs, in computeSuperClassTypeSlow()
/external/clang/lib/Analysis/
DCFG.cpp3910 const CXXRecordDecl *classDecl = in getDestructorDecl() local
3912 return classDecl->getDestructor(); in getDestructorDecl()
3918 const CXXRecordDecl *classDecl = in getDestructorDecl() local
3920 return classDecl->getDestructor(); in getDestructorDecl()
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp5034 const CXXRecordDecl *classDecl = ty->getAsCXXRecordDecl(); in getDestructorDecl() local
5035 assert(classDecl); in getDestructorDecl()
5036 return classDecl->getDestructor(); in getDestructorDecl()
5042 const CXXRecordDecl *classDecl = in getDestructorDecl() local
5044 return classDecl->getDestructor(); in getDestructorDecl()
/external/clang/lib/CodeGen/
DCodeGenFunction.h3296 if (const ObjCInterfaceDecl *classDecl= dyn_cast<ObjCInterfaceDecl>(dc)) { in isObjCMethodWithTypeParams() local
3297 return classDecl->getTypeParamListAsWritten(); in isObjCMethodWithTypeParams()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1954 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() local
1955 SuperType = QualType(classDecl->getSuperClassType(), 0); in ActOnClassPropertyRefExpr()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp2173 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() local
2174 SuperType = QualType(classDecl->getSuperClassType(), 0); in ActOnClassPropertyRefExpr()