1 /* 2 * Copyright 2020-2022 The OSHI Project Contributors 3 * SPDX-License-Identifier: MIT 4 */ 5 package oshi.annotation.concurrent; 6 7 import java.lang.annotation.Documented; 8 9 /** 10 * The presence of this annotation indicates that the author believes the class is not thread-safe. The absence of this 11 * annotation does not indicate that the class is thread-safe, instead this annotation is for cases where a naïve 12 * assumption could be easily made that the class is thread-safe. In general, it is a bad plan to assume a class is 13 * thread safe without good reason. 14 * <p> 15 * This annotation is intended for internal use in OSHI as a temporary workaround until it is available in 16 * {@code jakarta.annotations}. 17 */ 18 @Documented 19 public @interface NotThreadSafe { 20 }