Web Site

org.codehaus.janino
Class Java.ImportDeclaration

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.ImportDeclaration
All Implemented Interfaces:
Java.Locatable
Direct Known Subclasses:
Java.SingleTypeImportDeclaration, Java.TypeImportOnDemandDeclaration
Enclosing class:
Java

public abstract static class Java.ImportDeclaration
extends org.codehaus.janino.Java.Located


Constructor Summary
Java.ImportDeclaration(Location location)
           
 
Method Summary
 Location getLocation()
           
 void throwParseException(String message)
          Throw a Parser.ParseException with the given message and this object's location.
abstract  void visit(Visitor.ComprehensiveVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.ImportDeclaration

public Java.ImportDeclaration(Location location)
Method Detail

visit

public abstract void visit(Visitor.ComprehensiveVisitor visitor)

getLocation

public Location getLocation()
Specified by:
getLocation in interface Java.Locatable

throwParseException

public void throwParseException(String message)
                         throws Parser.ParseException
Description copied from interface: Java.Locatable
Throw a Parser.ParseException with the given message and this object's location.

Specified by:
throwParseException in interface Java.Locatable
Parameters:
message - The message to report
Throws:
Parser.ParseException

Web Site