public class MethodReferenceExpr extends Expression implements NodeWithTypeArguments<MethodReferenceExpr>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
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, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
isUsingDiamondOperator, removeTypeArguments, setDiamondOperator, setTypeArguments
public MethodReferenceExpr()
public MethodReferenceExpr(Range range, Expression scope, List<Type<?>> typeArguments, String identifier)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getScope()
public MethodReferenceExpr setScope(Expression scope)
public List<Type<?>> getTypeArguments()
getTypeArguments
in interface NodeWithTypeArguments<MethodReferenceExpr>
public MethodReferenceExpr setTypeArguments(List<Type<?>> types)
NodeWithTypeArguments
setTypeArguments
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.