Class LLJava.Node

java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
LLJava.AnnotationValue, LLJava.Case, LLJava.ClassParent, LLJava.ClassReference, LLJava.CodeInterval, LLJava.CodePoint, LLJava.DimensionExpr, LLJava.Exception, LLJava.Handler, LLJava.LoadArgument, LLJava.MemberFullName, LLJava.MemberReference, LLJava.MethodBody, LLJava.MethodReferenceParameter, LLJava.Modifiable, LLJava.ModifierExpr, LLJava.ResultExpr, LLJava.Statement, LLJava.TypeArgument, LLJava.TypeBound, LLJava.TypeParameter
Enclosing class:
LLJava

public abstract static class LLJava.Node extends Object implements Cloneable, Formattable
Topmost class for everything in a classfile which is possibly related to some source text.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":93.1-94.22, see this pretty print.)
  • Field Details

  • Constructor Details

    • Node

      public Node()
      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.Node doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      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
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public LLJava.Node 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.
    • get_location

      public Location<SourceId> get_location()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":94.9-22, see this pretty print.)
      Generated getter method. @see #location
      Returns:
      The current field value of type Location(maybe null)
    • set_location

      public boolean set_location(Location<SourceId> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":94.9-22, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Location(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_location

      public static Pattern<LLJava.Node> get_location(Pattern<? super Location<SourceId>> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class LLJava.__Patterns.