Package eu.bandm.tools.lljava.absy
Class Instruction
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.Statement
eu.bandm.tools.lljava.absy.Instruction
- All Implemented Interfaces:
Formattable,Cloneable
- Direct Known Subclasses:
ArithInstruction,Dup,If,Jump,Length,Load,MethodHandleTarget,Monitor,Nop,Pop,Store,Swap,Switch,Try,TypeInstruction
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public abstract class Instruction
extends Statement
Abstract base class of all instructions.
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":593.2-13, see this pretty
print.)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Opt StackFrameThe static stack frame postcondition for this instruction.protected @Opt StackFrameThe static stack frame precondition for this instruction. -
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.get_post()The static stack frame postcondition for this instruction.static Pattern<Instruction> get_post(Pattern<? super @Opt StackFrame> p) Lifts a pattern which matches the field value to one which matches this whole object.get_pre()The static stack frame precondition for this instruction.static Pattern<Instruction> get_pre(Pattern<? super @Opt StackFrame> 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.booleanset_post(@Opt StackFrame val) The static stack frame postcondition for this instruction.booleanset_pre(@Opt StackFrame val) The static stack frame precondition for this instruction.Methods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
pre
The static stack frame precondition for this instruction.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1133.3-6, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isStackFrame(maybenull)
Its value defaults tonull.
- See Also:
-
post
The static stack frame postcondition for this instruction.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1137.3-7, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isStackFrame(maybenull)
Its value defaults tonull.
- See Also:
-
-
Constructor Details
-
Instruction
public Instruction()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
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classStatement- 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. -
get_pre
The static stack frame precondition for this instruction.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1133.3-6, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
StackFrame(maybenull) - See Also:
-
set_pre
The static stack frame precondition for this instruction.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1133.3-6, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeStackFrame(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_post
The static stack frame postcondition for this instruction.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1137.3-7, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
StackFrame(maybenull) - See Also:
-
set_post
The static stack frame postcondition for this instruction.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1137.3-7, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeStackFrame(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_pre
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_post
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.
-