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.
|
javadoc
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
String 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.