public class MethodReferenceExpr extends Expression implements NodeWithTypeArguments<MethodReferenceExpr>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION| Constructor and Description |
|---|
MethodReferenceExpr() |
MethodReferenceExpr(Range range,
Expression scope,
List<Type<?>> typeArguments,
String identifier) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
String |
getIdentifier() |
Expression |
getScope() |
List<Type<?>> |
getTypeArguments() |
MethodReferenceExpr |
setIdentifier(String identifier) |
MethodReferenceExpr |
setScope(Expression scope) |
MethodReferenceExpr |
setTypeArguments(List<Type<?>> types)
Allows you to set the generic arguments
|
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnitfinalize, getClass, notify, notifyAll, wait, wait, waitisUsingDiamondOperator, removeTypeArguments, setDiamondOperator, setTypeArgumentspublic MethodReferenceExpr()
public MethodReferenceExpr(Range range, Expression scope, List<Type<?>> typeArguments, String identifier)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic Expression getScope()
public MethodReferenceExpr setScope(Expression scope)
public List<Type<?>> getTypeArguments()
getTypeArguments in interface NodeWithTypeArguments<MethodReferenceExpr>public MethodReferenceExpr setTypeArguments(List<Type<?>> types)
NodeWithTypeArgumentssetTypeArguments in interface NodeWithTypeArguments<MethodReferenceExpr>types - The list of types of the genericspublic String getIdentifier()
public MethodReferenceExpr setIdentifier(String identifier)
Copyright © 2007–2016. All rights reserved.