/tools/apifinder/checks/src/main/java/com/android/apifinder/ |
D | ApiFinderDetector.kt | 48 var containingClass = method.containingClass in getApplicableUastTypes() variable 49 while (containingClass != null) { in getApplicableUastTypes() 50 …if (!containingClass.hasModifier(JvmModifier.PUBLIC) && !containingClass.hasModifier(JvmModifier.P… in getApplicableUastTypes() 53 containingClass = containingClass.containingClass in getApplicableUastTypes() 58 val className = method.containingClass!!.qualifiedName!! in getApplicableUastTypes() 61 containingClass = method.containingClass in getApplicableUastTypes() 62 while (containingClass != null) { in getApplicableUastTypes() 63 containingClasses += containingClass in getApplicableUastTypes() 64 containingClass = containingClass.containingClass in getApplicableUastTypes()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiConstructorItem.kt | 39 containingClass: PsiClassItem, 56 containingClass = containingClass, 76 containingClass: PsiClassItem, in isImplicitConstructor() 98 containingClass = containingClass, in isImplicitConstructor() 103 returnType = containingClass.type(), in isImplicitConstructor() 114 containingClass: PsiClassItem, in isImplicitConstructor() 122 modifiers.setVisibilityLevel(containingClass.modifiers.getVisibilityLevel()) in isImplicitConstructor() 130 fileLocation = containingClass.fileLocation, in isImplicitConstructor() 131 containingClass = containingClass, in isImplicitConstructor() 136 returnType = containingClass.type(), in isImplicitConstructor()
|
D | PsiFileLocation.kt | 40 import org.jetbrains.kotlin.psi.psiUtil.containingClass 187 val containingClass = element.containingClass in getElementId() constant 195 if (containingClass != null) { in getElementId() 196 getElementId(containingClass) + "#" + name + parameterList in getElementId() 202 val containingClass = element.containingClass in getElementId() constant 204 if (containingClass != null) { in getElementId() 205 getElementId(containingClass) + "#" + name in getElementId() 211 val containingClass = element.containingClass() in getElementId() constant 213 if (containingClass != null) { in getElementId() 214 getElementId(containingClass) + "#" + name in getElementId()
|
D | PsiMethodItem.kt | 55 containingClass: ClassItem, in <lambda>() 70 containingClass = containingClass, in <lambda>() 235 codebase.globalTypeItemFactory.from(containingClass) in <lambda>() 238 duplicated.inheritedFrom = containingClass in <lambda>() 287 containingClass: ClassItem, in <lambda>() 328 val isAnnotationElement = containingClass.isAnnotationType() && !modifiers.isStatic() in <lambda>() 341 containingClass = containingClass, in <lambda>() 350 if (modifiers.isFinal() && containingClass.modifiers.isFinal()) { in <lambda>() 367 internal fun create(containingClass: PsiClassItem, original: PsiMethodItem): PsiMethodItem { in <lambda>() 368 val typeParameterBindings = containingClass.mapTypeVariables(original.containingClass()) in <lambda>() [all …]
|
D | PsiFieldItem.kt | 37 containingClass: PsiClassItem, 50 containingClass = containingClass, 75 duplicated.inheritedFrom = containingClass in isEnumConstant() 99 containingClass == other.containingClass() in equals() 109 containingClass: PsiClassItem, in create() 142 containingClass = containingClass, in create()
|
D | PsiPropertyItem.kt | 33 containingClass: PsiClassItem, in <lambda>() 48 containingClass = containingClass, in <lambda>() 63 containingClass == other.containingClass() in <lambda>() 92 containingClass: PsiClassItem, in <lambda>() 134 containingClass = containingClass, in <lambda>()
|
D | PsiClassItem.kt | 85 containingClass?.containingPackage() ?: containingPackage in <lambda>() 106 private var containingClass: PsiClassItem? = null in <lambda>() variable 108 override fun containingClass(): PsiClassItem? = containingClass in <lambda>() method 234 newMethod.inheritedFrom = template.containingClass() in <lambda>() 336 item.containingClass = containingClassItem in <lambda>() 504 containingClass = item, in <lambda>() 621 if (cls.containingClass == null) { in <lambda>() 632 curr.containingClass in <lambda>() 695 if (containingClass?.isEnum != true) return false in PsiMethod()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | MethodItem.kt | 52 val correspondingClassItem = containingClass().findCorrespondingItemIn(codebase) in <lambda>() 62 correspondingMethodItem.containingClass() !== correspondingClassItem in <lambda>() 160 append(containingClass().qualifiedName()) in <lambda>() 409 parameter1Type.convertType(other.containingClass(), containingClass()) in <lambda>() 490 it.containingClass().isJavaLangObject() || it.requiresOverride() in <lambda>() 503 val superInterface = it.containingClass() in <lambda>() 516 return superInterfaceMethods.filter { visitCountMap[it.containingClass()]!! == 1 } in <lambda>() 526 return (containingClass().isClass() && in <lambda>() 530 if (it.size == 1 && it.first().containingClass().isJavaLangObject()) { in <lambda>() 546 superMethod.containingClass().isClass() && in <lambda>() [all …]
|
D | MemberItem.kt | 30 @MetalavaApi override fun containingClass(): ClassItem in name() method 32 override fun containingPackage(): PackageItem = containingClass().containingPackage() in name() 34 override fun parent(): ClassItem? = containingClass() in name() 37 get() = originallyDeprecated || containingClass().effectivelyDeprecated in name() 45 containingClass().modifiers.isFinal() || in name() 46 containingClass().modifiers.isSealed() in name() 54 return !modifiers.isFinal() && containingClass().isExtensible() in canBeExternallyOverridden()
|
D | ModifierListWriter.kt | 70 val containingClass = methodItem.containingClass() in <lambda>() constant 74 return containingClass.isEnum() || containingClass.isAnnotationType() in <lambda>() 87 val containingClass = methodItem.containingClass() in <lambda>() constant 89 val isEnum = containingClass.isEnum() in <lambda>() 90 val isAnnotation = containingClass.isAnnotationType() in <lambda>() 135 classItem?.isInterface() == true || methodItem?.containingClass()?.isInterface() == true in <lambda>() 171 (!normalize || methodItem?.containingClass()?.modifiers?.isFinal() != true) in <lambda>() 374 item.containingClass().qualifiedName() in polymorphicHandleTypes && in <lambda>()
|
D | ClassItem.kt | 44 @MetalavaApi fun isInnerClass(): Boolean = containingClass() != null in <lambda>() 47 fun isTopLevelClass(): Boolean = containingClass() == null in <lambda>() 54 override fun parent(): Item? = containingClass() ?: containingPackage() in <lambda>() 57 get() = originallyDeprecated || containingClass()?.effectivelyDeprecated == true in <lambda>() 66 while (curr?.containingClass() != null) { in <lambda>() 67 curr = curr.containingClass() in <lambda>() 80 while (curr?.containingClass() != null) { in <lambda>() 81 curr = curr.containingClass() in <lambda>() 200 @MetalavaApi override fun containingClass(): ClassItem? in <lambda>() method
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineConstructorItem.kt | 32 containingClass: TurbineClassItem, 43 containingClass, 61 containingClass: TurbineClassItem, in name() 64 val name = containingClass.simpleName() in name() 66 modifiers.setVisibilityLevel(containingClass.modifiers.getVisibilityLevel()) in name() 74 containingClass.fileLocation, in name() 77 containingClass, in name() 78 containingClass.type(), in name()
|
D | TurbineFieldItem.kt | 29 containingClass: ClassItem, 36 TurbineMemberItem(codebase, fileLocation, modifiers, documentation, containingClass), 49 containingClass() == other.containingClass() in name() 69 duplicated.inheritedFrom = containingClass() in hashCode()
|
D | TurbineClassItem.kt | 74 internal var containingClass: TurbineClassItem? = null in <lambda>() variable 110 override fun containingClass(): TurbineClassItem? = containingClass in <lambda>() method 113 containingClass?.containingPackage() ?: containingPackage in <lambda>() 197 val replacementMap = mapTypeVariables(method.containingClass()) in <lambda>() 219 duplicateMethod.inheritedFrom = method.containingClass() in <lambda>()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextConstructorItem.kt | 27 containingClass: TextClassItem, 36 containingClass, 51 containingClass: TextClassItem, in isConstructor() 54 val name = containingClass.simpleName in isConstructor() 64 containingClass = containingClass, in isConstructor() 66 returnType = containingClass.type(), in isConstructor()
|
D | TextFieldItem.kt | 28 containingClass: TextClassItem, 33 ) : TextMemberItem(codebase, name, containingClass, fileLocation, modifiers), FieldItem { 43 return containingClass() == other.containingClass() in equals() 63 duplicated.inheritedFrom = containingClass() in hashCode()
|
D | TextMethodItem.kt | 35 containingClass: ClassItem, 41 TextMemberItem(codebase, name, containingClass, fileLocation, modifiers = modifiers), 55 if (containingClass() != other.containingClass()) { in equals() 111 val typeVariableMap = targetContainingClass.mapTypeVariables(containingClass()) in findMainDocumentation() 122 duplicated.inheritedFrom = containingClass() in findMainDocumentation()
|
D | TextPropertyItem.kt | 28 containingClass: TextClassItem, 32 ) : TextMemberItem(codebase, name, containingClass, fileLocation, modifiers), PropertyItem { 42 return containingClass() == other.containingClass() in equals()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 633 val containingClass = cls.containingClass() in <lambda>() constant 640 if (containingClass != null) { in <lambda>() 645 } else if (containingClass != null) { in <lambda>() 646 if (containingClass.hidden) { in <lambda>() 649 containingClass.originallyHidden && in <lambda>() 650 containingClass.hasShowSingleAnnotation() in <lambda>() 655 if (containingClass.docOnly) { in <lambda>() 658 if (containingClass.removed) { in <lambda>() 688 val containingClass = method.containingClass() in <lambda>() constant 689 if (containingClass.hidden) { in <lambda>() [all …]
|
D | AnnotationsMerger.kt | 431 val containingClass = matcher.group(1) in <lambda>() constant 432 if (containingClass == null) { in <lambda>() 437 val classItem = codebase.findClass(containingClass) in <lambda>() 441 if (wellKnownIgnoredImport(containingClass)) { in <lambda>() 445 warning("Could not find class $containingClass; omitting annotation from merge") in <lambda>() 460 containingClass, in <lambda>() 468 mergeField(item, containingClass, classItem, fieldName) in <lambda>() 472 val containingClass = signature in <lambda>() constant 473 val classItem = codebase.findClass(containingClass) in <lambda>() 475 if (wellKnownIgnoredImport(containingClass)) { in <lambda>() [all …]
|
D | SdkFileWriter.kt | 84 when (resolved.containingClass().qualifiedName() + "." + resolved.name()) { in generate() 160 val containingClass = clazz.containingClass() in generate() constant 162 containingClass == null || in generate() 163 layouts.indexOf(containingClass) == -1 || in generate()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/ |
D | CompatibilityCheck.kt | 78 oldMethod.containingClass().qualifiedName() != in compareItemNullability() 79 newMethod.containingClass().qualifiedName() || in compareItemNullability() 455 new.containingClass().isAnnotationType() && in compare() 456 old.containingClass().isAnnotationType() && in compare() 482 new.containingClass().isAnnotationType() && old.defaultValue().isEmpty() in compare() 492 if (new.containingClass().isClass()) { in compare() 502 if (new.containingClass().isInterface() || new.containingClass().isAnnotationType()) { in compare() 523 if (!new.containingClass().isEnum() && !oldModifiers.isStatic()) { in compare() 529 if (!old.containingClass().isExtensible()) { in compare() 703 newValue.containingClass?.qualifiedName + "." + newValue.name in compare() [all …]
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 182 writer.print(constructor.containingClass().simpleName()) in <lambda>() 199 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>() 242 .containingClass() in <lambda>() 243 .mapTypeVariables(it.containingClass()) in <lambda>() 285 writeMethod(method.containingClass(), method) in <lambda>() 288 private fun writeMethod(containingClass: ClassItem, method: MethodItem) { in <lambda>() 303 if (containingClass.isAnnotationType()) { in <lambda>() 336 field.containingClass().isClass() in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/ |
D | DocAnalyzer.kt | 451 field.containingClass().qualifiedName() + "." + field.name() in <lambda>() 875 val containingClass = method.containingClass() in ApiLookup() constant 876 val owner = containingClass.qualifiedName() in ApiLookup() 884 val containingClass = field.containingClass() in ApiLookup() constant 885 val owner = containingClass.qualifiedName() in ApiLookup() 895 val containingClass = method.containingClass() in ApiLookup() constant 896 val owner = containingClass.qualifiedName() in ApiLookup() 913 val containingClass = field.containingClass() in ApiLookup() constant 914 val owner = containingClass.qualifiedName() in ApiLookup()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AddApisFromCodebase.kt | 242 containingClass().containingClass() != null && in MethodItem() 243 !containingClass().modifiers.isStatic() in MethodItem() 245 sb.append(containingClass().containingClass()?.type()?.internalName() ?: "") in MethodItem()
|