public abstract class GenericTypeNode extends TypeNode
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(TypeNodeVisitor<T> visitor) |
abstract com.google.common.collect.ImmutableList<TypeNode> |
arguments()
All the type parameters, possibly empty.
|
static GenericTypeNode |
create(SourceLocation sourceLocation,
String name,
Iterable<? extends TypeNode> arguments) |
abstract String |
name() |
String |
toString()
Returns round-trippable (through the parser) source code for this node.
|
sourceLocationpublic static GenericTypeNode create(SourceLocation sourceLocation, String name, Iterable<? extends TypeNode> arguments)
public abstract String name()
public abstract com.google.common.collect.ImmutableList<TypeNode> arguments()
public String toString()
TypeNodepublic <T> T accept(TypeNodeVisitor<T> visitor)