Searched refs:classItem (Results 1 – 5 of 5) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 194 val classItem = createClass(psiClass) in <lambda>() constant 195 topLevelClassesFromSource.add(classItem) in <lambda>() 357 val classItem = createClass(psiClass) in <lambda>() constant 358 topLevelClassesFromSource.add(classItem) in <lambda>() 363 list = mutableListOf(classItem) in <lambda>() 366 list.add(classItem) in <lambda>() 455 val classItem = PsiClassItem.create(this, clz) in <lambda>() constant 461 classItem.emit = false in <lambda>() 465 if (classItem.simpleName().startsWith("I") && in <lambda>() 466 classItem.isFromClassPath() && in <lambda>() [all …]
|
D | PsiCompilationUnit.kt | 100 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() constant 101 if (predicate.test(classItem)) { in getImportStatements() 102 imports.add(classItem) in getImportStatements() 120 … val classItem = codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements() constant 121 val fieldItem = classItem.findField( in getImportStatements() 136 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() constant 137 if (predicate.test(classItem)) { in getImportStatements() 138 imports.add(classItem) in getImportStatements() 216 val classItem = codebase.findClass(psiClass) ?: continue in classes() constant 217 if (predicate.test(classItem)) { in classes() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 301 val classItem = item as? ClassItem in <lambda>() constant 316 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in <lambda>() 323 (classItem?.isEnum() != true || compatibility.finalInInterfaces) || in <lambda>() 350 val isInterface = classItem?.isInterface() == true || in <lambda>() 356 (classItem?.isEnum() != true && in <lambda>() 357 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in <lambda>() 397 val isInterface = classItem?.isInterface() == true || in <lambda>() 403 (classItem?.isEnum() != true && in <lambda>() 404 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in <lambda>() 414 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in <lambda>() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationsMerger.kt | 390 val classItem = codebase.findClass(containingClass) in mergeDocument() constant 391 if (classItem == null) { in mergeDocument() 411 … mergeMethodOrParameter(item, containingClass, classItem, methodName, parameterIndex, parameters) in mergeDocument() 414 mergeField(item, containingClass, classItem, fieldName) in mergeDocument() 419 val classItem = codebase.findClass(containingClass) in mergeDocument() constant 420 if (classItem == null) { in mergeDocument() 429 mergeAnnotations(item, classItem) in mergeDocument() 459 classItem: ClassItem, in mergeMethodOrParameter() 467 val methodItem: MethodItem? = classItem.findMethod(methodName, parameters) in mergeMethodOrParameter() 495 …private fun mergeField(item: Element, containingClass: String, classItem: ClassItem, fieldName: St… in mergeField() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 162 private fun getClassFile(classItem: ClassItem): File { in <lambda>() 163 assert(classItem.containingClass() == null) { "Should only be called on top level classes" } in <lambda>() 165 return File(getPackageDir(classItem.containingPackage()), "${classItem.simpleName()}.java") in <lambda>()
|