mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Support outgoing taint flow from fields
This commit is contained in:
17
java/ql/test/utils/model-generator/p/SomeEnum.java
Normal file
17
java/ql/test/utils/model-generator/p/SomeEnum.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package p;
|
||||
|
||||
enum SomeEnum {
|
||||
|
||||
FOO("input");
|
||||
|
||||
private String input;
|
||||
|
||||
private SomeEnum(String input) {
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return input;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user