From fa8b4c2185605c3b66df33cb2d6f42cb5111c233 Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 17 Nov 2015 18:51:55 +0300 Subject: [PATCH] more detailed javadoc (IDEA-CR-6779) --- .../src/org/jetbrains/jps/incremental/CompileScope.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jps/jps-builders/src/org/jetbrains/jps/incremental/CompileScope.java b/jps/jps-builders/src/org/jetbrains/jps/incremental/CompileScope.java index 11c5441cb09c..205d47478f65 100644 --- a/jps/jps-builders/src/org/jetbrains/jps/incremental/CompileScope.java +++ b/jps/jps-builders/src/org/jetbrains/jps/incremental/CompileScope.java @@ -47,7 +47,9 @@ public abstract class CompileScope { public abstract boolean isAffected(@NotNull BuildTarget target); /** - * @return {@code true} if {@code target} as a whole is included into the scope, i.e. all its files are affected + * Returns {@code true} if {@code target} is included into the scope as a whole, in particular this means that all files from the target are affected. + * However this method may return {@code false} even if {@link #isAffected(BuildTarget, File)} is {@code true} for all files from the target + * (e.g. if 'Compile Files' action is invoked for all files from the target). */ public abstract boolean isWholeTargetAffected(@NotNull BuildTarget target);