Class AnnotatedLiteralExpression

  • All Implemented Interfaces:
    AnnotatedExpression

    public final class AnnotatedLiteralExpression
    extends java.lang.Object
    implements AnnotatedExpression
    The AnnotatedLiteralExpression class is used to store information about annotated literal expressions declared during compilation.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotatedLiteralExpression​(java.lang.Object value)
      Constructs an AnnotatedLiteralExpression object, initialised with the expressions contents.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotatedLiteralExpression

        public AnnotatedLiteralExpression​(java.lang.Object value)
        Constructs an AnnotatedLiteralExpression object, initialised with the expressions contents.

        The ObjectType is automatically added based on the type of the passed value.

        Parameters:
        value - The value of the literal