/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiFieldItem.kt | 29 override val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiFieldItem 40 codebase = codebase, 81 val duplicated = create(codebase, targetContainingClass as PsiClassItem, psiField) in duplicate() 111 …fun create(codebase: PsiBasedCodebase, containingClass: PsiClassItem, psiField: PsiField): PsiFiel… in toString() 114 val modifiers = modifiers(codebase, psiField, commentText) in toString() 116 val fieldType = codebase.getType(psiField.type) in toString() 121 codebase = codebase, in toString() 135 …fun create(codebase: PsiBasedCodebase, containingClass: PsiClassItem, original: PsiFieldItem): Psi… in toString() 137 codebase = codebase, in toString() 142 modifiers = PsiModifierItem.create(codebase, original.modifiers), in toString() [all …]
|
D | PsiParameterItem.kt | 29 override val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiParameterItem 37 codebase = codebase, 151 codebase: PsiBasedCodebase, in create() 157 val modifiers = modifiers(codebase, psiParameter, commentText) in create() 158 val type = codebase.getType(psiParameter.type) in create() 160 codebase = codebase, in create() 173 codebase: PsiBasedCodebase, in create() 177 codebase = codebase, in create() 182 modifiers = PsiModifierItem.create(codebase, original.modifiers), in create() 183 type = PsiTypeItem.create(codebase, original.type) in create() [all …]
|
D | PsiPackageItem.kt | 25 override val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiPackageItem 32 codebase = codebase, 53 containingPackageField = codebase.findPackage("")!! in containingPackage() 57 val pkg = codebase.findPackage(parentPackage) in containingPackage() 132 …fun create(codebase: PsiBasedCodebase, psiPackage: PsiPackage, extraDocs: String?): PsiPackageItem… in create() 134 val modifiers = modifiers(codebase, psiPackage, commentText) in create() 141 codebase = codebase, in create() 151 fun create(codebase: PsiBasedCodebase, original: PsiPackageItem): PsiPackageItem { in create() 153 codebase = codebase, in create() 157 modifiers = PsiModifierItem.create(codebase, original.modifiers) in create()
|
D | PsiTypeParameterItem.kt | 25 codebase: PsiBasedCodebase, 31 codebase = codebase, 52 … refs.mapNotNull { PsiTypeItem.create(codebase, it).asClass() }.filter { !it.isJavaLangObject() } in bounds() 59 fun create(codebase: PsiBasedCodebase, psiClass: PsiTypeParameter): PsiTypeParameterItem { in create() 61 val modifiers = modifiers(codebase, psiClass, "") in create() 64 codebase = codebase, in create()
|
D | PsiMethodItem.kt | 44 override val codebase: PsiBasedCodebase, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiMethodItem 54 codebase = codebase, in <lambda>() 108 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in <lambda>() 122 codebase, psiMethod.typeParameterList in <lambda>() 131 return PsiTypeItem.typeParameterClasses(codebase, psiMethod.typeParameterList) in <lambda>() 182 val exceptionClass = codebase.getType(type).asClass() in <lambda>() 215 val duplicated = create(codebase, targetContainingClass as PsiClassItem, psiMethod) in <lambda>() 304 throwsTypes = throwsTypes(codebase, psiMethod) in <lambda>() 309 codebase: PsiBasedCodebase, in <lambda>() 316 val modifiers = modifiers(codebase, psiMethod, commentText) in <lambda>() [all …]
|
D | PsiItem.kt | 39 override val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiItem 82 val docComment = codebase.getComment(documentation) in isCloned() 151 codebase.getComment(documentation, psi()) in fullyQualifiedDocumentation() 158 codebase.getComment(documentation, psi()) in fullyQualifiedDocumentation() 189 resolved = codebase.createReferenceFromText(referenceText, psi()).resolve() in getExpanded() 196 val exceptionReference = codebase.createReferenceFromText(exceptionName, psi()) in getExpanded() 205 val dummyTag = codebase.createDocTagFromText("@${tag.name} $suffix") in getExpanded() 333 codebase: PsiBasedCodebase, in modifiers() 337 return PsiModifierItem.create(codebase, element, documentation) in modifiers()
|
D | PsiCompilationUnit.kt | 38 class PsiCompilationUnit(val codebase: PsiBasedCodebase, containingFile: PsiFile) : CompilationUnit… constant in com.android.tools.metalava.model.psi.PsiCompilationUnit 76 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() 85 val classItem = codebase.findClass(psiClass) ?: continue in getImportStatements() 93 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() 158 val classItem = codebase.findClass(psiClass) ?: continue in classes()
|
D | PsiTypeParameterList.kt | 23 val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiTypeParameterList 42 parameters.mapTo(list) { PsiTypeParameterItem.create(codebase, it) } in typeParameters()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 32 override val codebase: TextCodebase, constant in com.android.tools.metalava.model.text.TextClassItem 50 codebase = codebase, 53 codebase = codebase, 120 override fun toType(): TypeItem = codebase.obtainTypeFromString( in containingPackage() 136 return TextTypeParameterList.create(codebase, s.substring(index)) in typeParameterList() 163 typeInfo = codebase.obtainTypeFromString(qualifiedTypeName) in asTypeInfo() 221 fun createClassStub(codebase: TextCodebase, name: String): TextClassItem = in simpleName() 222 TextClassItem(codebase = codebase, qualifiedName = name, isPublic = true).also { in simpleName() 225 codebase, in simpleName() 232 codebase: TextCodebase, in simpleName() [all …]
|
D | TextItem.kt | 26 override val codebase: TextCodebase, constant in com.android.tools.metalava.model.text.TextItem 37 …appendDocumentation(comment: String, tagSection: String?, append: Boolean) = codebase.unsupported() in findTagDocumentation() 39 …override fun isJava(): Boolean = codebase.unsupported() // source language not recorded in signatu… in findTagDocumentation() 40 …override fun isKotlin(): Boolean = codebase.unsupported() // source language not recorded in signa… in findTagDocumentation()
|
D | TextFieldItem.kt | 26 codebase: TextCodebase, 42 codebase, name, containingClass, position, 44 codebase = codebase, 74 override fun duplicate(targetContainingClass: ClassItem): FieldItem = codebase.unsupported() in hashCode()
|
D | TextPackageItem.kt | 25 codebase: TextCodebase, 28 ) : TextItem(codebase, position, modifiers = TextModifiers(codebase = codebase, public = true)), Pa…
|
D | TextParameterItem.kt | 27 codebase: TextCodebase, 41 codebase, position, 42 modifiers = TextModifiers(codebase = codebase, annotationStrings = annotations, vararg = vararg)
|
D | TextTypeParameterList.kt | 23 class TextTypeParameterList(val codebase: TextCodebase, private val typeListString: String) : TypeP… constant in com.android.tools.metalava.model.text.TextTypeParameterList 46 strings.mapTo(list) { TextTypeParameterItem.create(codebase, it) } in typeParameters() 53 fun create(codebase: TextCodebase, typeListString: String): TypeParameterList { in create() 54 return TextTypeParameterList(codebase, typeListString) in create()
|
D | TextMemberItem.kt | 26 codebase: TextCodebase, 31 ) : TextItem(codebase, position = position, modifiers = modifiers), MemberItem {
|
D | TextConstructorItem.kt | 24 codebase: TextCodebase, 41 codebase, name, containingClass, isPublic, isProtected, isPrivate, isInternal,
|
D | TextBackedAnnotationItem.kt | 25 override val codebase: Codebase, constant in com.android.tools.metalava.model.text.TextBackedAnnotationItem 39 …qualifiedName = if (mapName) AnnotationItem.mapName(codebase, annotationClass) else annotationClass
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationsDiffer.kt | 61 private val codebase: Codebase in <lambda>() constant 103 CodebaseComparator().compare(visitor, superset, codebase, ApiPredicate(codebase)) in <lambda>() 107 val apiFilter = FilterPredicate(ApiPredicate(codebase)) in <lambda>() 108 val apiReference = ApiPredicate(codebase, ignoreShown = true) in <lambda>() 116 val preFiltered = codebase.original != null in <lambda>() 118 codebase.accept(apiWriter) in <lambda>()
|
D | AndroidApiChecks.kt | 34 fun check(codebase: Codebase) { in check() 35 codebase.accept(object : ApiVisitor( in check() 36 codebase, in check()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/ |
D | ApiVisitor.kt | 66 codebase: Codebase, 96 ApiPredicate(codebase, ignoreShown = ignoreShown, matchRemoved = remove), 97 ApiPredicate(codebase, ignoreShown = true, ignoreRemoved = remove)
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AddApisFromCodebase.kt | 26 fun addApisFromCodebase(api: Api, apiLevel: Int, codebase: Codebase) { in addApisFromCodebase() 27 codebase.accept(object : ApiVisitor( in addApisFromCodebase() 28 codebase, in addApisFromCodebase()
|
D | AndroidJarReader.java | 51 @Nullable Codebase codebase) { in AndroidJarReader() argument 56 mCodebase = codebase; in AndroidJarReader() 59 AndroidJarReader(@NotNull File[] apiLevels, @Nullable Codebase codebase) { in AndroidJarReader() argument 61 mCodebase = codebase; in AndroidJarReader()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | AnnotationsDifferTest.kt | 32 val codebase = ApiFile.parseApi("old.txt", """ in Write diff() constant 55 AnnotationsDiffer(codebase, codebase2).writeDiffSignature(apiFile) in Write diff()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | PackageItem.kt | 44 codebase.findPackage(name.substring(0, lastDot)) in <lambda>()
|
D | Item.kt | 35 val codebase: Codebase constant
|