Skip to content

Commit a78f2b7

Browse files
committed
Add missing API Guardian annotations on new code
1 parent 41901de commit a78f2b7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@ public OutputContainerGroupAssert classOutput() {
275275
* @throws AssertionError if the compilation was null, or no group for the location
276276
* was found.
277277
*/
278+
@API(since = "0.6.4", status = Status.STABLE)
278279
public PackageContainerGroupAssert classOutputPackages() {
279280
return outputGroup(StandardLocation.CLASS_OUTPUT).packages();
280281
}
281282

282-
283283
/**
284284
* Get assertions on the path containing class module outputs, if it exists.
285285
*
@@ -289,6 +289,7 @@ public PackageContainerGroupAssert classOutputPackages() {
289289
* @throws AssertionError if the compilation was null, or no group for the location
290290
* was found.
291291
*/
292+
@API(since = "0.6.4", status = Status.STABLE)
292293
public ModuleContainerGroupAssert classOutputModules() {
293294
return outputGroup(StandardLocation.CLASS_OUTPUT).modules();
294295
}
@@ -318,6 +319,7 @@ public OutputContainerGroupAssert sourceOutput() {
318319
* @throws AssertionError if the compilation was null, or no group for the location
319320
* was found.
320321
*/
322+
@API(since = "0.6.4", status = Status.STABLE)
321323
public PackageContainerGroupAssert sourceOutputPackages() {
322324
return outputGroup(StandardLocation.SOURCE_OUTPUT).packages();
323325
}
@@ -331,6 +333,7 @@ public PackageContainerGroupAssert sourceOutputPackages() {
331333
* @throws AssertionError if the compilation was null, or no group for the location
332334
* was found.
333335
*/
336+
@API(since = "0.6.4", status = Status.STABLE)
334337
public ModuleContainerGroupAssert sourceOutputModules() {
335338
return outputGroup(StandardLocation.SOURCE_OUTPUT).modules();
336339
}
@@ -378,6 +381,7 @@ public PackageContainerGroupAssert classPath() {
378381
* @throws AssertionError if the compilation was null, or no group for the location
379382
* was found.
380383
*/
384+
@API(since = "0.6.4", status = Status.STABLE)
381385
public PackageContainerGroupAssert classPathPackages() {
382386
return packageGroup(StandardLocation.CLASS_PATH);
383387
}
@@ -407,6 +411,7 @@ public PackageContainerGroupAssert sourcePath() {
407411
* @throws AssertionError if the compilation was null, or no group for the location
408412
* was found.
409413
*/
414+
@API(since = "0.6.4", status = Status.STABLE)
410415
public PackageContainerGroupAssert sourcePathPackages() {
411416
return packageGroup(StandardLocation.SOURCE_PATH);
412417
}
@@ -436,6 +441,7 @@ public ModuleContainerGroupAssert moduleSourcePath() {
436441
* @throws AssertionError if the compilation was null, or no group for the location
437442
* was found.
438443
*/
444+
@API(since = "0.6.4", status = Status.STABLE)
439445
public ModuleContainerGroupAssert moduleSourcePathModules() {
440446
return moduleGroup(StandardLocation.MODULE_SOURCE_PATH);
441447
}
@@ -465,6 +471,7 @@ public ModuleContainerGroupAssert modulePath() {
465471
* @throws AssertionError if the compilation was null, or no group for the location
466472
* was found.
467473
*/
474+
@API(since = "0.6.4", status = Status.STABLE)
468475
public ModuleContainerGroupAssert modulePathModules() {
469476
return moduleGroup(StandardLocation.MODULE_PATH);
470477
}

0 commit comments

Comments
 (0)