forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnnotationValueUtil.java
More file actions
29 lines (23 loc) · 944 Bytes
/
AnnotationValueUtil.java
File metadata and controls
29 lines (23 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
public class AnnotationValueUtil {
/**
* Live because it is used as an annotation value on a live field.
*/
public static final String LIVE_STRING_CONSTANT_FIELD = "A string constant.";
/**
* Live because it is used as annotation values on a live method.
*/
public static final String LIVE_STRING_CONSTANT_METHOD = "A string constant.";
/**
* Live because it is used as annotation values on a live class.
*/
public static final String LIVE_STRING_CONSTANT_CLASS = "A string constant.";
/**
* These three should be dead because they are used as annotation values on dead fields/methods/classes.
*/
public static final String DEAD_STRING_CONSTANT_FIELD = "A string constant.";
public static final String DEAD_STRING_CONSTANT_METHOD = "A string constant.";
public static final String DEAD_STRING_CONSTANT_CLASS = "A string constant.";
public static void main(String[] args) {
// Ensure outer class is live.
}
}