Searched refs:inheritedMethod (Results 1 – 4 of 4) sorted by relevance
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/ |
D | SourceMethodItemTest.kt | 130 val inheritedMethod = targetClassItem.inheritMethodFromNonApiAncestor(methodItem) in test inherited methods() constant 135 inheritedMethod.modifiers.getVisibilityLevel() in test inherited methods() 137 assertEquals(true, methodItem.modifiers.equivalentTo(inheritedMethod.modifiers)) in test inherited methods() 138 assertEquals(false, inheritedMethod.hidden) in test inherited methods() 139 assertEquals(false, inheritedMethod.docOnly) in test inherited methods() 140 assertEquals("void", inheritedMethod.returnType().toTypeString()) in test inherited methods() 143 inheritedMethod.parameters().map { it.type().toTypeString() } in test inherited methods() 145 assertEquals(methodItem.typeParameterList, inheritedMethod.typeParameterList) in test inherited methods() 146 assertEquals(methodItem.throwsTypes(), inheritedMethod.throwsTypes()) in test inherited methods() 147 assertEquals(classItem, inheritedMethod.inheritedFrom) in test inherited methods() [all …]
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/ |
D | CommonClassItemTest.kt | 1309 val inheritedMethod = publicClass.inheritMethodFromNonApiAncestor(hiddenClassMethod) in Test inheritMethodFromNonApiAncestor without type substitutions() constant 1310 assertSame(hiddenClass, inheritedMethod.inheritedFrom) in Test inheritMethodFromNonApiAncestor without type substitutions() 1311 assertTrue(inheritedMethod.inheritedFromAncestor) in Test inheritMethodFromNonApiAncestor without type substitutions() 1313 assertEquals("fun foo(): void", inheritedMethod.kotlinLikeDescription()) in Test inheritMethodFromNonApiAncestor without type substitutions() 1391 val inheritedMethod = publicClass.inheritMethodFromNonApiAncestor(method) in Test inheritMethodFromNonApiAncestor with type substitutions() constant 1392 assertSame(hiddenClass, inheritedMethod.inheritedFrom) in Test inheritMethodFromNonApiAncestor with type substitutions() 1393 assertTrue(inheritedMethod.inheritedFromAncestor) in Test inheritMethodFromNonApiAncestor with type substitutions() 1395 val parameterType = inheritedMethod.parameters().single().type() in Test inheritMethodFromNonApiAncestor with type substitutions() 1444 val inheritedMethod = publicClass.inheritMethodFromNonApiAncestor(method) in Test inheritMethodFromNonApiAncestor with type substitutions and not type use nullability annotations() constant 1445 assertSame(hiddenClass, inheritedMethod.inheritedFrom) in Test inheritMethodFromNonApiAncestor with type substitutions and not type use nullability annotations() [all …]
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 330 val inheritedMethod = in pop() constant 343 if (inheritedMethod != null) { in pop() 344 visitCompare(visitor, old, inheritedMethod) in pop() 346 if (inheritedMethod.parameters().isNotEmpty()) { in pop() 347 val parameters = inheritedMethod.parameters().map { ItemTree(it) }.toList() in pop() 353 inheritedMethod, in pop()
|
D | ApiAnalyzer.kt | 487 val inheritedMethod = iterator.next() in <lambda>() constant 488 if (method.matches(inheritedMethod)) { in <lambda>() 536 val inheritedMethod = iterator.next() in <lambda>() constant 537 if (method.matches(inheritedMethod)) { in <lambda>()
|