Class Variable


  • public class Variable
    extends Identifier
    An identifier of a real program variable.
    • Constructor Detail

      • Variable

        public Variable​(Type staticType,
                        java.lang.String name,
                        CodeLocation location)
        Builds the variable.
        Parameters:
        staticType - the static type of this variable
        name - the name of the variable
        location - the code location of the statement that has generated this variable
      • Variable

        public Variable​(Type staticType,
                        java.lang.String name,
                        Annotations annotations,
                        CodeLocation location)
        Builds the variable with annotations.
        Parameters:
        staticType - the static type of this variable
        name - the name of the variable
        annotations - the annotations of this variable
        location - the code location of the statement that has generated this variable