Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 25 of 33) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt548 fun toFullyQualifiedDocumentation(owner: PsiItem, documentation: String): String { in toFullyQualifiedDocumentation()
553 val codebase = owner.codebase in toFullyQualifiedDocumentation()
556 codebase.getComment(documentation, owner.psi()) in toFullyQualifiedDocumentation()
561 … return toFullyQualifiedDocumentation(owner, documentation.substring(documentation.indexOf("/**"))) in toFullyQualifiedDocumentation()
563 codebase.getComment(documentation, owner.psi()) in toFullyQualifiedDocumentation()
566 expand(owner, comment, sb) in toFullyQualifiedDocumentation()
571 private fun reportUnresolvedDocReference(owner: Item, unresolved: String) { in reportUnresolvedDocReference()
586 reporter.report(Issues.UNRESOLVED_LINK, owner, "Unresolved documentation reference: $cleaned") in reportUnresolvedDocReference()
589 private fun expand(owner: PsiItem, element: PsiElement, sb: StringBuilder) { in expand()
598 if (text.startsWith("R.styleable#") && owner.documentation.contains("@attr")) { in expand()
[all …]
DPsiTypeItem.kt163 owner = context, in toTypeString()
323 override fun convertType(replacementMap: Map<String, String>?, owner: Item?): TypeItem { in convertType()
325 return create(codebase, codebase.createPsiType(s, owner?.psi())) in convertType()
424 owner = context, in toTypeString()
443 owner: Item?, in getCanonicalText()
457 … val nullness = owner?.modifiers?.annotations()?.firstOrNull { it.isNullnessAnnotation() } in getCanonicalText()
460 … val implicitNullness = if (owner != null) AnnotationItem.getImplicitNullness(owner) else null in getCanonicalText()
469 owner is MethodItem && in getCanonicalText()
470 (owner.containingClass().isAnnotationType() || in getCanonicalText()
471 owner.containingClass().isEnum() && owner.name() == "values") && in getCanonicalText()
[all …]
DCodePrinter.kt77 fun toSourceExpression(value: PsiAnnotationMemberValue, owner: Item): String { in toSourceExpression()
79 appendSourceExpression(value, sb, owner) in toSourceExpression()
83 …private fun appendSourceExpression(value: PsiAnnotationMemberValue, sb: StringBuilder, owner: Item… in appendSourceExpression()
91 return appendSourceLiteral(value.value, sb, owner) in appendSourceExpression()
106 val appended = appendSourceExpression(e, sb, owner) in appendSourceExpression()
129 return appendSourceExpression(operand, sb, owner) in appendSourceExpression()
134 return appendSourceLiteral(constant, sb, owner) in appendSourceExpression()
137 reporter.report(Issues.INTERNAL_ERROR, owner, "Unexpected annotation default value $value") in appendSourceExpression()
488 private fun appendSourceLiteral(v: Any?, sb: StringBuilder, owner: Item): Boolean { in appendSourceLiteral()
547 reporter.report(Issues.INTERNAL_ERROR, owner, "Unexpected literal value $v") in appendSourceLiteral()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterItem.kt26 private val owner: TypeParameterListOwner?, constant
41 val boundsString = bounds(typeParameterString, owner) in bounds()
67 owner: TypeParameterListOwner?, in create()
83 owner = owner, in create()
90 fun bounds(typeString: String?, owner: TypeParameterListOwner? = null): List<String> { in bounds()
95 …val parameters = (owner as? TextMemberItem)?.containingClass()?.typeParameterList()?.typeParameter… in bounds()
DTextTypeParameterList.kt25 var owner: TypeParameterListOwner?, variable in com.android.tools.metalava.model.text.TextTypeParameterList
50 strings.mapTo(list) { TextTypeParameterItem.create(codebase, owner, it) } in typeParameters()
57 …fun create(codebase: TextCodebase, owner: TypeParameterListOwner?, typeListString: String): TypePa… in create()
58 return TextTypeParameterList(codebase, owner, typeListString) in create()
DTextModifiers.kt83 val item = owner() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DDefaultModifierList.kt26 private lateinit var owner: Item variable
44 override fun owner(): Item { in owner() method
45 return owner in owner()
48 fun setOwner(owner: Item) { in setOwner()
49 this.owner = owner in setOwner()
263 … isFinal() && (owner as? MethodItem)?.containingClass()?.modifiers?.isFinal() == true) { in equivalentTo()
267 … isDeprecated() && (owner as? MethodItem)?.containingClass()?.deprecated == true) { in equivalentTo()
DCodebase.kt175 fun findClassByOwner(owner: String, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
176 val className = owner.replace('/', '.').replace('$', '.') in <lambda>()
190 val cls = findClassByOwner(node.owner, apiFilter) ?: return null in <lambda>()
248 val cls = findClassByOwner(node.owner, apiFilter) ?: return null in <lambda>()
DModifierList.kt34 fun owner(): Item in <lambda>() method
196 } else if (owner().isHiddenOrRemoved()) { in <lambda>()
DClassItem.kt334 val owner = itf.asClass() in <lambda>() constant
335 owner?.let { visitor.visitType(itf, it) } in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt830 val owner = cls.qualifiedName ?: return -1 in getClassVersion() constant
831 return getClassVersion(owner) in getClassVersion()
838 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup() constant
844 return getMethodVersion(owner, if (method.isConstructor) "<init>" else method.name, desc) in ApiLookup()
849 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup() constant
850 return getFieldVersion(owner, field.name) in ApiLookup()
854 val owner = cls.qualifiedName ?: return -1 in ApiLookup() constant
855 return getClassDeprecatedIn(owner) in ApiLookup()
860 val owner = containingClass.qualifiedName ?: return -1 in ApiLookup() constant
866 return getMethodDeprecatedIn(owner, method.name, desc) in ApiLookup()
[all …]
DAnnotationStatistics.kt438 if (skipJava && isSkippableOwner(call.owner)) { in <lambda>()
452 if (skipJava && isSkippableOwner(field.owner)) { in <lambda>()
469 private fun isSkippableOwner(owner: String) = in <lambda>()
470 owner.startsWith("java/") || in <lambda>()
471 owner.startsWith("javax/") || in <lambda>()
472 owner.startsWith("kotlin") || in <lambda>()
473 owner.startsWith("kotlinx/") in <lambda>()
/tools/external_updater/
Dgithub_archive_updater.py76 owner: str
86 self.owner, self.repo = match.group(1, 2)
130 self.owner, self.repo, self._new_ver))
132 self.owner, self.repo, self._new_ver))
/tools/trebuchet/
DLICENSE13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
52 submitted to Licensor for inclusion in the Work by the copyright owner
54 the copyright owner. For the purposes of this definition, "submitted"
61 designated in writing by the copyright owner as "Not a Contribution."
190 Copyright [yyyy] [name of copyright owner]
/tools/test/openhst/
DLICENSE13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
52 submitted to Licensor for inclusion in the Work by the copyright owner
54 the copyright owner. For the purposes of this definition, "submitted"
61 designated in writing by the copyright owner as "Not a Contribution."
190 Copyright [yyyy] [name of copyright owner]
/tools/treble/
DLICENSE13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
52 submitted to Licensor for inclusion in the Work by the copyright owner
54 the copyright owner. For the purposes of this definition, "submitted"
61 designated in writing by the copyright owner as "Not a Contribution."
190 Copyright [yyyy] [name of copyright owner]
/tools/apksig/
DLICENSE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."
202 Copyright [yyyy] [name of copyright owner]
/tools/acloud/
DLICENSE13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
52 submitted to Licensor for inclusion in the Work by the copyright owner
54 the copyright owner. For the purposes of this definition, "submitted"
61 designated in writing by the copyright owner as "Not a Contribution."
190 Copyright [yyyy] [name of copyright owner]
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DTypeVisitor.kt24 open fun visitType(type: TypeItem, owner: Item) {} in skip()
25 open fun afterVisitType(type: TypeItem, owner: Item) {} in afterVisitType()
/tools/security/sanitizer-status/
DNOTICE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."
/tools/test/connectivity/acts/framework/acts/event/
Dsubscription_handle.py39 def __get__(self, instance, owner): argument
51 for attr, value in owner.__dict__.items():
/tools/tradefederation/prebuilts/
DOWNERS9 # For owner review (+1) of prebuilt drops.
/tools/test/connectivity/acts/framework/acts/libs/test_binding/
Dbinding.py40 def __get__(self, instance, owner): argument
/tools/test/connectivity/acts/framework/acts/libs/
Dversion_selector.py271 def __get__(self, instance, owner): argument
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py166 def __get__(self, instance, owner): argument

12