Home
last modified time | relevance | path

Searched refs:hasDefaultValue (Results 1 – 13 of 13) sorted by relevance

/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiParameterItemTest.kt88 assertFalse(parameters[0].hasDefaultValue()) in actuals get params from expects()
91 assertTrue(parameter.hasDefaultValue()) in actuals get params from expects()
95 assertFalse(parameters[2].hasDefaultValue()) in actuals get params from expects()
104 assertTrue(parameter.hasDefaultValue()) in actuals get params from expects()
113 assertTrue(parameters[0].hasDefaultValue()) in actuals get params from expects()
116 assertTrue(parameters[1].hasDefaultValue()) in actuals get params from expects()
119 assertFalse(parameters[2].hasDefaultValue()) in actuals get params from expects()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextParameterItem.kt32 private val hasDefaultValue: Boolean, constant
55 override fun hasDefaultValue(): Boolean = hasDefaultValue in type() method
77 hasDefaultValue, in hashCode()
DApiFile.kt1523 var hasDefaultValue = token == "optional" in parseParameterList() variable
1524 if (hasDefaultValue) { in parseParameterList()
1606 hasDefaultValue = true in parseParameterList()
1623 hasDefaultValue, in parseParameterList()
1644 val hasDefaultValue: Boolean, constant in com.android.tools.metalava.model.text.ApiFile.ParameterInfo
1672 hasDefaultValue, in create()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DParameterItem.kt58 fun hasDefaultValue(): Boolean in name() method
DMethodItem.kt369 fun hasDefaultValue(): Boolean { in <lambda>() method
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt207 if (!param.hasDefaultValue()) { in <lambda>()
273 ktFunction.valueParameters.none { it.hasDefaultValue() } && in <lambda>()
274 parameters.any { it.hasDefaultValue() } in <lambda>()
DPsiParameterItem.kt118 override fun hasDefaultValue(): Boolean = isDefaultValueKnown() in hasDefaultValue() method
201 if (symbol is KtValueParameterSymbol && symbol.hasDefaultValue) { in computeDefaultValue()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineParameterItem.kt49 override fun hasDefaultValue(): Boolean = isDefaultValueKnown() in containingMethod() method
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt107 parameters.forEachIndexed { i, item -> defaultMask.set(i, item.hasDefaultValue()) } in <lambda>()
334 if (parameter.hasDefaultValue() && fileFormat.conciseDefaultValues) { in <lambda>()
DKotlinInteropChecks.kt313 if (parameter.hasDefaultValue()) { in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt236 assertThat(method.hasDefaultValue()).isTrue() in <lambda>()
287 assertThat(param.hasDefaultValue()).isTrue() in <lambda>()
315 assertThat(param.hasDefaultValue()).isTrue() in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt196 if (old.hasDefaultValue() && !new.hasDefaultValue()) { in compare()
869 if (new.containingClass().isAnnotationType() && new.hasDefaultValue()) { in added()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt905 assertEquals(true, paramItem.hasDefaultValue()) in 230 test public name and default value of parameters()