Class MethodReference
- java.lang.Object
-
- org.jparsec.examples.common.ValueObject
-
- org.jparsec.examples.java.ast.expression.MethodReference
-
- All Implemented Interfaces:
Expression
public class MethodReference extends ValueObject implements Expression
Represents expressions likeobj::f
.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
Expression
owner
java.util.List<TypeLiteral>
typeParameters
-
Constructor Summary
Constructors Constructor Description MethodReference(Expression owner, java.util.List<TypeLiteral> typeParameters, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
-
-
-
Field Detail
-
owner
public final Expression owner
-
typeParameters
public final java.util.List<TypeLiteral> typeParameters
-
name
public final java.lang.String name
-
-
Constructor Detail
-
MethodReference
public MethodReference(Expression owner, java.util.List<TypeLiteral> typeParameters, java.lang.String name)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classValueObject
-
-