diff --git a/platform/lang-api/src/com/intellij/framework/detection/DetectionExcludesConfiguration.java b/platform/lang-api/src/com/intellij/framework/detection/DetectionExcludesConfiguration.java index d1aaf71f63b0..49bfd386cf6b 100644 --- a/platform/lang-api/src/com/intellij/framework/detection/DetectionExcludesConfiguration.java +++ b/platform/lang-api/src/com/intellij/framework/detection/DetectionExcludesConfiguration.java @@ -30,8 +30,19 @@ public abstract class DetectionExcludesConfiguration { return ServiceManager.getService(project, DetectionExcludesConfiguration.class); } + /** + * Suppress detection of framework {@code type} everywhere in the project + */ public abstract void addExcludedFramework(@NotNull FrameworkType type); - public abstract void addExcludedFile(@NotNull VirtualFile file, @Nullable FrameworkType type); + + /** + * Suppress detection of framework {@code type} in the specified file or directory + */ + public abstract void addExcludedFile(@NotNull VirtualFile fileOrDirectory, @Nullable FrameworkType type); + + /** + * Suppress detection of framework {@code type} in the file or directory specified by {@code url} + */ public abstract void addExcludedUrl(@NotNull String url, @Nullable FrameworkType type); public abstract boolean isExcludedFromDetection(@NotNull VirtualFile file, @NotNull FrameworkType frameworkType);