mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
15 lines
248 B
Plaintext
15 lines
248 B
Plaintext
/**
|
|
* @id java/examples/volatilefield
|
|
* @name Fields declared volatile
|
|
* @description Finds fields with a 'volatile' modifier
|
|
* @tags field
|
|
* volatile
|
|
* synchronization
|
|
*/
|
|
|
|
import java
|
|
|
|
from Field f
|
|
where f.isVolatile()
|
|
select f
|