Home
last modified time | relevance | path

Searched refs:isInterface (Results 1 – 16 of 16) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt38 private var isInterface: Boolean = false, variable
90 override fun isInterface(): Boolean = isInterface in isInterface() method
265 createStub(codebase, name, isInterface = false) in createClassStub()
268 createStub(codebase, name, isInterface = true) in createClassStub()
270 …private fun createStub(codebase: TextCodebase, name: String, isInterface: Boolean): TextClassItem { in createClassStub()
278 isInterface = isInterface, in createClassStub()
DTextCodebase.kt91 getOrCreateClass(interfaceName, isInterface = true) in resolveInterfaces()
213 fun getOrCreateClass(name: String, isInterface: Boolean = false): TextClassItem { in getOrCreateClass()
219 val newClass = if (isInterface) { in getOrCreateClass()
382 textClass.isInterface(), in computeDelta()
DApiFile.kt242 var isInterface = false in parseClass() variable
259 isInterface = true in parseClass()
295 api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass()
310 … if ("implements" == token || "extends" == token || isInterface && ext != null && token != "{") { in parseClass()
532 if (cl.isInterface() && !modifiers.isDefault() && !modifiers.isStatic()) { in parseMethod()
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt227 if (old.isInterface() != new.isInterface() || in compare()
481 if (new.containingClass().isInterface() || new.containingClass().isAnnotationType()) { in compare()
774 val error = if (new.isInterface()) { in added()
837 new.containingClass().isInterface() -> when { in added()
873 old.isInterface() -> Issues.REMOVED_INTERFACE in removed()
890 includeInterfaces = from.isInterface() in removed()
903 includeInterfaces = from.isInterface() in removed()
DSignatureWriter.kt139 } else if (cls.isInterface()) { in <lambda>()
195 val isInterface = cls.isInterface() in <lambda>() constant
203 if (isInterface) { in <lambda>()
DKotlinInteropChecks.kt272 if (method.containingClass().isInterface()) { in <lambda>()
342 if (!cls.isInterface()) { in <lambda>()
350 if (cls.superClass()?.isInterface() == true) { in <lambda>()
DJDiffXmlWriter.kt91 if (cls.isInterface()) { in <lambda>()
130 if (cls.isInterface()) { in <lambda>()
DApiAnalyzer.kt295 if (cls.isInterface()) { in <lambda>()
DApiLint.kt492 if (cls.isInterface()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt80 override fun isInterface(): Boolean = classType == ClassType.INTERFACE in <lambda>() method
122 if (curr.isInterface && !classes.contains(curr)) { in <lambda>()
142 if (itf.isInterface && !result.contains(itf)) { in <lambda>()
307 considerInterfaces = targetPsi.isInterface in <lambda>()
655 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
686 considerInterfaces: Boolean = psiClass.isInterface in <lambda>()
DClassType.kt33 psiClass.isInterface -> INTERFACE in getClassType()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt335 val isInterface = classItem?.isInterface() == true || in <lambda>() constant
337 methodItem?.containingClass()?.isInterface() == true && in <lambda>()
344 !isInterface in <lambda>()
DClassItem.kt192 fun isInterface(): Boolean in <lambda>() method
201 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>()
625 if (!clazz.isInterface()) { in <lambda>()
709 } else if (includeSelf && superClass.isInterface()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt83 } else if (cls.isInterface()) { in addApisFromCodebase()
112 if ((cls.isClass() || cls.isInterface()) && in addApisFromCodebase()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt88 cls.isInterface() -> writer.print("interface") in <lambda>()
211 if (cls.isInterface() && cls.superClassType() != null) in <lambda>()
DKotlinStubWriter.kt77 cls.isInterface() -> writer.print("interface") in <lambda>()