Class ReferenceRewriter

java.lang.Object
eu.bandm.tools.format.Rewriter
eu.bandm.tools.metajava.ReferenceRewriter

public class ReferenceRewriter extends Rewriter
  • Constructor Details

  • Method Details

    • action

      public void action(Annotated x)
      Overrides:
      action in class Rewriter
    • optimizeReference

      public Format optimizeReference(Format ref, MetaClass target, List<GeneratedAnnotation> annotations)
    • match

      default void match(Object o)
      Switch controlled by type, which calls a particular method action(f) with the most-specific class of the format.
      Parameters:
      o - the object to visit.
    • match

      default void match(Format f)
      Central switch controlled by type, which calls a particular method action(f) with the most-specific class of the format.
      Parameters:
      f - the format to visit.
    • match

      default void match(Compound f)
      Switch controlled by type, which calls a particular method action(f) with the most-specific class of the format.
      Parameters:
      f - the format to visit.
    • match

      default void match(Variable f)
      Switch conrolled by type, which calls a particular method action(f) with the most-specific class of the format.
      Parameters:
      f - the format to visit.