Home
last modified time | relevance | path

Searched refs:inherited (Results 1 – 20 of 20) sorted by relevance

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DAddAdditionalOverridesTest.kt627 … fun `Do not elide method inherited from inaccessible class and default method from interface`() { in Do not elide method inherited from inaccessible class and default method from interface()
687 …fun `Elide methods inherited from one inaccessible class if they override method inherited from an… in Elide methods inherited from one inaccessible class if they override method inherited from another inaccessible class()
DDeprecatedTestCase.kt57 fun `Test deprecated not written out for field inherited from hidden class`() { in Test deprecated not written out for field inherited from hidden class()
DApiAnalyzerTest.kt137 fun `Deprecation mismatch check look at inherited docs for overriding methods`() { in Deprecation mismatch check look at inherited docs for overriding methods()
462 … fun `Test inherited method from hidden class into deprecated class inherits deprecated status`() { in Test inherited method from hidden class into deprecated class inherits deprecated status()
DShowAnnotationTest.kt199 fun `Include interface-inherited fields in stubs`() { in Include interface-inherited fields in stubs()
DExtractAnnotationsTest.kt738 fun `Test annotations on inherited methods`() { in Test annotations on inherited methods()
DApiFileTest.kt1761 fun `Skip inherited package private methods from private parents`() { in Skip inherited package private methods from private parents()
3992 fun `Test inherited hidden methods for descendant classes - Package private`() { in Test inherited hidden methods for descendant classes - Package private()
4052 fun `Test inherited hidden methods for descendant classes - Hidden annotation`() { in Test inherited hidden methods for descendant classes - Hidden annotation()
4114 fun `Test inherited methods that use generics`() { in Test inherited methods that use generics()
DJavadocTest.kt771 fun `Check references to inherited field constants`() { in Check references to inherited field constants()
DNullnessMigrationTest.kt762 fun `Test inherited methods`() { in Test inherited methods()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt856 val inherited = in added() constant
882 if (inherited == null || inherited == new || !inherited.modifiers.isAbstract()) { in added()
932 val inherited = in removed() constant
943 if (inherited == null || inherited != old && inherited.isHiddenOrRemoved()) { in removed()
952 val inherited = in removed() constant
958 if (inherited == null) { in removed()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiModifierItemTest.kt82 val inherited = codebase.assertClass("Inherited") in Kotlin implicit internal visibility inheritance() constant
83 val method = inherited.methods().first { it.name().startsWith("method") } in Kotlin implicit internal visibility inheritance()
84 val property = inherited.properties().single() in Kotlin implicit internal visibility inheritance()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt253 val inherited = in pop() constant
266 if (inherited != null) { in pop()
267 visitCompare(visitor, inherited, new) in pop()
269 if (inherited.parameters().isNotEmpty()) { in pop()
270 val parameters = inherited.parameters().map { ItemTree(it) }.toList() in pop()
271 compare(visitor, parameters, newTree.children, newTree.item(), inherited, filter) in pop()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/lint/
DFlaggedApiLintTest.kt280 fun `Dont require @FlaggedApi on existing items inherited into new SystemApi classes`() { in Dont require @FlaggedApi on existing items inherited into new SystemApi classes()
DNullabilityLintTest.kt635 fun `Nullability on vararg with inherited generic type`() { in Nullability on vararg with inherited generic type()
DApiLintTest.kt925 fun `Check suppress works on inherited methods`() { in Check suppress works on inherited methods()
2824 fun `Inherited interface constants inherited through parents into children`() { in Inherited interface constants inherited through parents into children()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DSourceMethodItemTest.kt105 fun `test inherited methods`() { in test inherited methods()
/tools/metalava/metalava/src/test/resources/
Dsource-model-provider-baseline.txt45 Test annotations on inherited methods[turbine]
90 Check references to inherited field constants[turbine]
230 Check suppress works on inherited methods[turbine]
239 Dont require @FlaggedApi on existing items inherited into new SystemApi classes[turbine]
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeModifiersTest.kt1963 fun `Test inherited nullability of unbounded Kotlin type variables - usage is not null`() { in <lambda>()
1985 fun `Test inherited nullability of unbounded Kotlin type variables - usage is nullable`() { in <lambda>()
2007 fun `Test inherited nullability of bounded Kotlin type variables - bound is not nullable`() { in <lambda>()
2027 fun `Test inherited nullability of bounded Kotlin type variables - bound is nullable`() { in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/
DApiGeneratorTest.kt528 …fun `API levels using source as current version does not include inherited methods excluded from s… in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DCompatibilityCheckTest.kt673 fun `Implicit modifiers from inherited super classes`() { in Implicit modifiers from inherited super classes()
1881 fun `Test inherited methods`() { in Test inherited methods()
/tools/metalava/
DREADME.md198 public method inherited from a package protected super class, which the API
465 hierarchy to see if there still is an inherited method with the same signature,