Revert "Java: Rename predicate to getATypeInScope"

This reverts commit fd99ae78b3.
This commit is contained in:
Tony Torralba
2022-10-04 10:59:43 +02:00
parent df29e05b9f
commit 01b950f68b
4 changed files with 37 additions and 25 deletions

View File

@@ -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) {