Class LLJava.TypeBound

java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.TypeBound
All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
LLJava.LowerTypeBound, LLJava.UpperTypeBound
Enclosing class:
LLJava

public abstract static class LLJava.TypeBound extends LLJava.Node
Specification of a type bound.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":114.1-3, see this pretty print.)
  • Field Details

  • Constructor Details

    • TypeBound

      public TypeBound(LLJava.ReferenceTypeExpr limit)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      limit - is copied to field limit
  • Method Details

    • doclone

      public LLJava.TypeBound doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class LLJava.Node
      Returns:
      a fresh copy.
    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class LLJava.Node
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public LLJava.TypeBound initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
      Overrides:
      initFrom in class LLJava.Node
    • get_limit

      public LLJava.ReferenceTypeExpr get_limit()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":310.9-83, see this pretty print.)
      Generated getter method. @see #limit
      Returns:
      The current field value of type LLJava.ReferenceTypeExpr(never null)
    • set_limit

      public boolean set_limit(LLJava.ReferenceTypeExpr val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":310.9-83, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type LLJava.ReferenceTypeExpr(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_erasure

      public LLJava.Type get_erasure()
      The raw type represented by this type bound specification. This field is set by the ContextChecker.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1030.9-1031.13, see this pretty print.)
      Generated getter method. @see #erasure
      Returns:
      The current field value of type LLJava.Type(maybe null)
    • set_erasure

      public boolean set_erasure(LLJava.Type val)
      The raw type represented by this type bound specification. This field is set by the ContextChecker.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1030.9-1031.13, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type LLJava.Type(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_limit

      public static Pattern<LLJava.TypeBound> get_limit(Pattern<? super LLJava.ReferenceTypeExpr> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class LLJava.__Patterns.
    • get_erasure

      public static Pattern<LLJava.TypeBound> get_erasure(Pattern<? super LLJava.Type> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class LLJava.__Patterns.