Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DClassType.kt34 psiClass.isEnum -> ENUM in getClassType()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt155 …} else if (!compatibility.classForEnums && cls.isEnum()) { // compat mode calls enums "class" inst… in <lambda>()
187 if (!compatibility.classForEnums && cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
DJDiffXmlWriter.kt119 if (cls.isEnum() && compatibility.defaultEnumMethods) { in <lambda>()
310 cls.isEnum() -> JAVA_LANG_ENUM in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java241 boolean isEnum = false; in parseClass()
266 isEnum = true; in parseClass()
293 cl = new TextClassItem(api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass()
557 …d parseField(TextCodebase api, Tokenizer tokenizer, TextClassItem cl, String token, boolean isEnum) in parseField() argument
589 if (isEnum) { in parseField()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt88 } else if (cls.isEnum()) { in addApisFromCodebase()