-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Given a multi-dimensional array, the extractor doesn't seem to provide enough information about nested sub-arrays.
For example:
public class Test {
void test() {
byte[][] array = new byte[][] {
new byte[] { 1, 2 },
new byte[] { 3, 4 ,5 }
};
}
}The following query shows only IntegerLiteral and TypeAccess for the nested arrays:
import java
from ArrayCreationExpr array
select array.getInit().getAnInit().getAChildExpr().getAPrimaryQlClass()Instead, ArrayCreationExpr should be used to represent the nested arrays, shouldn't it?
This issue was found here.
Reactions are currently unavailable