We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d900fca commit f7099f4Copy full SHA for f7099f4
java/ql/src/utils/GenerateFlowTestCase.qll
@@ -521,7 +521,7 @@ predicate isImportable(Type t) {
521
*/
522
string getShortNameIfPossible(Type t) {
523
if t instanceof Array
524
- then result = getShortNameIfPossible(t.(Array).getElementType()) + "[]"
+ then result = getShortNameIfPossible(t.(Array).getComponentType()) + "[]"
525
else (
526
getRootSourceDeclaration(t) = any(TestCase tc).getADesiredImport() and
527
if t instanceof RefType
0 commit comments