mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Revert "Java: Rename predicate to getATypeInScope"
This reverts commit fd99ae78b3.
This commit is contained in:
@@ -13,7 +13,7 @@ import java
|
||||
|
||||
Class getTaggedType(ThrowsTag tag) {
|
||||
result.hasName(tag.getExceptionName()) and
|
||||
result = tag.getFile().(CompilationUnit).getATypeInScope()
|
||||
result = tag.getFile().(CompilationUnit).getATypeAvailableBySimpleName()
|
||||
}
|
||||
|
||||
predicate canThrow(Callable callable, Class exception) {
|
||||
|
||||
Reference in New Issue
Block a user