File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ public PathFileObjectAssert(@Nullable PathFileObject actual) {
4343 }
4444
4545 /**
46- * Perform an assertion on the file object's full path.
46+ * Perform an assertion on the file object's relative path.
47+ *
48+ * <p>The path is relative to the base directory holding all the
49+ * sources relative to their package names.
4750 *
4851 * @return the assertions for the path.
4952 * @throws AssertionError if the file object is null.
@@ -57,6 +60,8 @@ public AbstractPathAssert<?> relativePath() {
5760 /**
5861 * Perform an assertion on the file object's absolute path.
5962 *
63+ * <p>You generally should prefer using {@link #relativePath}.
64+ *
6065 * @return the assertions for the path.
6166 * @throws AssertionError if the file object is null.
6267 */
You can’t perform that action at this time.
0 commit comments