jif.visit

## Class NativeConstructorAdder

- java.lang.Object
- - polyglot.visit.NodeVisitor
  - - jif.visit.NativeConstructorAdder

- All Implemented Interfaces:
    java.lang.Cloneable, polyglot.util.Copy<polyglot.visit.NodeVisitor>

      public class NativeConstructorAdder
      extends polyglot.visit.NodeVisitor

  For convenience in writing signatures, we allow native constructors (with empty bodies). Since this is not allowed in Java, this pass adds them back in before translation.
  Author:
    mdgeorge

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface polyglot.util.Copy

      `polyglot.util.Copy.Util`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NativeConstructorAdder(polyglot.ast.NodeFactory nf)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `polyglot.ast.Node` | `override(polyglot.ast.Node n)`

    - ### Methods inherited from class polyglot.visit.NodeVisitor

      `begin, copy, enter, enter, finish, finish, lang, leave, leave, override, toString, visitEdge, visitEdgeNoOverride`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NativeConstructorAdder

          public NativeConstructorAdder(polyglot.ast.NodeFactory nf)

  - ### Method Detail

    - #### override

          public polyglot.ast.Node override(polyglot.ast.Node n)

      Overrides:
        `override` in class `polyglot.visit.NodeVisitor`