mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
19 lines
432 B
Java
19 lines
432 B
Java
package packagetwo;
|
|
|
|
import packageone.*;
|
|
|
|
@interface Range {
|
|
int min() default 0;
|
|
int max() default 100;
|
|
}
|
|
|
|
public class UseWithinAnnotation {
|
|
@VisibleForTesting
|
|
static final int MAX_LISTING_LENGTH_MIN = 1;
|
|
@VisibleForTesting
|
|
static final int MAX_LISTING_LENGTH_MAX = 1000;
|
|
|
|
@Range(min = MAX_LISTING_LENGTH_MIN, max = MAX_LISTING_LENGTH_MAX)
|
|
private int maxListingLength = MAX_LISTING_LENGTH_MAX;
|
|
}
|