Class LLJava.Literal

All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
LLJava.BooleanLiteral, LLJava.CharLiteral, LLJava.DoubleLiteral, LLJava.FloatLiteral, LLJava.IntLiteral, LLJava.LongLiteral, LLJava.StringLiteral
Enclosing class:
LLJava

public abstract static class LLJava.Literal extends LLJava.LoadableExpr
Syntactic expression denoting a primitive or String literal.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":459.1-460.5, see this pretty print.)
  • Constructor Details

    • Literal

      public Literal()
      Synthetic minimal constructor provided by the umod compiler.
      Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
      (All object fields are set to their default values.)

  • Method Details

    • doclone

      public LLJava.Literal doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class LLJava.LoadableExpr
      Returns:
      a fresh copy.

    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class LLJava.LoadableExpr
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public LLJava.Literal initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
      Overrides:
      initFrom in class LLJava.LoadableExpr