Skip to content

Commit a5369d0

Browse files
committed
Deprecate JctCompilationAssert#generatedHeaders
1 parent 11f547d commit a5369d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JctCompilationAssert.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,11 @@ public OutputContainerGroupAssert sourceOutput() {
264264
*
265265
* @return the assertions to perform on the header outputs.
266266
* @throws AssertionError if the compilation is null.
267+
* @deprecated this method is rarely needed, so is being removed in v1.0.0. Use
268+
* {@link #outputGroup(Location)}, passing {@link StandardLocation#NATIVE_HEADER_OUTPUT} as the
269+
* first parameter instead.
267270
*/
271+
@Deprecated(since = "0.6.0", forRemoval = true)
268272
public OutputContainerGroupAssert generatedHeaders() {
269273
return outputGroup(StandardLocation.NATIVE_HEADER_OUTPUT);
270274
}

0 commit comments

Comments
 (0)