Package org.pkl.core

Class PType.Alias

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    PType

    public static final class PType.Alias
    extends PType
    See Also:
    Serialized Form
    • Constructor Detail

      • Alias

        public Alias​(TypeAlias typeAlias)
      • Alias

        public Alias​(TypeAlias typeAlias,
                     java.util.List<PType> typeArguments,
                     PType aliasedType)
    • Method Detail

      • getTypeAlias

        public TypeAlias getTypeAlias()
      • getAliasedType

        public PType getAliasedType()
        Returns the aliased type, namely getTypeAlias().getAliasedType() with type arguments substituted for type variables.