All Implemented Interfaces:
TypeConstants, TypeIds
Direct Known Subclasses:
LongLiteralMinValue

public class LongLiteral extends NumberLiteral
  • Method Details

    • buildLongLiteral

      public static LongLiteral buildLongLiteral(char[] token, int s, int e)
    • convertToMinValue

      public LongLiteral convertToMinValue()
    • computeConstant

      public void computeConstant()
      Specified by:
      computeConstant in class Literal
    • generateCode

      public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired)
      Code generation for long literal
      Overrides:
      generateCode in class Expression
      Parameters:
      currentScope - org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BlockScope
      codeStream - org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream
      valueRequired - boolean
    • literalType

      public TypeBinding literalType(BlockScope scope)
      Specified by:
      literalType in class Literal
    • traverse

      public void traverse(ASTVisitor visitor, BlockScope scope)
      Description copied from class: Expression
      Traverse an expression in the context of a blockScope
      Overrides:
      traverse in class Expression