/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 183 (superConstructor.containingClass() != superClass && in <lambda>() 184 superConstructor.containingClass() != cls) in <lambda>() 486 method.inheritedFrom = it.containingClass() in <lambda>() 563 val containingClass = cls.containingClass() in <lambda>() constant 569 if (cls.containingClass() != null) { in <lambda>() 574 } else if (containingClass != null) { in <lambda>() 575 if (containingClass.hidden) { in <lambda>() 577 …} else if (containingClass.originallyHidden && containingClass.modifiers.hasShowSingleAnnotation()… in <lambda>() 581 if (containingClass.docOnly) { in <lambda>() 584 if (containingClass.removed) { in <lambda>() [all …]
|
D | AnnotationsMerger.kt | 384 val containingClass = matcher.group(1) in mergeDocument() constant 385 if (containingClass == null) { in mergeDocument() 390 val classItem = codebase.findClass(containingClass) in mergeDocument() 394 if (wellKnownIgnoredImport(containingClass)) { in mergeDocument() 398 warning("Could not find class $containingClass; omitting annotation from merge") in mergeDocument() 411 … mergeMethodOrParameter(item, containingClass, classItem, methodName, parameterIndex, parameters) in mergeDocument() 414 mergeField(item, containingClass, classItem, fieldName) in mergeDocument() 418 val containingClass = signature in mergeDocument() constant 419 val classItem = codebase.findClass(containingClass) in mergeDocument() 421 if (wellKnownIgnoredImport(containingClass)) { in mergeDocument() [all …]
|
D | Baseline.kt | 37 import org.jetbrains.kotlin.psi.psiUtil.containingClass in <lambda>() 124 is MethodItem -> element.containingClass().qualifiedName() + "#" + in <lambda>() 126 is FieldItem -> element.containingClass().qualifiedName() + "#" + element.name() in <lambda>() 138 val containingClass = element.containingClass in <lambda>() constant 141 if (containingClass != null) { in <lambda>() 142 getBaselineKey(containingClass) + "#" + name + parameterList in <lambda>() 148 val containingClass = element.containingClass in <lambda>() constant 150 if (containingClass != null) { in <lambda>() 151 getBaselineKey(containingClass) + "#" + name in <lambda>() 157 val containingClass = element.containingClass() in <lambda>() constant [all …]
|
D | ApiLint.kt | 246 item is MethodItem && !isInteresting(item.containingClass()) || in <lambda>() 247 item is FieldItem && !isInteresting(item.containingClass()) in <lambda>() 405 val containing = method.containingClass().qualifiedName() in <lambda>() 509 val qualified = field.containingClass().qualifiedName() in <lambda>() 599 val cls = method.containingClass() in <lambda>() 720 val prefix = when (field.containingClass().qualifiedName()) { in <lambda>() 724 else -> field.containingClass().containingPackage().qualifiedName() + ".action" in <lambda>() 768 val className = field.containingClass().qualifiedName() in <lambda>() 789 val packageName = field.containingClass().containingPackage().qualifiedName() in <lambda>() 987 val className = field.containingClass().qualifiedName() in <lambda>() [all …]
|
D | DocAnalyzer.kt | 433 sb.append(field.containingClass().qualifiedName() + "." + field.name()) in <lambda>() 841 val containingClass = method.containingClass ?: return -1 in ApiLookup() constant 842 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup() 852 val containingClass = field.containingClass ?: return -1 in ApiLookup() constant 853 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup() 863 val containingClass = method.containingClass ?: return -1 in ApiLookup() constant 864 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup() 874 val containingClass = field.containingClass ?: return -1 in ApiLookup() constant 875 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup()
|
D | CompatibilityCheck.kt | 411 if (new.containingClass().isClass()) { in compare() 443 if (!new.containingClass().isEnum() && !oldModifiers.isStatic()) { in compare() 582 newValue.containingClass?.qualifiedName + "." + newValue.name in compare() 721 is MethodItem -> base.findClass(item.containingClass().qualifiedName())?.findMethod( in findBaseItem() 726 … is FieldItem -> base.findClass(item.containingClass().qualifiedName())?.findField(item.name()) in findBaseItem() 770 new.containingClass().findMethod( in added() 783 …if (new.containingClass().isAnnotationType() && oldCodebase is TextCodebase && oldCodebase.format … in added() 792 if (new.containingClass().isAnnotationType() && new.hasDefaultValue()) { in added()
|
D | SdkFileWriter.kt | 84 when (resolved.containingClass().qualifiedName() + "." + resolved.name()) { in generate() 155 val containingClass = clazz?.containingClass() in generate() constant 156 var remove = containingClass == null || layouts.indexOf(containingClass) == -1 in generate()
|
D | AnnotationStatistics.kt | 206 val containingClass = item.containingClass() in <lambda>() constant 208 val count = classCount[containingClass] in <lambda>() 210 classCount[containingClass] = itemCount in <lambda>() 212 classCount[containingClass] = count + itemCount in <lambda>()
|
D | ExtractAnnotations.kt | 163 is MemberItem -> item.containingClass().containingPackage() in <lambda>() 164 is ParameterItem -> item.containingMethod().containingClass().containingPackage() in <lambda>() 425 sb.append(escapeXml(containingClass().qualifiedName())) in <lambda>() 429 sb.append(escapeXml(containingClass().simpleName())) in <lambda>() 462 return escapeXml(containingClass().qualifiedName()) + " " + name() in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiMethodItem.kt | 51 private val containingClass: PsiClassItem, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiMethodItem 84 override fun containingClass(): PsiClassItem = containingClass in <lambda>() method 149 val p = containingClass().psi() as? PsiClass ?: return false in <lambda>() 156 return psiMethod.containingClass != psiClass in <lambda>() 247 duplicated.inheritedFrom = containingClass in <lambda>() 352 containingClass: PsiClassItem, in <lambda>() 359 if (modifiers.isFinal() && containingClass.modifiers.isFinal()) { in <lambda>() 380 if (psiReturnType == null && containingClass.isEnum()) { in <lambda>() 382 psiReturnType = codebase.getClassType(containingClass.psiClass) in <lambda>() 384 psiReturnType = PsiArrayType(codebase.getClassType(containingClass.psiClass)) in <lambda>() [all …]
|
D | PsiConstructorItem.kt | 34 containingClass: PsiClassItem, in <lambda>() 47 containingClass = containingClass, in <lambda>() 70 if (result.isEmpty() && isConstructor() && containingClass().superClass() != null) { in <lambda>() 99 return containingClass().psi() in <lambda>() 108 containingClass: PsiClassItem, in <lambda>() 122 containingClass = containingClass, in <lambda>() 127 returnType = codebase.getType(containingClass.psiClass), in <lambda>() 136 containingClass: PsiClassItem, in <lambda>() 144 modifiers.setVisibilityLevel(containingClass.modifiers.getVisibilityLevel()) in <lambda>() 149 containingClass = containingClass, in <lambda>()
|
D | PsiFieldItem.kt | 31 private val containingClass: PsiClassItem, constant in com.android.tools.metalava.model.psi.PsiFieldItem 66 override fun containingClass(): ClassItem = containingClass in isEnumConstant() method 70 val p = containingClass().psi() as? PsiClass ?: return false in isEnumConstant() 77 return psiField.containingClass != psiClass in isEnumConstant() 82 duplicated.inheritedFrom = containingClass in duplicate() 106 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals() 116 …fun create(codebase: PsiBasedCodebase, containingClass: PsiClassItem, psiField: PsiField): PsiFiel… in toString() 128 containingClass = containingClass, in toString()
|
D | PsiPropertyItem.kt | 31 private val containingClass: PsiClassItem, constant in com.android.tools.metalava.model.psi.PsiPropertyItem 46 override fun containingClass(): ClassItem = containingClass in type() method 50 val p = containingClass().psi() as? PsiClass ?: return false in type() 57 return psiMethod.containingClass != psiClass in type() 64 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals() 76 containingClass: PsiClassItem, in toString() 87 containingClass = containingClass, in toString()
|
D | PsiBasedCodebase.kt | 551 var curr = psiClass.containingClass in <lambda>() 556 val containing = curr?.containingClass in <lambda>() 612 while (top?.containingClass != null) { in <lambda>() 613 top = top.containingClass in <lambda>() 628 val containingClass = method.containingClass in <lambda>() constant 629 val cls = findOrCreateClass(containingClass!!) in <lambda>() 665 val containingClass = field.containingClass ?: return null in <lambda>() constant 666 val cls = findOrCreateClass(containingClass) in <lambda>()
|
D | PsiClassItem.kt | 69 …override fun containingPackage(): PackageItem = containingClass?.containingPackage() ?: containing… in <lambda>() 92 private var containingClass: PsiClassItem? = null in <lambda>() variable 93 override fun containingClass(): PsiClassItem? = containingClass in <lambda>() method 234 if (psiClass.containingClass == null) { in <lambda>() 338 val replacementMap = mapTypeVariables(template.containingClass()) in <lambda>() 545 inner.containingClass = item in <lambda>() 560 if (cls.containingClass == null) { in <lambda>() 570 curr.containingClass in <lambda>()
|
D | Javadoc.kt | 631 val containingClass = resolved.containingClass in expand() constant 632 if (containingClass != null && !samePackage(owner, containingClass)) { in expand() 639 var className = containingClass.qualifiedName in expand() 686 sb.append(resolved.containingClass?.qualifiedName) in expand() 842 val containing = resolved.containingClass ?: run { in handleTag()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 260 writer.print(constructor.containingClass().simpleName()) in <lambda>() 275 … val invokeOnThis = constructor != null && constructor.containingClass() == it.containingClass() in <lambda>() 278 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>() 297 … val map = constructor?.containingClass()?.mapTypeVariables(it.containingClass()) in <lambda>() 336 writeMethod(method.containingClass(), method, false) in <lambda>() 339 …private fun writeMethod(containingClass: ClassItem, method: MethodItem, movedFromInterface: Boolea… in <lambda>() 341 val isEnum = containingClass.isEnum() in <lambda>() 342 val isAnnotation = containingClass.isAnnotationType() in <lambda>() 412 … field.modifiers.isFinal() && field.initialValue(true) == null && field.containingClass().isClass() in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextMethodItem.kt | 33 containingClass: TextClassItem, 38 codebase, name, containingClass, position, 54 if (containingClass() != other.containingClass()) { in equals() 90 var curr = containingClass().superClass() in isConstructor() 101 for (itf in containingClass().allInterfaces()) { in isConstructor() 122 return containingClass() as TextClassItem? in typeParameterList() 132 return (containingClass() as TextClassItem).resolveParameter(variable) in resolveParameter() 140 duplicated.inheritedFrom = containingClass() in duplicate()
|
D | TextFieldItem.kt | 26 containingClass: TextClassItem, 31 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem { 45 return containingClass() == other.containingClass() in equals() 61 duplicated.inheritedFrom = containingClass() in hashCode()
|
D | TextCodebase.kt | 199 cl.containingClass = outerClass in resolveInnerClasses() 234 newClass.containingClass = outerClass in getOrCreateClass() 354 val cls = getOrAddClass(new.containingClass()) in computeDelta() 359 val cls = getOrAddClass(new.containingClass()) in computeDelta() 367 val cls = getOrAddClass(new.containingClass()) in computeDelta() 372 val cls = getOrAddClass(new.containingClass()) in computeDelta()
|
D | TextClassItem.kt | 92 var containingClass: TextClassItem? = null in isInterface() variable 93 override fun containingClass(): ClassItem? = containingClass in isInterface() method 110 containingClass?.containingPackage() ?: containingPackage ?: error(this) in containingPackage() 144 return containingClass in typeParameterListOwnerParent()
|
D | TextPropertyItem.kt | 26 containingClass: TextClassItem, 30 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), PropertyItem { 44 return containingClass() == other.containingClass() in equals()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 51 fun isInnerClass(): Boolean = containingClass() != null in <lambda>() 54 fun isTopLevelClass(): Boolean = containingClass() == null in <lambda>() 61 override fun parent(): Item? = containingClass() ?: containingPackage() in <lambda>() 70 while (curr?.containingClass() != null) { in <lambda>() 71 curr = curr.containingClass() in <lambda>() 84 while (curr?.containingClass() != null) { in <lambda>() 85 curr = curr.containingClass() in <lambda>() 195 fun containingClass(): ClassItem? in <lambda>() method 202 override fun containingClass(strict: Boolean): ClassItem? { in <lambda>() method 203 return if (strict) containingClass() else this in <lambda>()
|
D | MethodItem.kt | 55 if (isConstructor() && containingClass().containingClass() != null && in <lambda>() 56 !containingClass().modifiers.isStatic() in <lambda>() 58 sb.append(containingClass().containingClass()?.toType()?.internalName() ?: "") in <lambda>() 417 if (!containingClass().isAnnotationType() || !other.containingClass().isAnnotationType()) { in <lambda>() 540 return containingClass().isEnum() && in <lambda>()
|
D | MemberItem.kt | 27 fun containingClass(): ClassItem in name() method 29 override fun containingClass(strict: Boolean): ClassItem = containingClass() in name() method 30 …override fun containingPackage(strict: Boolean): PackageItem = containingClass().containingPackage… in name() 31 override fun parent(): ClassItem? = containingClass() in name() 38 return modifiers.isFinal() || containingClass().modifiers.isFinal() in name()
|