void (@NotNull MultiHostRegistrar registrar, @NotNull PsiElement context) { assert context instanceof GrLiteral; final GrLiteral literal = (GrLiteral)context; if (!literal.isValidHost()) return; processInPlace(registrar, literal); }