Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt350 val isInterface = classItem?.isInterface() == true || in <lambda>() constant
351 (methodItem?.containingClass()?.isInterface() == true && in <lambda>()
354 if ((compatibility.abstractInInterfaces && isInterface || in <lambda>()
358 (!isInterface || compatibility.abstractInInterfaces) in <lambda>()
397 val isInterface = classItem?.isInterface() == true || in <lambda>() constant
398 (methodItem?.containingClass()?.isInterface() == true && in <lambda>()
401 if ((compatibility.abstractInInterfaces && isInterface || in <lambda>()
405 (!isInterface || compatibility.abstractInInterfaces) in <lambda>()
DClassItem.kt183 fun isInterface(): Boolean in <lambda>() method
192 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>()
591 if (!clazz.isInterface()) { in <lambda>()
675 } else if (includeSelf && superClass.isInterface()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt38 private var isInterface: Boolean = false, variable
88 override fun isInterface(): Boolean = isInterface in isInterface() method
263 createStub(codebase, name, isInterface = false) in createClassStub()
266 createStub(codebase, name, isInterface = true) in createClassStub()
268 …private fun createStub(codebase: TextCodebase, name: String, isInterface: Boolean): TextClassItem { in createClassStub()
276 isInterface = isInterface, in createClassStub()
DTextCodebase.kt92 getOrCreateClass(interfaceName, isInterface = true) in resolveInterfaces()
214 fun getOrCreateClass(name: String, isInterface: Boolean = false): TextClassItem { in getOrCreateClass()
220 val newClass = if (isInterface) { in getOrCreateClass()
386 textClass.isInterface(), in computeDelta()
DApiFile.java239 boolean isInterface = false; in parseClass()
257 isInterface = true; in parseClass()
293 cl = new TextClassItem(api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass()
308 isInterface && ext != null && !token.equals("{")) { in parseClass()
519 if (cl.isInterface() && !modifiers.isDefault() && !modifiers.isStatic()) { in parseMethod()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt153 } else if (cls.isInterface()) { in <lambda>()
191 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
219 val isInterface = cls.isInterface() in <lambda>() constant
224 … val all: Sequence<TypeItem> = if (isInterface && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
237 if (isInterface && !compatibility.extendsForInterfaceSuperClass) { in <lambda>()
DCompatibilityCheck.kt200 if (old.isInterface() != new.isInterface()) { in compare()
736 val error = if (new.isInterface()) { in added()
816 old.isInterface() -> Issues.REMOVED_INTERFACE in removed()
833 includeInterfaces = from.isInterface() in removed()
846 includeInterfaces = from.isInterface() in removed()
DJDiffXmlWriter.kt91 if (cls.isInterface()) { in <lambda>()
160 if (cls.isInterface()) { in <lambda>()
280 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
323 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
DKotlinInteropChecks.kt270 if (method.containingClass().isInterface()) { in <lambda>()
341 if (!cls.isInterface()) { in <lambda>()
349 if (cls.superClass()?.isInterface() == true) { in <lambda>()
DApiAnalyzer.kt296 if (cls.isInterface()) { in <lambda>()
DApiLint.kt585 if (cls.isInterface()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt74 override fun isInterface(): Boolean = classType == ClassType.INTERFACE in <lambda>() method
115 if (curr.isInterface && !classes.contains(curr)) { in <lambda>()
135 if (itf.isInterface && !result.contains(itf)) { in <lambda>()
293 considerInterfaces = targetPsi.isInterface in <lambda>()
591 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
622 considerInterfaces: Boolean = psiClass.isInterface in <lambda>()
DClassType.kt33 psiClass.isInterface -> INTERFACE in getClassType()
/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.kt90 cls.isInterface() -> writer.print("interface") in <lambda>()
214 if (cls.isInterface() && cls.superClassType() != null) in <lambda>()
DKotlinStubWriter.kt78 cls.isInterface() -> writer.print("interface") in <lambda>()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java175 && !Modifier.isInterface(modifiers) in testLoadClass()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java985 && !Modifier.isInterface(modifiers) in getClasses()