Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt243 val literalValue = expression.value in appendExpression() constant
244 if (appendLiteralValue(sb, literalValue)) { in appendExpression()
364 val literalValue = ConstantEvaluator.evaluate(null, expression) in appendExpression() constant
365 if (literalValue != null) { in appendExpression()
366 if (appendLiteralValue(sb, literalValue)) { in appendExpression()
377 private fun appendLiteralValue(sb: StringBuilder, literalValue: Any?): Boolean { in appendLiteralValue()
378 if (literalValue == null) { in appendLiteralValue()
381 } else if (literalValue is Number || literalValue is Boolean) { in appendLiteralValue()
382 sb.append(literalValue.toString()) in appendLiteralValue()
384 } else if (literalValue is String || literalValue is Char) { in appendLiteralValue()
[all …]