Class ReferableTypeInfo

java.lang.Object
online.sharedtype.processor.domain.type.ReferableTypeInfo
All Implemented Interfaces:
Serializable, TypeInfo
Direct Known Subclasses:
ConcreteTypeInfo, DateTimeInfo, MapTypeInfo, TypeVariableInfo

public abstract class ReferableTypeInfo extends Object implements TypeInfo
See Also:
  • Constructor Details

    • ReferableTypeInfo

      public ReferableTypeInfo()
  • Method Details

    • addReferencingType

      public final void addReferencingType(TypeDef typeDef)
      Description copied from interface: TypeInfo
      Mark this type as referenced by another type. Used for e.g. cyclic reference detection.
      Specified by:
      addReferencingType in interface TypeInfo
      Parameters:
      typeDef - type that references this type
    • referencingTypes

      public final Set<TypeDef> referencingTypes()