public static final class Java.MethodReference extends Java.Rvalue
<var>referenceType</var>::identifier.
The form "::new" is represented by Java.ClassInstanceCreationReference.
| Modifier and Type | Field and Description |
|---|---|
Java.Atom |
lhs
The expression name, primary or reference type that poses the left hand side of the expression.
|
String |
methodName
The name of the referenced method.
|
NOWHERE| Constructor and Description |
|---|
MethodReference(Location location,
Java.Atom lhs,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.RvalueVisitor<R,EX> rvv)
|
String |
toString() |
accept, accept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScope, toRvaluetoLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.Atom lhs
public final String methodName
@Nullable public <R,EX extends Throwable> R accept(Visitor.RvalueVisitor<R,EX> rvv) throws EX extends Throwable
Java.Rvalueaccept in class Java.RvalueEX extends ThrowableCopyright © 2022. All rights reserved.