!CfmlUtil.isEndTagRequired(getTagName(fileText, iterator), null) &&
!findEndTag(fileText, iterator));
}
public boolean isPairBraces(IElementType tokenType1, IElementType tokenType2) {
PairedBraceMatcher matcher = LanguageBraceMatching.INSTANCE.forLanguage(tokenType1.getLanguage());
if (matcher != null) {
BracePair[] pairs = matcher.getPairs();
for (BracePair pair : pairs) {
if (pair.getLeftBraceType() == tokenType1) return pair.getRightBraceType() == tokenType2;
if (pair.getRightBraceType() == tokenType1) return pair.getLeftBraceType() == tokenType2;
}
}