Home
last modified time | relevance | path

Searched refs:ctorItem (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextMethodItemTest.kt41 val ctorItem = cls.assertMethod("Foo", "") in text method item return type is non-null() constant
44 assertNotNull(ctorItem.returnType()) in text method item return type is non-null()
47 ctorItem.returnType().toString(), in text method item return type is non-null()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineConstructorItem.kt69 val ctorItem = in name() constant
84 ctorItem.parameters = emptyList() in name()
85 ctorItem.throwableTypes = emptyList() in name()
86 return ctorItem in name()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt858 val ctorItem = classItem.createDefaultConstructor() in 220 test ClassItem createDefaultConstructor() constant
860 assertEquals("Test", ctorItem.name()) in 220 test ClassItem createDefaultConstructor()
861 assertEquals(classItem, ctorItem.containingClass()) in 220 test ClassItem createDefaultConstructor()
862 assertEquals(classItem.type(), ctorItem.returnType()) in 220 test ClassItem createDefaultConstructor()
864 ctorItem.modifiers.getVisibilityLevel(), in 220 test ClassItem createDefaultConstructor()
867 assertEquals(emptyList(), ctorItem.throwsTypes()) in 220 test ClassItem createDefaultConstructor()
868 assertEquals(emptyList(), ctorItem.parameters()) in 220 test ClassItem createDefaultConstructor()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiMethodItemTest.kt69 val ctorItem = codebase.assertClass("Foo").assertMethod("Foo", "") in method return type is non-null() constant
70 val ctorReturnType = ctorItem.returnType() in method return type is non-null()