Package codeanalysis

Class VariableSymbol

java.lang.Object
codeanalysis.VariableSymbol

public class VariableSymbol extends Object
The VariableSymbol class represents a variable symbol. It encapsulates name and type of variable.
Version:
1.0
Author:
Siyabend Urun
See Also:
  • Constructor Details

    • VariableSymbol

      public VariableSymbol(String name, Class<?> type)
      Creates a new instance of the VariableSymbol class with the specified name and type.
      Parameters:
      name - The name of variable
      type - The type of variable
  • Method Details

    • getName

      public String getName()
      Retrieves the name of the variable.
      Returns:
      The name of the variable.
    • getType

      public Class<?> getType()
      Retrieves the type of the variable.
      Returns:
      The type of the variable.