Searched refs:classItem (Results 1 – 6 of 6) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 167 val classItem = createClass(psiClass) in <lambda>() constant 168 topLevelClassesFromSource.add(classItem) in <lambda>() 330 val classItem = createClass(psiClass) in <lambda>() constant 331 topLevelClassesFromSource.add(classItem) in <lambda>() 336 list = mutableListOf(classItem) in <lambda>() 339 list.add(classItem) in <lambda>() 432 val classItem = PsiClassItem.create(this, clz) in <lambda>() constant 438 classItem.emit = false in <lambda>() 442 if (classItem.simpleName().startsWith("I") && in <lambda>() 443 classItem.isFromClassPath() && in <lambda>() [all …]
|
D | PsiCompilationUnit.kt | 82 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() constant 83 if (predicate.test(classItem)) { in getImportStatements() 84 imports.add(classItem) in getImportStatements() 102 … val classItem = codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements() constant 103 val fieldItem = classItem.findField(resolved.name, true, false) ?: continue in getImportStatements() 114 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() constant 115 if (predicate.test(classItem)) { in getImportStatements() 116 imports.add(classItem) in getImportStatements() 190 val classItem = codebase.findClass(psiClass) ?: continue in classes() constant 191 if (predicate.test(classItem)) { in classes() [all …]
|
D | PsiClassItem.kt | 538 classItem: PsiClassItem, in <lambda>() 551 codebase, classItem, in <lambda>() 556 codebase, classItem, in <lambda>() 562 result.add(PsiConstructorItem.create(codebase, classItem, psiMethod)) in <lambda>() 568 classItem: PsiClassItem, in <lambda>() 574 result.add(PsiMethodItem.create(codebase, classItem, psiMethod)) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 275 val classItem = item as? ClassItem in write() constant 292 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in write() 299 (classItem?.isEnum() != true || compatibility.finalInInterfaces) || in write() 326 val isInterface = classItem?.isInterface() == true || in write() 332 (classItem?.isEnum() != true && in write() 333 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in write() 370 val isInterface = classItem?.isInterface() == true || in write() 376 (classItem?.isEnum() != true && in write() 377 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in write() 387 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in write() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationsMerger.kt | 389 val classItem = codebase.findClass(containingClass) in mergeDocument() constant 390 if (classItem == null) { in mergeDocument() 410 … mergeMethodOrParameter(item, containingClass, classItem, methodName, parameterIndex, parameters) in mergeDocument() 413 mergeField(item, containingClass, classItem, fieldName) in mergeDocument() 418 val classItem = codebase.findClass(containingClass) in mergeDocument() constant 419 if (classItem == null) { in mergeDocument() 428 mergeAnnotations(item, classItem) in mergeDocument() 458 classItem: ClassItem, in mergeMethodOrParameter() 466 val methodItem: MethodItem? = classItem.findMethod(methodName, parameters) in mergeMethodOrParameter() 494 …private fun mergeField(item: Element, containingClass: String, classItem: ClassItem, fieldName: St… in mergeField() [all …]
|
D | StubWriter.kt | 166 private fun getClassFile(classItem: ClassItem): File { in getClassFile() 167 assert(classItem.containingClass() == null) { "Should only be called on top level classes" } in getClassFile() 169 return File(getPackageDir(classItem.containingPackage()), "${classItem.simpleName()}.java") in getClassFile()
|