String function ( @ NotNull PsiElement arg0 ) { final InjectedLanguageManager loc0 = InjectedLanguageManager . getInstance ( arg0 . getProject ( ) ) ; if ( loc0 . isInjectedFragment ( arg0 . getContainingFile ( ) ) ) { return loc0 . getUnescapedText ( arg0 ) ; } else { return arg0 . getText ( ) ; } }
returns text of the given psi element . unlike obvious psielement #gettext this method unescapes text of the element if latterbelongs to injected code fragment using injectedlanguagemanager #getunescapedtext psielement . concode_field_sep PlaceHolder placeHolder concode_field_sep String stripQuotes concode_elem_sep boolean isEscapedChar concode_elem_sep PsiElement findFurthestSiblingOfSameType concode_elem_sep boolean isPropertyValue concode_elem_sep boolean hasElementType concode_elem_sep boolean hasElementType concode_elem_sep boolean hasElementType concode_elem_sep boolean hasElementType concode_elem_sep PsiElement addProperty concode_elem_sep boolean isArrayElement concode_elem_sep boolean isPropertyKey