Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b2e96d5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Allow to add a bug number to ravenwood annotations" into main

parents 42ebed4a a17acd7f
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -35,4 +35,18 @@ import java.lang.annotation.Target;
@Target({TYPE, FIELD, METHOD, CONSTRUCTOR})
@Retention(RetentionPolicy.CLASS)
public @interface RavenwoodRemove {
    /**
     * One or more classes that aren't yet supported by Ravenwood, which is why this method throws.
     */
    Class<?>[] blockedBy() default {};

    /**
     * General free-form description of why this method throws.
     */
    String reason() default "";

    /**
     * Tracking bug number, if any.
     */
    long bug() default 0;
}
+5 −0
Original line number Diff line number Diff line
@@ -42,4 +42,9 @@ public @interface RavenwoodReplace {
     * General free-form description of why this method is being replaced.
     */
    String reason() default "";

    /**
     * Tracking bug number, if any.
     */
    long bug() default 0;
}
+5 −0
Original line number Diff line number Diff line
@@ -43,4 +43,9 @@ public @interface RavenwoodThrow {
     * General free-form description of why this method throws.
     */
    String reason() default "";

    /**
     * Tracking bug number, if any.
     */
    long bug() default 0;
}
+5 −0
Original line number Diff line number Diff line
@@ -51,4 +51,9 @@ public @interface DisabledOnRavenwood {
     * General free-form description of why this test is being ignored.
     */
    String reason() default "";

    /**
     * Tracking bug number, if any.
     */
    long bug() default 0;
}
+5 −0
Original line number Diff line number Diff line
@@ -51,4 +51,9 @@ public @interface IgnoreUnderRavenwood {
     * General free-form description of why this test is being ignored.
     */
    String reason() default "";

    /**
     * Tracking bug number, if any.
     */
    long bug() default 0;
}