Searched refs:isEnum (Results 1 – 16 of 16) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | StubWriter.kt | 229 val removeAbstract = cls.modifiers.isAbstract() && (cls.isEnum() || cls.isAnnotationType()) in visitClass() 236 cls.isEnum() -> writer.print("enum") in visitClass() 250 if (cls.isEnum()) { in visitClass() 342 if (cls.isEnum() || cls.isAnnotationType()) { in generateSuperClassStatement() 514 val isEnum = containingClass.isEnum() in writeMethod() constant 517 if (isEnum && (method.name() == "values" || in writeMethod() 532 … val removeAbstract = modifiers.isAbstract() && (isEnum || isAnnotation) || movedFromInterface in writeMethod() 559 …if (modifiers.isAbstract() && !removeAbstract && !isEnum || isAnnotation || modifiers.isNative()) { in writeMethod()
|
D | CompatibilityCheck.kt | 234 if (!new.isEnum()) { in compare() 430 if (!new.containingClass().isEnum() && !oldModifiers.isStatic()) { in compare() 763 new.parameters().size == 1) && new.containingClass().isEnum() in added()
|
D | SignatureWriter.kt | 159 …} else if (!compatibility.classForEnums && cls.isEnum()) { // compat mode calls enums "class" inst… in <lambda>() 191 if (!compatibility.classForEnums && cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
|
D | JDiffXmlWriter.kt | 116 if (cls.isEnum() && compatibility.defaultEnumMethods) { in <lambda>() 304 cls.isEnum() -> JAVA_LANG_ENUM in <lambda>()
|
D | NullabilityAnnotationsValidator.kt | 227 containingClass().isEnum() && name() == "valueOf" && parameters().map { in MethodItem()
|
D | ApiLint.kt | 361 if (cls.isEnum()) { in <lambda>() 2892 if (item.name() == "values" && item.containingClass().isEnum()) { in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 41 private var isEnum: Boolean = false, variable 94 override fun isEnum(): Boolean = isEnum in isInterface() method 109 fun setIsEnum(isEnum: Boolean) { in setIsEnum() 110 this.isEnum = isEnum in setIsEnum()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 292 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in write() 299 (classItem?.isEnum() != true || compatibility.finalInInterfaces) || in write() 301 methodItem?.name() == "values" && methodItem.containingClass().isEnum() in write() 332 (classItem?.isEnum() != true && in write() 376 (classItem?.isEnum() != true && in write() 387 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in write() 394 (classItem?.isEnum() != true || compatibility.finalInInterfaces) in write()
|
D | ClassItem.kt | 115 isEnum() -> qualifiedName == JAVA_LANG_ENUM in <lambda>() 181 fun isEnum(): Boolean in <lambda>() method 184 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>() 263 if (isEnum()) { in <lambda>() 795 if (cls.isEnum()) {
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 158 boolean isEnum = false; in parseClass() 183 isEnum = true; in parseClass() 205 cl = new TextClassItem(api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass() 461 …d parseField(TextCodebase api, Tokenizer tokenizer, TextClassItem cl, String token, boolean isEnum) in parseField() argument 493 if (isEnum) { in parseField()
|
D | TextCodebase.kt | 142 cl.isEnum() -> JAVA_LANG_ENUM in resolveSuperclasses() 394 textClass.isEnum(), in computeDelta()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | ClassType.kt | 34 psiClass.isEnum -> ENUM in getClassType()
|
D | PsiClassItem.kt | 69 override fun isEnum(): Boolean = classType == ClassType.ENUM in <lambda>() method 609 …onstructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isEnum) { in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AddApisFromCodebase.kt | 88 } else if (cls.isEnum()) { in addApisFromCodebase()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 121 if (cType.isEnum()) { in getHandler()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 170 if (cType.isEnum()) { in getHandler()
|