Package eu.bandm.tools.lljava.absy
Class MethodHandleTarget
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.Statement
eu.bandm.tools.lljava.absy.Instruction
eu.bandm.tools.lljava.absy.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:
-
Field Summary
Fields inherited from class eu.bandm.tools.lljava.absy.Instruction
post, pre -
Constructor Summary
ConstructorsConstructorDescriptionConstructor 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 Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.format()Delivers a format object for pretty-printing by inheritance from some ancestor class.static Pattern<MethodHandleTarget> get_target(Pattern<? super MemberReference> p) Lifts a pattern which matches the field value to one which matches this whole object.Copies values of all common fields from the argument.Methods inherited from class eu.bandm.tools.lljava.absy.Instruction
get_post, get_post, get_pre, get_pre, set_post, set_preMethods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
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
- Overrides:
doclonein classInstruction- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classInstruction- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
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:
initFromin classInstruction
-
get_target
-
get_target
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.
-