Web Site

org.codehaus.janino
Class Java.SingleTypeImportDeclaration

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.ImportDeclaration
          extended byorg.codehaus.janino.Java.SingleTypeImportDeclaration
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static class Java.SingleTypeImportDeclaration
extends Java.ImportDeclaration

Represents a single type import like

     import java.util.Map;


Constructor Summary
Java.SingleTypeImportDeclaration(Location location, String[] identifiers)
           
 
Method Summary
 String[] getIdentifiers()
           
 void visit(Visitor.ComprehensiveVisitor visitor)
           
 
Methods inherited from class org.codehaus.janino.Java.ImportDeclaration
getLocation, throwParseException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.SingleTypeImportDeclaration

public Java.SingleTypeImportDeclaration(Location location,
                                        String[] identifiers)
Method Detail

getIdentifiers

public String[] getIdentifiers()

visit

public final void visit(Visitor.ComprehensiveVisitor visitor)
Specified by:
visit in class Java.ImportDeclaration

Web Site