Home
last modified time | relevance | path

Searched refs:ClassKind (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt22 import com.android.tools.metalava.model.ClassKind in <lambda>()
61 override val classKind: ClassKind, in <lambda>()
347 classKind == ClassKind.ANNOTATION_TYPE && in <lambda>()
406 } else if (classKind == ClassKind.ENUM && psiMethod.isSyntheticEnumMethod()) { in <lambda>()
444 if (classKind == ClassKind.INTERFACE) { in <lambda>()
546 classKind: ClassKind, in <lambda>()
575 if (classKind != ClassKind.INTERFACE) { in <lambda>()
587 if (classKind == ClassKind.INTERFACE || classKind == ClassKind.ANNOTATION_TYPE) { in <lambda>()
605 private fun getClassKind(psiClass: PsiClass): ClassKind { in <lambda>()
607 psiClass.isAnnotationType -> ClassKind.ANNOTATION_TYPE in <lambda>()
[all …]
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DStubKind.kt19 import com.android.tools.metalava.model.ClassKind
28 INTERFACE({ classKind = ClassKind.INTERFACE }), in <lambda>()
DClassCharacteristics.kt19 import com.android.tools.metalava.model.ClassKind
46 val classKind: ClassKind,
DTextClassItem.kt22 import com.android.tools.metalava.model.ClassKind
41 override val classKind: ClassKind = ClassKind.CLASS,
68 if (classKind == ClassKind.INTERFACE) sequenceOf(this) else emptySequence(), in interfaceTypes()
DStubClassBuilder.kt19 import com.android.tools.metalava.model.ClassKind in <lambda>()
41 var classKind = ClassKind.CLASS in <lambda>()
DApiFile.kt25 import com.android.tools.metalava.model.ClassKind in <lambda>()
455 var classKind = ClassKind.CLASS in parseClass()
473 classKind = ClassKind.INTERFACE in parseClass()
478 classKind = ClassKind.ANNOTATION_TYPE in parseClass()
483 classKind = ClassKind.ENUM in parseClass()
511 if ("extends" == token && classKind != ClassKind.INTERFACE) { in parseClass()
540 classKind = ClassKind.ENUM in parseClass()
541 } else if (classKind == ClassKind.ANNOTATION_TYPE) { in parseClass()
549 classKind = ClassKind.ANNOTATION_TYPE in parseClass()
557 if (classKind == ClassKind.ENUM && !fullName.contains(".")) { in parseClass()
[all …]
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DClassKind.kt24 enum class ClassKind { class
DClassItem.kt185 val classKind: ClassKind in <lambda>()
188 fun isInterface() = classKind == ClassKind.INTERFACE in <lambda>()
191 fun isAnnotationType() = classKind == ClassKind.ANNOTATION_TYPE in <lambda>()
194 fun isEnum() = classKind == ClassKind.ENUM in <lambda>()
197 fun isClass() = classKind == ClassKind.CLASS in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineClassItem.kt21 import com.android.tools.metalava.model.ClassKind in <lambda>()
48 override val classKind: ClassKind, in <lambda>()
DTurbineCodebaseInitialiser.kt26 import com.android.tools.metalava.model.ClassKind in <lambda>()
400 fun getClassKind(type: TurbineTyKind): ClassKind { in <lambda>()
402 TurbineTyKind.INTERFACE -> ClassKind.INTERFACE in <lambda>()
403 TurbineTyKind.ENUM -> ClassKind.ENUM in <lambda>()
404 TurbineTyKind.ANNOTATION -> ClassKind.ANNOTATION_TYPE in <lambda>()
405 else -> ClassKind.CLASS in <lambda>()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DApiFileTest.kt22 import com.android.tools.metalava.model.ClassKind in <lambda>()
452 assertThat(unknownInterfaceClass.classKind).isEqualTo(ClassKind.INTERFACE) in <lambda>()