Class PrimaryExpressionIsClassLiteralException

  • All Implemented Interfaces:
    Serializable

    public class PrimaryExpressionIsClassLiteralException
    extends NucleusException
    Exception thrown when compiling a PrimaryExpression and we find that it really represents a Class literal, and so should be swapped in the expression tree.
    See Also:
    Serialized Form
    • Constructor Detail

      • PrimaryExpressionIsClassLiteralException

        public PrimaryExpressionIsClassLiteralException​(Class cls)
    • Method Detail

      • getLiteral

        public Literal getLiteral()
        Accessor for the Literal that this primary expression should be swapped for.
        Returns:
        The literal