@Override
  public boolean isApplicable(@NotNull PsiElement context, @NotNull Document copyDocument, int newOffset) {
    if (PsiUtil.isJavaToken(context, JavaTokenType.STRING_LITERAL)) {
      // Do not suggest inside String literals as it could be confusing if literal is interpreted as the reference
      return false;
    }
    return JavaPostfixTemplatesUtils.isNotPrimitiveTypeExpression(JavaPostfixTemplatesUtils.getTopmostExpression(context));
  }
@Override
  public boolean isApplicable(@NotNull PsiElement context, @NotNull Document copyDocument, int newOffset)