Skip to content

Instantly share code, notes, and snippets.

@shiraji
Created February 20, 2018 08:43
Show Gist options
  • Save shiraji/545765ef6bc84d67cd9744572c3c2c53 to your computer and use it in GitHub Desktop.
Save shiraji/545765ef6bc84d67cd9744572c3c2c53 to your computer and use it in GitHub Desktop.
private val place = XmlPatterns.psiElement(XmlToken::class.java)
.withText(DUMMY_IDENTIFIER_TRIMMED)
.withParent(XmlPatterns.xmlText()
.withParent(XmlPatterns.psiElement(XmlTag::class.java)
.withName(RESOURCES_TAG_NAME)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment