case class MethodReferenceNode(prefix: Either[TypeNode, ExpressionNode], typeArguments: Option[TypeArgumentsNode], identifier: Option[IdentifierNode], comments: Seq[CommentNode] = Seq()) extends ExpressionNode with Product with Serializable
Represents a method reference expression.
A method reference is represented by a simple or qualified name, followed by
::
, followed by an identifier (or
new
).
new }}}
:: }}} followed by an identifier (or
new
).
new }}}
- prefix
either a type node or an expression node, identifying the binding for the method reference.
- typeArguments
optional type arguments for the method reference.
- identifier
optional identifier node identifying the method name, if
false
- Alphabetic
- By Inheritance
- MethodReferenceNode
- Serializable
- Serializable
- ExpressionNode
- JavaASTNode
- HASTNode
- JsonSerializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MethodReferenceNode(prefix: Either[TypeNode, ExpressionNode], typeArguments: Option[TypeArgumentsNode], identifier: Option[IdentifierNode], comments: Seq[CommentNode] = Seq())
- prefix
either a type node or an expression node, identifying the binding for the method reference.
- typeArguments
optional type arguments for the method reference.
- identifier
optional identifier node identifying the method name, if
false
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
arguments: Seq[ExpressionNode]
- Definition Classes
- MethodReferenceNode → ExpressionNode
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(lp: Seq[CommentNode], rp: Seq[CommentNode]): MethodReferenceNode
Clones the expression binding a pair of comments
Clones the expression binding a pair of comments
- Definition Classes
- MethodReferenceNode → ExpressionNode
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
comments: Seq[CommentNode]
- Definition Classes
- MethodReferenceNode → ExpressionNode
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- val identifier: Option[IdentifierNode]
- val isCreationReference: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isMissingExpression: Boolean
- Definition Classes
- ExpressionNode
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val prefix: Either[TypeNode, ExpressionNode]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val typeArguments: Option[TypeArgumentsNode]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )