From 98552edbb299552dfca2fde5471578c58b0d0126 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 14 Jun 2017 17:40:18 +0300 Subject: [PATCH] Cleanup (javadoc) --- .../com/intellij/psi/impl/search/JavaSourceFilterScope.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/java-indexing-impl/src/com/intellij/psi/impl/search/JavaSourceFilterScope.java b/java/java-indexing-impl/src/com/intellij/psi/impl/search/JavaSourceFilterScope.java index 130ed1dee31e..16318184bd5a 100644 --- a/java/java-indexing-impl/src/com/intellij/psi/impl/search/JavaSourceFilterScope.java +++ b/java/java-indexing-impl/src/com/intellij/psi/impl/search/JavaSourceFilterScope.java @@ -37,6 +37,11 @@ public class JavaSourceFilterScope extends DelegatingGlobalSearchScope { this(delegate, false); } + /** + * By default, the scope excludes version-specific classes of multi-release .jar files + * (i.e. *.class files located under META-INF/versions/ directory). + * Setting {@code includeVersions} parameter to {@code true} allows such files to pass the filter. + */ public JavaSourceFilterScope(@NotNull GlobalSearchScope delegate, boolean includeVersions) { super(delegate); Project project = getProject();