RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
NoDiscard.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.annotation;
6
7import java.lang.annotation.ElementType;
8import java.lang.annotation.Retention;
9import java.lang.annotation.RetentionPolicy;
10import java.lang.annotation.Target;
11
18@Target({ElementType.METHOD, ElementType.TYPE})
19@Retention(RetentionPolicy.CLASS) // needs to be stored in the class for use by libraries
20public @interface NoDiscard {
25 String SUPPRESSION_KEY = "WPILib.NoDiscard";
26
32 String value() default "";
33}
String value() default ""