java.lang.Object
com.llamalad7.mixinextras.expression.impl.flow.FlowValue
All Implemented Interfaces:
org.objectweb.asm.tree.analysis.Value
Direct Known Subclasses:
ComplexFlowValue, ComputedFlowValue, DummyFlowValue

public class FlowValue extends Object implements org.objectweb.asm.tree.analysis.Value
  • Field Details

  • Constructor Details

    • FlowValue

      public FlowValue(org.objectweb.asm.Type type, org.objectweb.asm.tree.AbstractInsnNode insn, FlowValue... parents)
  • Method Details

    • addChild

      public void addChild(FlowValue value, int index)
    • finish

      public void finish()
    • onFinished

      public void onFinished()
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.objectweb.asm.tree.analysis.Value
    • getType

      public org.objectweb.asm.Type getType()
    • getInsn

      public org.objectweb.asm.tree.AbstractInsnNode getInsn()
    • getNext

      public Collection<org.apache.commons.lang3.tuple.Pair<FlowValue,Integer>> getNext()
    • getInput

      public FlowValue getInput(int index)
    • inputCount

      public int inputCount()
    • setInsn

      public void setInsn(org.objectweb.asm.tree.AbstractInsnNode insn)
    • setParents

      public void setParents(FlowValue... parents)
    • setParent

      public void setParent(int index, FlowValue value)
    • removeParent

      public void removeParent(int index)
    • mergeWith

      public FlowValue mergeWith(FlowValue other, FlowContext ctx)
    • mergeInputs

      public void mergeInputs(FlowValue[] newInputs, FlowContext ctx)
    • isComplex

      public boolean isComplex()
    • decorate

      public <V> void decorate(String key, V value)
    • hasDecoration

      public boolean hasDecoration(String key)
    • getDecoration

      public <V> V getDecoration(String key)
    • getDecorations

      public Map<String,Object> getDecorations()
    • typeMatches

      public boolean typeMatches(org.objectweb.asm.Type desiredType)