public interface Import extends Declaration
Declaration subinterface for import declarations at the beginning of
a compilation unit.| Modifier and Type | Method and Description |
|---|---|
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. |
Import |
setName(String name)
Sets the name of the class or package to be imported.
|
javadocapplyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmString getName()
boolean isSingle()
true if this import is a single-type import,
false if it is an import-type-on-demand.Copyright © 2000–2018 jenesis4java. All rights reserved.