public class BoundMethodReferenceNode extends MethodReferenceNode
Node representing a bound method reference like "foobar"::indexOf.| Constructor and Description |
|---|
BoundMethodReferenceNode(Node node,
String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Node |
resolve(ParseSession session,
TypeToken<T> type)
|
evaluate, getTypepublic BoundMethodReferenceNode(Node node, String name)
node - target instance nodename - method nameIllegalArgumentException - if either parameter is nullpublic <T> Node resolve(ParseSession session, TypeToken<T> type)
TypeInferringNodeNode, given the specified target type.
There will be a transaction open.
resolve in class TypeInferringNodeT - target node typesession - parse sessiontype - expected target typetargetCopyright © 2017. All rights reserved.