polyglot.ast
Class Import.Kind

java.lang.Object
  extended by polyglot.util.Enum
      extended by polyglot.ast.Import.Kind
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
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)
           
 
Method Summary
 
Methods inherited from class polyglot.util.Enum
equals, hashCode, intern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Import.Kind

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