Interface JIntersectionType

All Superinterfaces:
honeyroasted.collect.copy.Copyable<JType, JTypeCache<JType,JType>>, JType, honeyroasted.collect.modify.PossiblyUnmodifiable, honeyroasted.almonds.SimpleName
All Known Implementing Classes:
JIntersectionTypeDelegate, JIntersectionTypeImpl

public interface JIntersectionType extends JType, honeyroasted.collect.modify.PossiblyUnmodifiable
  • Method Details

    • of

      static JType of(Set<JType> types, JTypeSystem system)
    • children

      Set<JType> children()
    • simplify

      JType simplify()
    • flatten

      default JType flatten()
    • isSimplified

      boolean isSimplified()
    • setChildren

      void setChildren(Set<JType> children)
    • typeContains

      default boolean typeContains(JType other)
    • flatten

      static Set<JType> flatten(Set<JType> children)
    • accept

      default <R,P> R accept(JTypeVisitor<R,P> visitor, P context)
      Specified by:
      accept in interface JType