Class MethodHandle

All Implemented Interfaces:
Formattable, Cloneable

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-11-24_22h23m18") public class MethodHandle extends Loadable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":942.4-16, see this pretty print.)
  • Field Details

  • Constructor Details

    • MethodHandle

      public MethodHandle(HandleKind kind, MemberRef reference)
      Constructor defined according to directive »C 0/..«.

      Parameters:
      kind - is copied to field kind
      reference - is copied to field reference
  • Method Details

    • doclone

      public MethodHandle doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.

      Overrides:
      doclone in class Loadable
      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 Loadable
      Returns:
      a format that represents this object in a pretty-printable way
    • equals

      public boolean equals(Object e0)
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      equals in class Object
    • x_equals

      public boolean x_equals(MethodHandle e0)
    • hashCode

      public int hashCode()
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      hashCode in class Object
    • initFrom

      public MethodHandle 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 Loadable
    • get_kind

      public HandleKind get_kind()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":943.8-12, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type HandleKind(never null)
      See Also:
    • with_kind

      public MethodHandle with_kind(HandleKind val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":943.8-12, see this pretty print.)
      Parameters:
      val - the new value of type HandleKind(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:
    • get_reference

      public MemberRef get_reference()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":944.8-17, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type MemberRef(never null)
      See Also:
    • with_reference

      public MethodHandle with_reference(MemberRef val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":944.8-17, see this pretty print.)
      Parameters:
      val - the new value of type MemberRef(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:
    • get_kind

      public static Pattern<MethodHandle> get_kind(Pattern<? super HandleKind> 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 __Patterns.
    • get_reference

      public static Pattern<MethodHandle> get_reference(Pattern<? super MemberRef> 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 __Patterns.