diff --git a/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeAssociationService.java b/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeSyntaxAssociationService.java similarity index 85% rename from recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeAssociationService.java rename to recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeSyntaxAssociationService.java index 469a01434..febf4f14f 100644 --- a/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeAssociationService.java +++ b/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeSyntaxAssociationService.java @@ -22,17 +22,17 @@ * for use by {@link RegexSyntaxHighlighter}. *

* Users can change which highlighter is used for different file extensions by updating the - * {@link FileTypeAssociationServiceConfig#getExtensionsToLangKeys() extensions map config}. + * {@link FileTypeSyntaxAssociationServiceConfig#getExtensionsToLangKeys() extensions map config}. * * @author Matt Coley */ @ApplicationScoped -public class FileTypeAssociationService implements Service { - public static final String SERVICE_ID = "file-type-association"; - private final FileTypeAssociationServiceConfig config; +public class FileTypeSyntaxAssociationService implements Service { + public static final String SERVICE_ID = "file-type-syntax-association"; + private final FileTypeSyntaxAssociationServiceConfig config; @Inject - public FileTypeAssociationService(@Nonnull FileTypeAssociationServiceConfig config) { + public FileTypeSyntaxAssociationService(@Nonnull FileTypeSyntaxAssociationServiceConfig config) { this.config = config; } @@ -85,7 +85,7 @@ public String getServiceId() { @Nonnull @Override - public FileTypeAssociationServiceConfig getServiceConfig() { + public FileTypeSyntaxAssociationServiceConfig getServiceConfig() { return config; } } diff --git a/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeAssociationServiceConfig.java b/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeSyntaxAssociationServiceConfig.java similarity index 85% rename from recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeAssociationServiceConfig.java rename to recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeSyntaxAssociationServiceConfig.java index 45158ef54..9c7723526 100644 --- a/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeAssociationServiceConfig.java +++ b/recaf-ui/src/main/java/software/coley/recaf/services/info/association/FileTypeSyntaxAssociationServiceConfig.java @@ -9,7 +9,6 @@ import software.coley.recaf.config.BasicMapConfigValue; import software.coley.recaf.config.ConfigGroups; import software.coley.recaf.services.ServiceConfig; -import software.coley.recaf.services.info.association.FileTypeAssociationService; import software.coley.recaf.ui.LanguageStylesheets; import software.coley.recaf.ui.control.richtext.syntax.RegexLanguages; @@ -19,7 +18,7 @@ import java.util.stream.Collectors; /** - * Config for {@link FileTypeAssociationService}. + * Config for {@link FileTypeSyntaxAssociationService}. *

* Retains mapping of file extensions to language keys used by: *