Class Java.IntegerLiteral

  • All Implemented Interfaces:
    Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatable
    Enclosing class:
    Java

    public static final class Java.IntegerLiteral
    extends Java.Literal
    Representation of an "integer literal" (JLS7 3.10.1) (types int and long).

    Notice that this representation does not check for overflow - that is because, e.g., "2147483648" is valid only when it is preceded by a "-" operator.