Class UnsatisfiableBound

java.lang.Object
de.monticore.types3.generics.bounds.Bound
de.monticore.types3.generics.bounds.UnsatisfiableBound
All Implemented Interfaces:
Comparable<Bound>

public class UnsatisfiableBound extends Bound
  • Field Details

  • Constructor Details

    • UnsatisfiableBound

      public UnsatisfiableBound(String description)
  • Method Details

    • getDescription

      public String getDescription()
      The Description is suitable as part of a Log message.
    • isUnsatisfiableBound

      public boolean isUnsatisfiableBound()
      Overrides:
      isUnsatisfiableBound in class Bound
    • asUnsatisfiableBound

      public UnsatisfiableBound asUnsatisfiableBound()
      Overrides:
      asUnsatisfiableBound in class Bound
    • deepEquals

      public boolean deepEquals(Bound other)
      Specified by:
      deepEquals in class Bound
    • print

      public String print()
      Description copied from class: Bound
      returns a human-readable String, e.g., for the log
      Specified by:
      print in class Bound
    • getIncludedTypes

      public List<SymTypeExpression> getIncludedTypes()
      Description copied from class: Bound
      Helper function;
      Specified by:
      getIncludedTypes in class Bound
      Returns:
      the types included in the bounds (most have two).