Home
last modified time | relevance | path

Searched refs:isEnum (Results 1 – 15 of 15) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModifierListWriter.kt74 return containingClass.isEnum() || containingClass.isAnnotationType() in <lambda>()
89 val isEnum = containingClass.isEnum() in <lambda>() constant
92 return (!modifiers.isAbstract() || isEnum) && !isAnnotation && !modifiers.isNative() in <lambda>()
146 classItem?.isEnum() != true && in <lambda>()
157 if (list.isStatic() && (classItem == null || !classItem.isEnum())) { in <lambda>()
168 classItem?.isEnum() != true && in <lambda>()
DBaseItemVisitor.kt53 if (cls.isEnum()) { in visit()
DClassItem.kt122 isEnum() -> qualifiedName == JAVA_LANG_ENUM in <lambda>()
194 fun isEnum() = classKind == ClassKind.ENUM in <lambda>() method
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt77 cls.isEnum() -> writer.print("enum") in <lambda>()
89 if (cls.isEnum()) { in <lambda>()
124 if (cls.isEnum() || cls.isAnnotationType() || cls.isInterface()) { in <lambda>()
DKotlinStubWriter.kt62 cls.isEnum() -> writer.print("enum class") in <lambda>()
89 if (cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt205 } else if (cls.isEnum()) { in <lambda>()
236 if (cls.isEnum() || cls.isAnnotationType() || cls.isInterface()) { in <lambda>()
DJDiffXmlWriter.kt255 cls.isEnum() -> JAVA_LANG_ENUM in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt228 old.isEnum() != new.isEnum() || in compare()
287 if (!new.isEnum()) { in compare()
523 if (!new.containingClass().isEnum() && !oldModifiers.isStatic()) { in compare()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt609 psiClass.isEnum -> ClassKind.ENUM in <lambda>()
657 !psiClass.isEnum in <lambda>()
695 if (containingClass?.isEnum != true) return false in PsiMethod()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt227 assertEquals(true, enumItem.isEnum()) in 100 - check class types()
1016 assertEquals(true, classItem.isEnum()) in 250 - test enum class and field()
1020 assertEquals(true, classItem1.isEnum()) in 250 - test enum class and field()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt118 } else if (cls.isEnum()) { in <lambda>()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java121 if (cType.isEnum()) { in getHandler()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineCodebaseInitialiser.kt935 classItem.isEnum() && in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java174 if (cType.isEnum()) { in getHandler()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt1014 if (!containingClass.isEnum()) return false in isEnumSyntheticMethod()