Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt164 when (val initializer = initializer) { in PsiField() constant
166 initializer.resolve() in PsiField()
169 initializer.resolveMethod() in PsiField()
201 val initializer = psiField.initializer ?: return null in initialValue() constant
202 JavaConstantExpressionEvaluator.computeConstantExpression(initializer, false) in initialValue()
DUAnnotationItem.kt208 for (initializer in value.valueArguments) { in appendValue() variable
214 appendValue(codebase, sb, initializer, target, showDefaultAttrs) in appendValue()
253 val initializer = resolved.initializer in appendQualifiedName() constant
254 if (initializer != null) { in appendQualifiedName()
258 val source = getConstantSource(initializer) in appendQualifiedName()
DPsiAnnotationItem.kt210 val initializer = resolved.initializer in appendValue() constant
211 if (initializer != null) { in appendValue()
220 val source = getConstantSource(initializer) in appendValue()
262 for (initializer in value.initializers) { in appendValue() variable
271 initializer, in appendValue()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineBasedCodebase.kt57 private lateinit var initializer: TurbineCodebaseInitialiser variable
73 return initializer.findOrCreateClass(className) in resolveClass()
132 initializer = TurbineCodebaseInitialiser(units, this, classpath) in initialize()
133 initializer.initialize() in initialize()
DTurbineTypeItemFactory.kt45 private val initializer: TurbineCodebaseInitialiser, in <lambda>() constant in com.android.tools.metalava.model.turbine.TurbineTypeItemFactory
52 TurbineTypeItemFactory(codebase, initializer, scope) in <lambda>()
64 val typeAnnotations = initializer.createAnnotations(annos) in <lambda>()
246 val className = initializer.getQualifiedName(type.sym().binaryName()) in <lambda>()
247 val classTypeElement = initializer.getTypeElement(className)!! in <lambda>()
293 val qualifiedName = initializer.getQualifiedName(type.sym().binaryName()) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java245 HttpRequestInitializer initializer, int connectTimeout, int readTimeout) {
249 initializer.initialize(request);
265 HttpRequestInitializer initializer) {
269 initializer.initialize(request);
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiFieldItemTest.kt41 fun `no error for initializer of arrayOf`() { in no error for initializer of arrayOf()