Package org.pkl.core
Class PType.Alias
- java.lang.Object
-
- org.pkl.core.PType
-
- org.pkl.core.PType.Alias
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PType
public static final class PType.Alias extends PType
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pkl.core.PType
PType.Alias, PType.Class, PType.Constrained, PType.Function, PType.Nullable, PType.StringLiteral, PType.TypeVariable, PType.Union
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PTypegetAliasedType()Returns the aliased type, namelygetTypeAlias().getAliasedType()with type arguments substituted for type variables.TypeAliasgetTypeAlias()java.util.List<PType>getTypeArguments()
-
-
-
Method Detail
-
getTypeAlias
public TypeAlias getTypeAlias()
-
getTypeArguments
public java.util.List<PType> getTypeArguments()
- Overrides:
getTypeArgumentsin classPType
-
getAliasedType
public PType getAliasedType()
Returns the aliased type, namelygetTypeAlias().getAliasedType()with type arguments substituted for type variables.
-
-