Files
allwpilib/wpiannotations/BUILD.bazel
Sam Carlberg 3972b01c51 Add javac plugin for detecting common error cases at compile time (#8196)
Adds a `@NoDiscard` annotation that can be placed on methods to guarantee their return values are used and on types to guarantee that any method returning that type uses the return value.

Methods that call `@NoDiscard`-annotated functions can add a `@SuppressWarnings("NoDiscard")` or `@SuppressWarnings("all")` annotation (or annotation on the class declaring that method) to silence the compiler error warnings.
2025-10-03 17:42:47 -07:00

9 lines
200 B
Python

load("@rules_java//java:defs.bzl", "java_library")
java_library(
name = "wpiannotations",
srcs = glob(["src/main/java/**/*.java"]),
visibility = ["//visibility:public"],
deps = [],
)