From d2355a18b0e73850385f044d806a450b76c1bc38 Mon Sep 17 00:00:00 2001 From: Sokwhan Huh Date: Mon, 3 Jun 2024 12:38:34 -0700 Subject: [PATCH] Copy the suppress warning annotations to autovalue gened celexpr PiperOrigin-RevId: 639877597 --- common/src/main/java/dev/cel/common/ast/CelExpr.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/dev/cel/common/ast/CelExpr.java b/common/src/main/java/dev/cel/common/ast/CelExpr.java index 6af628551..4c08a6d05 100644 --- a/common/src/main/java/dev/cel/common/ast/CelExpr.java +++ b/common/src/main/java/dev/cel/common/ast/CelExpr.java @@ -34,6 +34,7 @@ *

This is the native type equivalent of Expr message in syntax.proto. */ @AutoValue +@AutoValue.CopyAnnotations @Immutable @SuppressWarnings("unchecked") // Class ensures only the super type is used public abstract class CelExpr implements Expression {