private @NotNull IElementType getImportType(@NotNull PsiBuilder builder) {
    IElementType type = builder.getTokenType();
    if (type == JavaTokenType.STATIC_KEYWORD) {
      builder.advanceLexer();
      return myJavaElementTypeContainer.IMPORT_STATIC_STATEMENT;
    }
    if (type == JavaTokenType.IDENTIFIER &&
        PsiKeyword.MODULE.equals(builder.getTokenText()) &&
        builder.lookAhead(1) == JavaTokenType.IDENTIFIER) {
      builder.remapCurrentToken(JavaTokenType.MODULE_KEYWORD);
      builder.advanceLexer();
      return myJavaElementTypeContainer.IMPORT_MODULE_STATEMENT;
    }
    return myJavaElementTypeContainer.IMPORT_STATEMENT;
  }
private @NotNull IElementType getImportType(@NotNull PsiBuilder builder)