Class PrimaryExpressionIsClassLiteralException

  • All Implemented Interfaces:
    java.io.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
    • Field Detail

      • literal

        Literal literal
        The Literal that the PrimaryExpression should be swapped with.
    • Constructor Detail

      • PrimaryExpressionIsClassLiteralException

        public PrimaryExpressionIsClassLiteralException​(java.lang.Class cls)
    • Method Detail

      • getLiteral

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