Class ExpressionConstant

java.lang.Object
io.activej.codegen.expression.ExpressionConstant
All Implemented Interfaces:
Expression

public final class ExpressionConstant
extends Object
implements Expression
Defines methods to create a constant value
  • Method Details

    • getValue

      @NotNull public @NotNull Object getValue()
    • 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
    • getId

      public int getId()
    • isJvmPrimitive

      public boolean isJvmPrimitive()