public static final class Java.ReferenceType extends Java.Type implements Java.TypeArgument
| Modifier and Type | Field and Description |
|---|---|
String[] |
identifiers
The list of (dot-separated) identifiers that pose the reference type, e.g.
|
Java.TypeArgument[] |
optionalTypeArguments
The optional type arguments of the reference type.
|
NOWHERE| Constructor and Description |
|---|
ReferenceType(Location location,
String[] identifiers,
Java.TypeArgument[] optionalTypeArguments) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.AtomVisitor<R,EX> visitor)
|
<R,EX extends Throwable> |
accept(Visitor.TypeArgumentVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type. |
<R,EX extends Throwable> |
accept(Visitor.TypeVisitor<R,EX> visitor)
|
String |
toString() |
getEnclosingScope, setEnclosingScope, toTypetoLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toTypeOrCompileExceptiongetLocation, throwCompileExceptionpublic final String[] identifiers
@Nullable public final Java.TypeArgument[] optionalTypeArguments
public ReferenceType(Location location, String[] identifiers, @Nullable Java.TypeArgument[] optionalTypeArguments)
@Nullable public <R,EX extends Throwable> R accept(Visitor.AtomVisitor<R,EX> visitor) throws EX extends Throwable
Java.Atom@Nullable public <R,EX extends Throwable> R accept(Visitor.TypeVisitor<R,EX> visitor) throws EX extends Throwable
Java.Type@Nullable public <R,EX extends Throwable> R accept(Visitor.TypeArgumentVisitor<R,EX> visitor) throws EX extends Throwable
Java.TypeArgumentvisit...()" method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type.accept in interface Java.TypeArgumentEX extends ThrowableCopyright © 2019. All rights reserved.