org.springframework.roo.classpath.details
Interface ImportMetadata
- All Superinterfaces:
- CommentedJavaStructure, org.springframework.roo.model.CustomDataAccessor, IdentifiableJavaStructure
- All Known Implementing Classes:
- DefaultImportMetadata
public interface ImportMetadata
- extends IdentifiableJavaStructure, CommentedJavaStructure
Metadata concerning a particular import.
As always with metadata types, instances of this class are immutable once
constructed.
- Since:
- 1.1.1
- Author:
- James Tyrrell
| Methods inherited from interface org.springframework.roo.model.CustomDataAccessor |
getCustomData |
getImportPackage
org.springframework.roo.model.JavaPackage getImportPackage()
- Returns:
- the import package (null if type import)
getImportType
org.springframework.roo.model.JavaType getImportType()
- Returns:
- the import type (null if package import)
isAsterisk
boolean isAsterisk()
- Returns:
- true if the import was a wildcard (eg "import com.foo.*;")
isStatic
boolean isStatic()
- Returns:
- true if the import used the "static" keyword
Copyright © 2009–2015. All rights reserved.