Annotation Interface GitHubIssue


@Retention(SOURCE) @Target({METHOD,TYPE}) public @interface GitHubIssue
Annotation to reference a GitHub issue number associated with a test class or method. It serves as a linking mechanism between reproducers (tests proving certain behavior) and their corresponding GitHub issues.

Example usage:

 {@code @GitHubIssue(1234)
 public class MyTest {
     // Class implementation
 }

 {@code @GitHubIssue(5678)
 public void testMethod() {
     // Method implementation
 }}
 </pre>
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The GitHub issue number to reference.
  • Element Details

    • value

      int value
      The GitHub issue number to reference.
      Returns:
      the issue number in the GitHub repository