mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Move 'snippet' queries to 'snippets' folders
This commit is contained in:
13
java/ql/examples/snippets/nativemethod.ql
Normal file
13
java/ql/examples/snippets/nativemethod.ql
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @name Native methods
|
||||
* @description Finds methods that are native
|
||||
* @tags method
|
||||
* native
|
||||
* modifier
|
||||
*/
|
||||
|
||||
import java
|
||||
|
||||
from Method m
|
||||
where m.isNative()
|
||||
select m
|
||||
Reference in New Issue
Block a user