Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.codegen
Class ImportGenerator

    java.lang.Object
      uchicago.src.codegen.ImportGenerator

All Implemented Interfaces:
  CodeGenerator

    public class ImportGenerator

extends java.lang.Object
implements CodeGenerator

Field Summary

Fields inherited from interface uchicago.src.codegen.CodeGenerator
`I_SPACES`

Constructor Summary
`ImportGenerator(java.lang.String id, java.lang.String name)`

Method Summary
`void` | `add(java.lang.String name, java.lang.Object o)`
`boolean` | `equals(java.lang.Object o)`
`java.lang.String` | `generate(int ident)`
`java.lang.String` | `getId()`
`java.lang.String` | `getName()`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImportGenerator

    public ImportGenerator(java.lang.String id,
                           java.lang.String name)

Method Detail

### add

    public void add(java.lang.String name,
                    java.lang.Object o)

  Specified by:
    `add` in interface `CodeGenerator`

### generate

    public java.lang.String generate(int ident)

  Specified by:
    `generate` in interface `CodeGenerator`

### getId

    public java.lang.String getId()

### getName

    public java.lang.String getName()

### equals

    public boolean equals(java.lang.Object o)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD