Class MethodReference

All Implemented Interfaces:
Formattable, Cloneable

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-11-24_22h23m18") public class MethodReference extends MemberReference
Syntactic expression denoting a method reference.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":734.2-17, see this pretty print.)
  • Field Details

  • Constructor Details

    • MethodReference

      public MethodReference(ResultExpr result, MemberFullName fullName)
      Constructor defined according to directive »C 0/..«.

      Parameters:
      result - is copied to field result
      fullName - is copied to field fullName
  • Method Details

    • doclone

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

      Overrides:
      doclone in class MemberReference
      Returns:
      a fresh copy.
    • getFormatHint

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      result ,>fullName,parameters['('|',' ,')']
      This can be used e.g. by format code interpreters which process objects of different origin.
    • format

      public Format format()
      Delivers a format object for pretty-printing, as specified in the umod source.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class MemberReference
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public MethodReference 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 MemberReference
    • get_asInterface

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

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

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

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

      public MemberFullName get_fullName()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":739.8-16, see this pretty print.)
      Generated getter method.
      Overrides:
      get_fullName in class MemberReference
      Returns:
      The current field value of type MemberFullName(never null)
      See Also:
    • set_fullName

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

      public NonNullList<MethodReferenceParameter> get_parameters()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":740.1-11, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<MethodReferenceParameter(never null)>(never null)
      See Also:
    • set_parameters

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

      @Deprecated public void descend_parameters(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_parameters(this) or visitor.followAll_parameters(this) instead.
    • get_entry

      public @Opt AbstractMethodRef get_entry()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1154.8-13, see this pretty print.)
      Generated getter method.
      Overrides:
      get_entry in class MemberReference
      Returns:
      The current field value of type AbstractMethodRef(maybe null)
      See Also:
    • set_entry

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

      public @Opt InvokeDynamic get_dynamicEntry()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1155.8-20, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type InvokeDynamic(maybe null)
      See Also:
    • set_dynamicEntry

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

      public static Pattern<MethodReference> get_asInterface(Pattern<? super Boolean> 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_result

      public static Pattern<MethodReference> get_result(Pattern<? super ResultExpr> 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_parameters

      public static Pattern<MethodReference> get_parameters(Pattern<? super NonNullList<MethodReferenceParameter>> 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_dynamicEntry

      public static Pattern<MethodReference> get_dynamicEntry(Pattern<? super @Opt InvokeDynamic> 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.