if (columnsList instanceof SimpleName) {
// simple List variable
bindColumnsAsList((SimpleName) columnsList, javaInfoList);
} else if (columnsList instanceof MethodInvocation) {
MethodInvocation invocation = (MethodInvocation) columnsList;
IMethodBinding methodBinding = AstNodeUtils.getMethodBinding(invocation);
if (methodBinding != null) {
String methodQualifiedSignature =
methodBinding.getDeclaringClass().getQualifiedName()
+ "."
+ AstNodeUtils.getMethodSignature(methodBinding);
// inline Array to List conversion
if ("java.util.Arrays.asList(com.extjs.gxt.ui.client.widget.grid.ColumnConfig[])".equals(methodQualifiedSignature)) {
bindColumnsAsArray(invocation, javaInfoList);