public interface FunctionCall
foo(),
foo.bar() or foo[bar](). Used to customize the priority of composite dynamic
operations when emitting INVOKEDYNAMIC instructions that implement them, namely
prioritize getMethod over getElem or getProp. An access or ident node
with isFunction set to true will be emitted as dyn:getMethod|getProp|getElem while one
with it set to false will be emitted as dyn:getProp|getElem|getMethod. Similarly, an
index node with isFunction set to true will be emitted as dyn:getMethod|getElem|getProp
while the one set to false will be emitted as dyn:getElem|getProp|getMethod.| Modifier and Type | Method and Description |
|---|---|
boolean |
isFunction()
Returns true if the value of this expression will be treated as a function and immediately
invoked.
|