polyglot.ast
Class Import.Kind

java.lang.Object
  extended bypolyglot.util.Enum
      extended bypolyglot.ast.Import.Kind
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Import

public static class Import.Kind
extends Enum

Import kinds: class (e.g., import java.util.Set) or package (e.g., import java.util.*). PACKAGE is a bit of a misnomer, since we can import p.C.*, where p.C is a class. This puts the nested classes of p.C in scope.

See Also:
Serialized Form

Constructor Summary
Import.Kind(java.lang.String name)
           
 
Methods inherited from class polyglot.util.Enum
equals, intern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Import.Kind

public Import.Kind(java.lang.String name)