Searched refs:psiValue (Results 1 – 2 of 2) sorted by relevance
303 private val psiValue: UExpression constant in UAnnotationSingleAttributeValue304 ) : DefaultAnnotationSingleAttributeValue({ getText(psiValue) }, { getValue(psiValue) }) { in <lambda>()307 private fun getValue(psiValue: UExpression): Any? { in getValue()308 if (psiValue is ULiteralExpression) { in getValue()309 val value = psiValue.value in getValue()312 } else if (psiValue.isNull) { in getValue()316 if (psiValue is PsiLiteral) { in getValue()317 return psiValue.value ?: getText(psiValue).removeSurrounding("\"") in getValue()320 val value = ConstantEvaluator.evaluate(null, psiValue) in getValue()325 if (psiValue is UClassLiteralExpression) { in getValue()[all …]
326 private val psiValue: PsiAnnotationMemberValue constant in PsiAnnotationSingleAttributeValue327 ) : DefaultAnnotationSingleAttributeValue({ psiValue.text }, { getValue(psiValue) }) { in <lambda>()330 private fun getValue(psiValue: PsiAnnotationMemberValue): Any { in getValue()331 if (psiValue is PsiLiteral) { in getValue()332 return psiValue.value ?: psiValue.text.removeSurrounding("\"") in getValue()335 val value = ConstantEvaluator.evaluate(null, psiValue) in getValue()340 if (psiValue is PsiClassObjectAccessExpression) { in getValue()343 return psiValue.operand.type.canonicalText in getValue()346 return psiValue.text ?: psiValue.text.removeSurrounding("\"") in getValue()351 if (psiValue is PsiReference) { in resolve()[all …]