Class VarLocal

java.lang.Object
io.activej.codegen.expression.VarLocal
All Implemented Interfaces:
Expression, StoreDef, Variable

public final class VarLocal
extends Object
implements Variable
Defines methods which allow to create a local variable
  • Field Details

  • Constructor Details

    • VarLocal

      public VarLocal​(int local)
  • Method Details

    • load

      public org.objectweb.asm.Type load​(Context ctx)
      Description copied from interface: Expression
      Processes data and returns its type
      Specified by:
      load in interface Expression
      Parameters:
      ctx - information about a dynamic class
      Returns:
      type of the processes data
    • beginStore

      @Nullable public @Nullable Object beginStore​(Context ctx)
      Description copied from interface: StoreDef
      Returns type of the owner's load
      Specified by:
      beginStore in interface StoreDef
      Parameters:
      ctx - information about a dynamic class
      Returns:
      type of the owner's load
    • store

      public void store​(Context ctx, Object storeContext, org.objectweb.asm.Type type)
      Specified by:
      store in interface StoreDef
      Parameters:
      ctx - information about a dynamic class
      storeContext - type of owner
      type - type of value
    • store

      public void store​(Context ctx)
    • getLocal

      @Deprecated public int getLocal()
      Deprecated.