Interface ImportList
- All Known Implementing Classes:
ImportListImpl
public interface ImportList
-
Method Summary
Modifier and TypeMethodDescriptionAdd a fully-qualified type name to the imports.void
boolean
Return whether or not this Type is in the imports.boolean
copy()
Return a copy of this ImportList.Return a list of imports as (packageName,className) pairs.Lookup just the className, without package name.
-
Method Details
-
copy
ImportList copy()Return a copy of this ImportList. -
addImport
Add a fully-qualified type name to the imports. Returns the Type for the name. -
addImport
-
contains
Return whether or not this Type is in the imports. -
contains
-
lookup
Lookup just the className, without package name. -
getInOrderList
Return a list of imports as (packageName,className) pairs. The list is sorted lexicographically.
-