• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package org.chromium.build.annotations;
6 
7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
11 
12 /** The annotated field is never null. Helps R8 optimize until b/302213229 is implemented. */
13 @Target({ElementType.FIELD, ElementType.METHOD})
14 @Retention(RetentionPolicy.CLASS)
15 public @interface AssumeNonNull {}
16