Skip to content

Fence leading comments inside delimited groups in JavaInputAstVisitor. #1643

Fence leading comments inside delimited groups in JavaInputAstVisitor.

Fence leading comments inside delimited groups in JavaInputAstVisitor. #1643

Triggered via pull request October 29, 2026 09:26
Status Success
Total duration 3m 20s
Artifacts –

ci.yml

on: pull_request
Matrix: test-OpenJDK
Matrix: test-GraalVM
Publish snapshot
0s
Publish snapshot
Fit to window
Zoom out
Zoom in

Annotations

80 warnings and 5 notices
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1446
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1191
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1157
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1089
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L3019
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L430
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1446
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1191
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1157
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1089
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L3019
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L430
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1446
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1191
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1157
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1089
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaOutput.java#L39
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L430
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1446
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1191
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1157
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1089
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaOutput.java#L39
[AlmostJavadoc] This comment contains Javadoc or HTML tags, but isn't started with a double asterisk (/**); is it meant to be Javadoc?
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 21 on ubuntu-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L430
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1446
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1191
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1157
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1089
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L3019
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L430
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1446
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1191
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1157
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1093
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L1089
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L768
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L526
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java#L3019
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/DimensionHelpers.java#L105
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on macos-latest: core/src/main/java/com/google/googlejavaformat/java/JavaInput.java#L430
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[NotJavadoc] This element has both markdown `///` and traditional `/**` javadoc comments; only the last one will be used.
JDK 25 on windows-latest
[PreferInstanceofOverGetKind] Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs
JDK 25 on windows-latest
[LoopOverCharArray] toCharArray allocates a new array, using charAt is more efficient
JDK 25 on ubuntu-latest
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
JDK 21 on ubuntu-latest
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
JDK 25 on macos-latest
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
JDK EA on ubuntu-latest
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
GraalVM on macos-latest
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.