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/
DModifierList.kt326 val isInterface = classItem?.isInterface() == true || in write() constant
327 (methodItem?.containingClass()?.isInterface() == true && in write()
330 if ((compatibility.abstractInInterfaces && isInterface || in write()
334 (!isInterface || compatibility.abstractInInterfaces) in write()
370 val isInterface = classItem?.isInterface() == true || in write() constant
371 (methodItem?.containingClass()?.isInterface() == true && in write()
374 if ((compatibility.abstractInInterfaces && isInterface || in write()
378 (!isInterface || compatibility.abstractInInterfaces) in write()
DClassItem.kt175 fun isInterface(): Boolean in <lambda>() method
184 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>()
588 if (!clazz.isInterface()) { in <lambda>()
672 } else if (includeSelf && superClass.isInterface()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt40 private var isInterface: Boolean = false, variable
92 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()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt157 } else if (cls.isInterface()) { in <lambda>()
195 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
223 val isInterface = cls.isInterface() in <lambda>() constant
228 … val all: Sequence<TypeItem> = if (isInterface && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
241 if (isInterface && !compatibility.extendsForInterfaceSuperClass) { in <lambda>()
DCompatibilityCheck.kt199 if (old.isInterface() != new.isInterface()) { in compare()
720 val error = if (new.isInterface()) { in added()
793 old.isInterface() -> Errors.REMOVED_INTERFACE in removed()
810 includeInterfaces = from.isInterface() in removed()
823 includeInterfaces = from.isInterface() in removed()
DJDiffXmlWriter.kt88 if (cls.isInterface()) { in <lambda>()
157 if (cls.isInterface()) { in <lambda>()
274 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
317 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
DKotlinInteropChecks.kt302 if (!cls.isInterface()) { in isSamCompatible()
310 if (cls.superClass()?.isInterface() == true) { in isSamCompatible()
DStubWriter.kt235 cls.isInterface() -> writer.print("interface") in visitClass()
382 if (cls.isInterface() && cls.superClassType() != null) in generateInterfaceList()
DApiAnalyzer.kt346 if (cls.isInterface()) { in <lambda>()
DApiLint.kt555 if (cls.isInterface()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt67 override fun isInterface(): Boolean = classType == ClassType.INTERFACE in <lambda>() method
112 if (curr.isInterface && !classes.contains(curr)) { in <lambda>()
132 if (itf.isInterface && !result.contains(itf)) { in <lambda>()
284 considerInterfaces = targetPsi.isInterface in <lambda>()
609 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
640 considerInterfaces: Boolean = psiClass.isInterface in <lambda>()
DClassType.kt33 psiClass.isInterface -> INTERFACE in getClassType()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DTextCodebase.kt100 getOrCreateClass(interfaceName, isInterface = true) in resolveInterfaces()
222 fun getOrCreateClass(name: String, isInterface: Boolean = false): TextClassItem { in getOrCreateClass()
228 val newClass = if (isInterface) { in getOrCreateClass()
393 textClass.isInterface(), in computeDelta()
DApiFile.java156 boolean isInterface = false; in parseClass()
174 isInterface = true; in parseClass()
205 cl = new TextClassItem(api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass()
220 isInterface && ext != null && !token.equals("{")) { in parseClass()
423 if (cl.isInterface() && !modifiers.isDefault() && !modifiers.isStatic()) { in parseMethod()
/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/tradefederation/core/src/com/android/tradefed/testtype/
DHostTest.java869 && !Modifier.isInterface(modifiers) in getClasses()