public class ImplementJsVarargs extends Object
At the calls sites, inline array creation is replaced by array literals, which in turn will be unwrapped as individual parameters at generation time.
To implement varargs methods, we analyze the usage of the varargs parameter to determine whether it can be accessed directly (with possibly an offset in the index) or it has to be copied.
Modifier and Type | Method and Description |
---|---|
static void |
exec(JProgram program) |
public static void exec(JProgram program)
Copyright © 2018. All rights reserved.