In some cases, we don't want the log output of a lower priority issue to bother us.
We planning add a new annotation @SuppressFiesta to disable log output in some cases.
e.g.:
If you have annotated on a class, and you use the class in the other place, usually there will be a output:
@Dangerous("You are using the DangerousClass!")
public class DangerousClass {
}
public void doSomething() {
DangerousClass danger = // do something...
}
Output will be like:
SomeClass.java:[1,1] Dangerous: You are using the DangerousClass!
With the new @SuppressFiesta annotation, we could disable the output in this way:
@SuppressFiesta(Dangerous.class)
public void doSomething() {
DangerousClass danger = // do something...
}
Further, we could using the SuppressWarnings annotation that defined in Java, like @SuppressWarnings("FiestaDanger") to disable the output.
In some cases, we don't want the log output of a lower priority issue to bother us.
We planning add a new annotation
@SuppressFiestato disable log output in some cases.e.g.:
If you have annotated on a class, and you use the class in the other place, usually there will be a output:
Output will be like:
With the new
@SuppressFiestaannotation, we could disable the output in this way:Further, we could using the
SuppressWarningsannotation that defined in Java, like@SuppressWarnings("FiestaDanger")to disable the output.