Code example for List

Methods: size, toArray

0
 
    @SuppressWarnings("unchecked") 
    public Object postCompleteNode(final FactoryBuilderSupport factory, final Object parent, final Object node) {
        if (node instanceof List) {
            List col = (List) node;
            return col.toArray(new CompilationCustomizer[col.size()]);
        } 
        return node;
    } 
}