SyntaxNodeDescriptor (CharSequence scopeName) { SyntaxNodeDescriptor syntaxNodeDescriptor = rulesMap.get(scopeName); if (syntaxNodeDescriptor == null) { LOG.info("Can't find syntax node for scope: '" + scopeName + "'"); return SyntaxNodeDescriptor.EMPTY_NODE; } return syntaxNodeDescriptor; }