Class ParameterizedType

  • All Implemented Interfaces:
    Persistable, IVisitable<Node>

    public class ParameterizedType
    extends Type
    ParameterizedTypes describe types, that are passed as Paramters to Classes E.g. uninitialized generics in the graph are represented as ParameterizedTypes
    • Constructor Detail

      • ParameterizedType

        public ParameterizedType​(Type type)
      • ParameterizedType

        public ParameterizedType​(java.lang.String typeName)
    • Method Detail

      • reference

        public Type reference​(PointerType.PointerOrigin pointer)
        Specified by:
        reference in class Type
        Parameters:
        pointer - Reason for the reference (array of pointer)
        Returns:
        Returns a reference to the current Type. E.g. when creating a pointer to an existing ObjectType
      • dereference

        public Type dereference()
        Specified by:
        dereference in class Type
        Returns:
        Dereferences the current Type by resolving the reference. E.g. when dereferencing an pointer type we obtain the type the pointer is pointing towards
      • duplicate

        public Type duplicate()
        Specified by:
        duplicate in class Type
        Returns:
        Creates an exact copy of the current type (chain)