public final class ParameterizedTypeInstantiation extends TypeInstantiation
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterizedTypeInstantiation.InstantiatedParameter
Class describing one parameter in a type instantiation.
|
| Constructor and Description |
|---|
ParameterizedTypeInstantiation(AstLocation location,
TypeReference typeReference,
java.util.List<Expression> typeArguments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CompoundType |
getBaseType()
Gets base type - i.e.
|
java.util.List<ParameterizedTypeInstantiation.InstantiatedParameter> |
getInstantiatedParameters()
Gets a list of parameters used in this type instantiation.
|
java.util.List<Expression> |
getTypeArguments()
Gets a list of type arguments.
|
void |
visitChildren(ZserioAstVisitor visitor)
Visit children of the current AST node using given visitor.
|
accept, fillInstantiationStack, getType, getTypeReferencegetLocationpublic ParameterizedTypeInstantiation(AstLocation location, TypeReference typeReference, java.util.List<Expression> typeArguments)
location - AST node location.typeReference - Reference to the instantiated type definition.typeArguments - Arguments for the type instantiation.public void visitChildren(ZserioAstVisitor visitor)
AstNodevisitChildren in interface AstNodevisitChildren in class TypeInstantiationvisitor - Visitor to use.public CompoundType getBaseType()
TypeInstantiationgetBaseType in class TypeInstantiationpublic java.util.List<Expression> getTypeArguments()
public java.util.List<ParameterizedTypeInstantiation.InstantiatedParameter> getInstantiatedParameters()
Last updated 2024-07-18 11:27:53