public class BlockContainer extends Instruction
| Modifier and Type | Field and Description |
|---|---|
InstructionCollection<Block> |
blocks |
opcode| Constructor and Description |
|---|
BlockContainer() |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(InsnVisitor<R,C> visitor,
C ctx)
Pass this
Instruction through the supplied InsnVisitor. |
protected EnumBitSet<InstructionFlag> |
computeFlags()
Called to compute the exposed flags exposed via
Instruction.getFlags(). |
static BlockContainer |
findClosestContainer(Instruction insn) |
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
Block |
getEntryPoint() |
@Nullable Block |
getEntryPointOrNull() |
int |
getLeaveCount() |
net.covers1624.quack.collection.FastStream<Leave> |
getLeaves() |
AType |
getResultType()
Gets the stack type of the value produced by this
Instruction. |
protected void |
onChildModified() |
protected void |
onConnected() |
protected void |
onDisconnected() |
accept, addRef, ancestorsOfType, copy, descendantsMatching, descendantsOfType, descendantsToList, descendantsToListWhere, descendantsWhere, firstAncestorOfType, getBytecodeOffset, getChildren, getDescendants, getFirstChild, getFirstChildOrNull, getFlags, getLastChild, getLastChildOrNull, getNextSibling, getNextSiblingOrNull, getParent, getParentOrNull, getPrevSibling, getPrevSiblingOrNull, getSourceLine, getTag, hasDirectFlag, hasFlag, insertAfter, insertBefore, invalidateFlags, isConnected, isDescendantOf, releaseRef, remove, replaceWith, setBytecodeOffset, setOffsets, setSourceLine, setTag, toString, toString, withOffsetspublic final InstructionCollection<Block> blocks
public AType getResultType()
InstructionInstruction.getResultType in class InstructionAType.protected EnumBitSet<InstructionFlag> computeFlags()
InstructionInstruction.getFlags().computeFlags in class Instructionpublic EnumBitSet<InstructionFlag> getDirectFlags()
InstructionInstruction.
The return value should be cached statically inside the Instruction impl.
getDirectFlags in class InstructionEnumBitSet representing the flags.Instruction.getFlags()protected void onChildModified()
onChildModified in class Instructionprotected void onConnected()
onConnected in class Instructionprotected void onDisconnected()
onDisconnected in class Instructionpublic <R,C> R accept(InsnVisitor<R,C> visitor, C ctx)
InstructionInstruction through the supplied InsnVisitor.accept in class Instructionvisitor - The InsnVisitor.ctx - The context.InsnVisitor.public static BlockContainer findClosestContainer(Instruction insn)
@Nullable public @Nullable Block getEntryPointOrNull()
public Block getEntryPoint()
public int getLeaveCount()
public net.covers1624.quack.collection.FastStream<Leave> getLeaves()