public static final class Java.ClassInstanceCreationReference extends Java.Rvalue
<var>classType</var>::new".| Modifier and Type | Field and Description |
|---|---|
Java.Type |
type
The class type that this expression instantiates.
|
Java.TypeArgument[] |
typeArguments
The optional type arguments for the
type. |
NOWHERE| Constructor and Description |
|---|
ClassInstanceCreationReference(Location location,
Java.Type type,
Java.TypeArgument[] typeArguments) |
| 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.Type type
@Nullable public final Java.TypeArgument[] typeArguments
type.public ClassInstanceCreationReference(Location location, Java.Type type, @Nullable Java.TypeArgument[] typeArguments)
@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.