Class BoundLiteralExpression


public class BoundLiteralExpression extends BoundExpression
Represents a bound literal expression in the code analysis process.
Version:
1.0
Author:
Siyabend Urun
See Also:
  • Constructor Details

    • BoundLiteralExpression

      public BoundLiteralExpression(Object value)
      Constructs a new instance of the BoundLiteralExpression class.
      Parameters:
      value - The value of the literal expression.
  • Method Details

    • getType

      public BoundNodeType getType()
      Gets the type of the bound expression.
      Specified by:
      getType in class BoundNode
      Returns:
      The type of the bound expression.
    • getClassType

      public Class<?> getClassType()
      Gets the class type of the bound expression.
      Specified by:
      getClassType in class BoundExpression
      Returns:
      The class type of the bound expression.
    • getValue

      public Object getValue()
      Gets the value of the literal expression.
      Returns:
      The value of the literal expression.
    • setValue

      public void setValue(Object value)
      Sets the value of the literal expression.
      Parameters:
      value - The value to set for the literal expression.