boolean (GroovyPsiElement context) { final GrLiteral literal = getLiteral(context); final Object value = literal == null ? null : literal.getValue(); return value != null && value.toString().length() == 1; }