org.inxar.jenesis
Interface Import
- All Superinterfaces:
- Codeable, Declaration
- public interface Import
- extends Declaration
Declaration
subinterface for import declarations at
the beginning of a compilation unit.
Method Summary |
java.lang.String |
getName()
Gets the name of the class or package to be imported. |
boolean |
isSingle()
Returns true if this import is a single-type
import, false if it is an import-type-on-demand. |
void |
setName(java.lang.String name)
Sets the name of the class or package to be imported. |
getName
public java.lang.String getName()
- Gets the name of the class or package to be imported.
setName
public void setName(java.lang.String name)
- Sets the name of the class or package to be imported.
isSingle
public boolean isSingle()
- Returns
true
if this import is a single-type
import, false
if it is an import-type-on-demand.