/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistMethodDeclarationTest.java | 30 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/ |
D | JavaParserTypeParameterResolutionTest.java | 43 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/robolectric/errorprone/src/main/java/org/robolectric/errorprone/bugpatterns/ |
D | Helpers.java | 32 JCClassDecl classDecl = JCClassDecl.class.isInstance(leaf) in isInShadowClass() local 36 return hasAnnotation(classDecl, Implements.class, state); in isInShadowClass()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | JavaParserFacade.java | 166 …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/ |
D | JavaParserFacade.java | 149 …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/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt | 46 …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/clang/lib/AST/ |
D | Type.cpp | 1380 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/clang/lib/Analysis/ |
D | CFG.cpp | 3910 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/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 3296 if (const ObjCInterfaceDecl *classDecl= dyn_cast<ObjCInterfaceDecl>(dc)) { in isObjCMethodWithTypeParams() local 3297 return classDecl->getTypeParamListAsWritten(); in isObjCMethodWithTypeParams()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 1954 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() local 1955 SuperType = QualType(classDecl->getSuperClassType(), 0); in ActOnClassPropertyRefExpr()
|