Class MethodHandleTarget

All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
FieldAccess, Invoke

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-11-24_22h23m18") public abstract class MethodHandleTarget extends Instruction
Abstract base class of instructions that may be reified as method handle targets.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":634.4-22, see this pretty print.)
See Also:
  • Constructor Details

    • MethodHandleTarget

      public MethodHandleTarget()
      Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
      (All object fields are set to their default values.)

  • Method Details

    • doclone

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

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

      public MethodHandleTarget 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 Instruction
    • get_target

      public MemberReference get_target()
    • get_target

      public static Pattern<MethodHandleTarget> get_target(Pattern<? super MemberReference> 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.