List<Exprent> () { List<Exprent> lst = new ArrayList<>(); if (newType.getArrayDim() != 0) { lst.addAll(lstDims); lst.addAll(lstArrayElements); } else if (constructor != null) { Exprent constructor = this.constructor.getInstance(); if (constructor != null) { // should be true only for a lambda expression with a virtual content method lst.add(constructor); } lst.addAll(this.constructor.getParameters()); } return lst; }