Class VariableValueCopier.EnumAttributeFreezeProvider

    • Field Detail

      • name

        private java.lang.String name
      • operation

        private java.lang.String operation
    • Constructor Detail

      • EnumAttributeFreezeProvider

        public EnumAttributeFreezeProvider​(java.lang.String name,
                                           Attribute annotation,
                                           EnumLiteral literal)
        Creates a but-freeze provider for expressions of the form name | name.annotation == literal
        Parameters:
        name - the name of the freeze variable
        annotation - the annotation on name (providing annotation name and type)
        literal - the literal to test for
      • EnumAttributeFreezeProvider

        public EnumAttributeFreezeProvider​(java.lang.String name,
                                           Attribute annotation,
                                           java.lang.String operation,
                                           EnumLiteral literal)
        Creates a but-freeze provider for expressions of the form name | name.annotation operation literal
        Parameters:
        name - the name of the freeze variable
        annotation - the annotation on name (providing annotation name and type)
        operation - the operation to be applied
        literal - the literal to test for