Home
last modified time | relevance | path

Searched refs:initializer (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt583 val initializer = (item.psi() as? PsiField)?.initializer in getImplicitNullness() constant
584 if (initializer != null && initializer is PsiReference) { in getImplicitNullness()
585 val resolved = initializer.resolve() in getImplicitNullness()
593 } else if (initializer != null && initializer is PsiCallExpression) { in getImplicitNullness()
594 val resolved = initializer.resolveMethod() in getImplicitNullness()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiAnnotationItem.kt193 val initializer = resolved.initializer in <lambda>() constant
194 if (initializer != null) { in <lambda>()
200 val source = getConstantSource(initializer) in <lambda>()
230 for (initializer in value.initializers) { in <lambda>() variable
236 appendValue(codebase, sb, initializer, target, showDefaultAttrs) in <lambda>()
DUAnnotationItem.kt192 for (initializer in value.valueArguments) { in <lambda>() variable
198 appendValue(codebase, sb, initializer, target, showDefaultAttrs) in <lambda>()
225 val initializer = resolved.initializer in <lambda>() constant
226 if (initializer != null) { in <lambda>()
230 val source = getConstantSource(initializer) in <lambda>()
DPsiFieldItem.kt60 val initializer = psiField.initializer ?: return null in type() constant
61 JavaConstantExpressionEvaluator.computeConstantExpression(initializer, false) in type()