Class LoadableExpr

All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
ClassExpr, DynamicExpr, Literal, MethodHandleExpr, MethodTypeExpr

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-11-24_22h23m18") public abstract class LoadableExpr extends LoadArgument
Abstract base class of representations of everything that can be loaded onto the operand stack using the ldc instruction.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":454.2-14, see this pretty print.)
  • Constructor Details

    • LoadableExpr

      public LoadableExpr()
      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 LoadableExpr doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.

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

      public LoadableExpr 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 LoadArgument
    • get_entry

      public Loadable get_entry()
    • get_entry

      public static Pattern<LoadableExpr> get_entry(Pattern<? super Loadable> 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.